branch: externals/auctex commit 123aad793fd17507aee160ee3b15f590fbbbea6d Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
; Improve markups * doc/auctex.texi: Write docTeX as doc@TeX{}. * tests/latex/latex-modify-math-test.el: Remove redundant quotations. --- doc/auctex.texi | 8 ++++---- tests/latex/latex-modify-math-test.el | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/auctex.texi b/doc/auctex.texi index bfc97950c4..d0d2e41c3f 100644 --- a/doc/auctex.texi +++ b/doc/auctex.texi @@ -492,7 +492,7 @@ Convert @LaTeX{} display math environment at point to inline math. This command replaces the enclosing math environment such as @samp{\[...\]} or @samp{\begin@{equation@}...\end@{equation@}} with the value of @code{TeX-electric-math} or @samp{$...$} by default. (It may not work -correctly in docTeX.) +correctly in doc@TeX{}.) @end deffn @subheading Braces @@ -1334,7 +1334,7 @@ or environment, or a cons @code{((@var{open} . @var{close}) non-@code{nil} for inline math. This command does @emph{not} understand macro-based math wrappers such as -@code{\ensuremath}. It may also fail in docTeX buffers. +@code{\ensuremath}. It may also fail in doc@TeX{} buffers. @end deffn A related command, invoked with a prefix argument, is @kbd{C-u C-c C-e} @@ -1994,7 +1994,7 @@ behavior can be controlled by setting the variable @code{docTeX-indent-across-comments}. @defopt docTeX-indent-across-comments -If non-@code{nil}, indentation in docTeX is done across comments. This +If non-@code{nil}, indentation in doc@TeX{} is done across comments. This option is disabled by default. @end defopt @@ -2691,7 +2691,7 @@ 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. In docTeX documents, @samp{^^A$} is also available +quick workaround. In doc@TeX{} documents, @samp{^^A$} is also available for similar purpose. @node Folding diff --git a/tests/latex/latex-modify-math-test.el b/tests/latex/latex-modify-math-test.el index f50d9ae359..0f586196b4 100644 --- a/tests/latex/latex-modify-math-test.el +++ b/tests/latex/latex-modify-math-test.el @@ -37,7 +37,7 @@ This macro is used to set up a test environment for `LaTeX-modify-math'." ,@body))) (ert-deftest LaTeX-modify-math-inline-bracket-period () - "Convert \\=\\[...\\=\\] to $..$ and keep trailing period." + "Convert \\=\\[...\\] to $..$ and keep trailing period." (latex-modify-test--with-temp-buffer "We have\n\\[ a+b = c. \\]" (search-forward "b") @@ -128,7 +128,7 @@ This macro is used to set up a test environment for `LaTeX-modify-math'." (should (equal (buffer-string) "$x = y$")))) (ert-deftest LaTeX-modify-math-dollar-to-bracket () - "Convert $...$ to \\=\\[...\\=\\]." + "Convert $...$ to \\=\\[...\\]." (latex-modify-test--with-temp-buffer "Text $x + y$ more." (search-forward "+") @@ -144,7 +144,7 @@ This macro is used to set up a test environment for `LaTeX-modify-math'." (should (equal (buffer-string) "Text\n$$\na = b\n$$\nend.")))) (ert-deftest LaTeX-modify-math-bracket-to-equation () - "Convert \\=\\[...\\=\\] to equation environment." + "Convert \\=\\[...\\] to equation environment." (latex-modify-test--with-temp-buffer "\\[ f(x) = x^2 \\]" (search-forward "f")