Org: Replace non-ascii for TeX in plain text only

This commit is contained in:
TEC 2022-06-22 20:42:27 +08:00
parent 4448b2d748
commit 7aaa75c1c0
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 1 additions and 1 deletions

View File

@ -9573,7 +9573,7 @@ since we want to let emoji processing occur first.
(or (cdr (assoc nonascii +org-latex-non-ascii-char-substitutions)) "¿")))
text))))
(add-to-list 'org-export-filter-final-output-functions #'+org-latex-replace-non-ascii-chars t)
(add-to-list 'org-export-filter-plain-text-functions #'+org-latex-replace-non-ascii-chars t)
#+end_src
Now, there are some symbols that aren't included in =inputenc=, but we should be