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

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

[elpa] externals/auctex 7d4f28b 1/4: Accommodate preview.dtx to new font


From: Tassilo Horn
Subject: [elpa] externals/auctex 7d4f28b 1/4: Accommodate preview.dtx to new font-latex.el
Date: Mon, 29 Jun 2020 15:17:23 -0400 (EDT)

branch: externals/auctex
commit 7d4f28b25605cc3613aad254996632fdc50f8851
Author: Ikumi Keita <ikumi@ikumi.que.jp>
Commit: Ikumi Keita <ikumi@ikumi.que.jp>

    Accommodate preview.dtx to new font-latex.el
    
    * latex/preview.dtx: Add "^^A$" so that |$| doesn't mess up the
    highlighting of TeX codes at later part.
    * doc/auctex.texi: Add mention about usage of "^^A$" in docTeX
    documents.
---
 doc/auctex.texi   | 3 ++-
 latex/preview.dtx | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/auctex.texi b/doc/auctex.texi
index ab69dd0..079179c 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -2383,7 +2383,8 @@ finds a closing dollar sign or till the end of the buffer.
 As a remedy you can make the verbatim construct known to @fontlatex{},
 @pxref{Verbatim content}.  If this is not possible, you can insert a
 commented dollar sign (@samp{%$}) at the next suitable end of line as a
-quick workaround.
+quick workaround.  In docTeX documents, @samp{^^A$} is also available
+for similar purpose.
 @c As a last resort one can set `font-lock-keywords-only', but we should
 @c probably not advise users to do this.
 
diff --git a/latex/preview.dtx b/latex/preview.dtx
index a2f3db6..2563bcd 100644
--- a/latex/preview.dtx
+++ b/latex/preview.dtx
@@ -137,7 +137,7 @@
 % \item[|textmath|] will make all text math subject to previews.
 %   Since math mode is used throughly inside of \LaTeX\ even for other
 %   purposes, this works by redefining \cmd\(, \cmd\)
-%   and |$| and the |math| environment (apparently some people use
+%   and |$| and the |math| environment (apparently some people use ^^A$
 %   that).  Only occurences of these text math delimiters in later
 %   loaded packages and in the main document will thus be affected.
 % \item[|graphics|] will subject all \cmd{\includegraphics} commands



reply via email to

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