emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex eafb114 75/80: Fix preview-latex for TeXLive 201


From: Tassilo Horn
Subject: [elpa] externals/auctex eafb114 75/80: Fix preview-latex for TeXLive 2019 update
Date: Wed, 16 Oct 2019 11:07:21 -0400 (EDT)

branch: externals/auctex
commit eafb11477c08531b823de387f7bdf0b5f8b4a4dd
Author: Ikumi Keita <address@hidden>
Commit: Ikumi Keita <address@hidden>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]