branch: externals/auctex commit eafb11477c08531b823de387f7bdf0b5f8b4a4dd Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
Fix preview-latex for TeXLive 2019 update * preview.el.in (preview-LaTeX-command, preview-undump-replacements): Remove the brace around the argument of \input. --- preview.el.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preview.el.in b/preview.el.in index e107d5e..a5c7797 100644 --- a/preview.el.in +++ b/preview.el.in @@ -2305,7 +2305,7 @@ list of LaTeX commands is inserted just before \begin{document}." (defcustom preview-LaTeX-command '("%`%l \"\nonstopmode\nofiles\ \PassOptionsToPackage{" ("," . preview-required-option-list) "}{preview}\ \AtBeginDocument{\ifx\ifPreview\undefined" -preview-default-preamble "\fi}\"%' \"{\detokenize{\" %t \"}}\"") +preview-default-preamble "\fi}\"%' \"\detokenize{\" %t \"}\"") ;; Since TeXLive 2018, the default encoding for LaTeX files has been ;; changed to UTF-8 if used with classic TeX or pdfTeX. I.e., ;; \usepackage[utf8]{inputenc} is enabled by default in (pdf)latex. @@ -3381,7 +3381,7 @@ This is passed through `preview-do-replacements'." ;; Discard all other options. '(("\`\([^ ]+\)\ \(?: +\(?:\(--?kanji[= ][^ ]+\)\|-\(?:[^ \\"]\|\\.\|\"[^\"]*\"\)*\)\)*.*\ - \"\\input\" \"{\\detokenize{\" \(.*\) \"}}\"\'" + \"\\input\" \"\\detokenize{\" \(.*\)\"} \"\'" . ("\1 \2 -interaction=nonstopmode -file-line-error " preview-format-name " \"/AUCTEXINPUT{\" \3 \"}\""))) ;; See the ini file code below in `preview-cache-preamble' for the _______________________________________________ auctex-diffs mailing list auctex-di...@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-diffs