diff --git a/doc/info/texinfo.tex b/doc/info/texinfo.tex index e181edcf2..072048e56 100644 --- a/doc/info/texinfo.tex +++ b/doc/info/texinfo.tex @@ -3,7 +3,7 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2019-09-28.10} +\def\texinfoversion{2020-12-22.07} % % Copyright 1985, 1986, 1988, 1990-2019 Free Software Foundation, Inc. % @@ -2798,12 +2798,20 @@ end % @cite is like \smartslanted except unconditionally use \sl. We never want % ttsl for book titles, do we? \def\cite#1{{\sl #1}\futurelet\next\smartitaliccorrection} - \def\aftersmartic{} -\def\var#1{% - \let\saveaftersmartic = \aftersmartic - \def\aftersmartic{\null\let\aftersmartic=\saveaftersmartic}% - \smartslanted{#1}% + +{ + \catcode`\_=\active + % + \global\def\var{\begingroup + \catcode\underChar=\active + \let_\codeunder% + \varxxx} + \global\def\varxxx#1{% + \let\saveaftersmartic = \aftersmartic + \def\aftersmartic{\null\let\aftersmartic=\saveaftersmartic}% + \smartslanted{#1}% + \endgroup} } \let\i=\smartitalic