branch: externals/auctex commit 2d0fdebac0ec12676545dd4197171575e7489f56 Author: David Kastrup <d...@gnu.org> Commit: David Kastrup <d...@gnu.org>
Preserve braces after @TeX and similar macros. --- doc/macros.texi | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/macros.texi b/doc/macros.texi index 4162d052c4..478ac18a26 100644 --- a/doc/macros.texi +++ b/doc/macros.texi @@ -50,30 +50,30 @@ font-latex @end ifset @tex \global\let\savedTeX\TeX -\gdef\TeX#1{\savedTeX#1} -\gdef\LaTeX{% +\gdef\TeX#{\savedTeX} +\gdef\LaTeX#{% L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX} -\gdef\previewlatex#1{% - {\sf preview-latex}#1} -\gdef\fontlatex#1{% - {\sf font-latex}#1} -\gdef\AUCTeX{AUC\TeX} -\gdef\ConTeXt#1{% - Con\TeX t#1} +\gdef\previewlatex#{% + {\textsf preview-latex}} +\gdef\fontlatex#{% + {\textsf font-latex}} +\gdef\AUCTeX#{AUC\TeX} +\gdef\ConTeXt#{% + Con\TeX{}t} \toks0\expandafter{\indexnofonts - \def\TeX#1{TeX#1}% - \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}} + \def\TeX#{TeX}% + \def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}} \xdef\indexnofonts{\the\toks0} \ifx\commondummies\undefined \else \toks0\expandafter{\commondummies - \def\TeX#1{TeX#1}% - \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}} + \def\TeX#{TeX}% + \def\LaTeX#1{LaTeX}\def\previewlatex#1{preview-latex}} \xdef\commondummies{\the\toks0} \fi \ifx\definedummies\undefined \else \toks0\expandafter{\definedummies - \def\TeX#1{TeX#1}% - \def\LaTeX#1{LaTeX#1}\def\previewlatex#1{preview-latex#1}} + \def\TeX#{TeX}% + \def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}} \xdef\definedummies{\the\toks0} \fi \ifx\acronym\undefined \gdef\acronym#1{{\smallcaps \lowercase{#1}}} \fi