diff options
Diffstat (limited to 'Master/texmf-dist/source/latex-dev/base/ltfssini.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex-dev/base/ltfssini.dtx | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex-dev/base/ltfssini.dtx b/Master/texmf-dist/source/latex-dev/base/ltfssini.dtx index 4d545f22405..b073a5cc379 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltfssini.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltfssini.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2019 +% Copyright (C) 1993-2019 % The LaTeX3 Project and any individual authors listed elsewhere % in this file. % @@ -13,7 +13,7 @@ % The latest version of this license is in % https://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX -% version 2005/12/01 or later. +% version 2008 or later. % % This file has the LPPL maintenance status "maintained". % @@ -36,7 +36,7 @@ % % \ProvidesFile{ltfssini.dtx} - [2019/07/09 v3.1c LaTeX Kernel (NFSS Initialisation)] + [2019/08/27 v3.1d LaTeX Kernel (NFSS Initialisation)] % \iffalse \documentclass{ltxdoc} \begin{document} @@ -80,6 +80,7 @@ % {(DPC) Make file from previous file, lfonts.dtx 1995/05/23 v2.2e} % \changes{v3.1b}{2016/10/15} % {Require e\TeX{}} +% \changes{v3.1d}{2019/08/27}{Make various commands robust} % % % \section{NFSS Initialisation} @@ -268,9 +269,9 @@ % Finally we provide two abbreviations to switch to the \LaTeX{} % \emph{versions}. % \begin{macrocode} -\def\boldmath{\@nomath\boldmath +\DeclareRobustCommand\boldmath{\@nomath\boldmath \mathversion{bold}} -\def\unboldmath{\@nomath\unboldmath +\DeclareRobustCommand\unboldmath{\@nomath\unboldmath \mathversion{normal}} % \end{macrocode} % Here we switch to the default math version by defining the internal @@ -293,7 +294,10 @@ % without changes to the source. % \begin{macrocode} \def\newfont#1#2{\@ifdefinable#1{\font#1=#2\relax}} -\def\symbol#1{\char #1\relax} +% \end{macrocode} +% +% \begin{macrocode} +\DeclareRobustCommand\symbol[1]{\char #1\relax} % \end{macrocode} % \end{macro} % \end{macro} @@ -332,7 +336,7 @@ % assume that the standard math fonts are used. Thus it needs % changing in case other math encodings are used. % \begin{macrocode} -\def\oldstylenums#1{% +\DeclareRobustCommand\oldstylenums[1]{% \begingroup % \end{macrocode} % Provide spacing using the interword space of the current font. |