diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-05 03:01:15 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-05 03:01:15 +0000 |
commit | 72c9345e5bafe708888bf65448a81d1aee8275ed (patch) | |
tree | a1a99929b3d7307572844833f09ad7ba5ad1405d /macros/latex/base/ltfssini.dtx | |
parent | 9d9c04e14d0da9dd7829d0ec896aabfd50414fd8 (diff) |
CTAN sync 201910050301
Diffstat (limited to 'macros/latex/base/ltfssini.dtx')
-rw-r--r-- | macros/latex/base/ltfssini.dtx | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/macros/latex/base/ltfssini.dtx b/macros/latex/base/ltfssini.dtx index 8ce5bf7341..b073a5cc37 100644 --- a/macros/latex/base/ltfssini.dtx +++ b/macros/latex/base/ltfssini.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright 1993-2016 +% 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} - [2016/10/15 v3.1b 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. @@ -488,6 +492,16 @@ %% overwrite it in fontdef.cfg %% if necessary % \end{macrocode} +% We also set some default values for |\f@family| etc. Note that we +% don't yet have any encodings that comes later. In the past this +% was implicitly done by |\DeclareErrorFont|. +% \changes{v3.1c}{2019/07/09}{Explicitly set some defaults} +% \begin{macrocode} +\fontfamily{cmr} +\fontseries{m} +\fontshape{n} +\fontsize{10}{10} +% \end{macrocode} % % % |