2022-08-25 17:42:37 +00:00
|
|
|
@ifclear macros
|
|
|
|
@set macros
|
|
|
|
@ifnottex
|
|
|
|
@macro AUCTeX {}
|
|
|
|
AUC@TeX{}
|
|
|
|
@end macro
|
|
|
|
@macro ConTeXt {}
|
|
|
|
Con@TeX{}t
|
|
|
|
@end macro
|
|
|
|
@macro previewlatex {}
|
|
|
|
preview-latex
|
|
|
|
@end macro
|
|
|
|
@macro fontlatex {}
|
|
|
|
font-latex
|
|
|
|
@end macro
|
|
|
|
@ifset no-acronym
|
|
|
|
@clear no-acronym
|
|
|
|
@macro acronym {text}
|
|
|
|
@sc{\text\}
|
|
|
|
@end macro
|
|
|
|
@end ifset
|
|
|
|
@ifset no-env
|
|
|
|
@clear no-env
|
|
|
|
@macro env {text}
|
|
|
|
@code{\text\}
|
|
|
|
@end macro
|
|
|
|
@end ifset
|
|
|
|
@ifset no-option
|
|
|
|
@clear no-option
|
|
|
|
@macro option {text}
|
|
|
|
@samp{\text\}
|
|
|
|
@end macro
|
|
|
|
@end ifset
|
|
|
|
@ifset no-command
|
|
|
|
@clear no-command
|
|
|
|
@macro command {text}
|
|
|
|
@samp{\text\}
|
|
|
|
@end macro
|
|
|
|
@end ifset
|
|
|
|
@end ifnottex
|
|
|
|
@ifset no-sansserif
|
|
|
|
@macro sansserif {text}@c
|
|
|
|
@iftex
|
|
|
|
{@textsf \text\}@c
|
|
|
|
@end iftex
|
|
|
|
@ifnottex
|
|
|
|
\text\@c
|
|
|
|
@end ifnottex
|
|
|
|
@end macro
|
|
|
|
@end ifset
|
|
|
|
@tex
|
|
|
|
\global\let\savedTeX\TeX
|
2023-07-27 19:52:58 +00:00
|
|
|
\gdef\TeX#{\savedTeX}
|
|
|
|
\gdef\LaTeX#{%
|
2022-08-25 17:42:37 +00:00
|
|
|
L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX}
|
2023-07-27 19:52:58 +00:00
|
|
|
\gdef\previewlatex#{%
|
|
|
|
{\textsf preview-latex}}
|
|
|
|
\gdef\fontlatex#{%
|
|
|
|
{\textsf font-latex}}
|
|
|
|
\gdef\AUCTeX#{AUC\TeX}
|
|
|
|
\gdef\ConTeXt#{%
|
|
|
|
Con\TeX{}t}
|
2022-08-25 17:42:37 +00:00
|
|
|
\toks0\expandafter{\indexnofonts
|
2023-07-27 19:52:58 +00:00
|
|
|
\def\TeX#{TeX}%
|
|
|
|
\def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}}
|
2022-08-25 17:42:37 +00:00
|
|
|
\xdef\indexnofonts{\the\toks0}
|
|
|
|
\ifx\commondummies\undefined \else
|
|
|
|
\toks0\expandafter{\commondummies
|
2023-07-27 19:52:58 +00:00
|
|
|
\def\TeX#{TeX}%
|
|
|
|
\def\LaTeX#1{LaTeX}\def\previewlatex#1{preview-latex}}
|
2022-08-25 17:42:37 +00:00
|
|
|
\xdef\commondummies{\the\toks0}
|
|
|
|
\fi
|
|
|
|
\ifx\definedummies\undefined \else
|
|
|
|
\toks0\expandafter{\definedummies
|
2023-07-27 19:52:58 +00:00
|
|
|
\def\TeX#{TeX}%
|
|
|
|
\def\LaTeX#{LaTeX}\def\previewlatex#{preview-latex}}
|
2022-08-25 17:42:37 +00:00
|
|
|
\xdef\definedummies{\the\toks0}
|
|
|
|
\fi
|
|
|
|
\ifx\acronym\undefined \gdef\acronym#1{{\smallcaps \lowercase{#1}}} \fi
|
|
|
|
\ifx\env\undefined \global\let\env=\code \fi
|
|
|
|
\ifx\option\undefined \global\let\option=\samp \fi
|
|
|
|
\ifx\command\undefined \global\let\command=\samp \fi
|
|
|
|
%Bug fix for texinfo.tex:
|
|
|
|
\gdef\cslet#1#2{%
|
|
|
|
\expandafter\let
|
|
|
|
\csname#1\expandafter\endcsname
|
|
|
|
\csname#2\endcsname}
|
|
|
|
@end tex
|
|
|
|
@end ifclear
|