summaryrefslogtreecommitdiff
path: root/macros/latex/base/ltfssini.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/base/ltfssini.dtx')
-rw-r--r--macros/latex/base/ltfssini.dtx19
1 files changed, 12 insertions, 7 deletions
diff --git a/macros/latex/base/ltfssini.dtx b/macros/latex/base/ltfssini.dtx
index 9687e08b0e..320c5a181e 100644
--- a/macros/latex/base/ltfssini.dtx
+++ b/macros/latex/base/ltfssini.dtx
@@ -36,7 +36,7 @@
%
%
\ProvidesFile{ltfssini.dtx}
- [2020/01/11 v3.1f LaTeX Kernel (NFSS Initialisation)]
+ [2020/02/05 v3.1g LaTeX Kernel (NFSS Initialisation)]
% \iffalse
\documentclass{ltxdoc}
\begin{document}
@@ -279,16 +279,21 @@
% ``tt'' family.
% \begin{macrocode}
\newcommand\DeclareFontSeriesDefault[3][]{%
- \def\@reserveda{#1}%
+ \def\reserved@a{#1}%
% \end{macrocode}
% No optional argument: set up general default.
+% \changes{v3.1g}{2020/02/05}{Corrected misspelled csname (gh/264)}
% \begin{macrocode}
- \ifx\@resereda\@empty
+ \ifx\reserved@a\@empty
\ifcsname #2series\endcsname % supported are
% \[md/bf]default
\expandafter\def
\csname #2default\endcsname{#3}%
\else
+% \end{macrocode}
+%
+% \changes{v3.1g}{2020/02/05}{Clarrified error text}
+% \begin{macrocode}
\@latex@error{Wrong syntax for \string\DeclareFontSeriesDefault}%
{Mandatory first argument must be 'md' or 'bf'.}
\fi
@@ -310,8 +315,8 @@
\csname #2series@#1@kernel\endcsname\@undefined
\else
\@latex@error{Wrong syntax for \string\DeclareFontSeriesDefault}%
- {Optional first argument must be 'rm', 'sf', or 'tt'. \MessageBreak
- Second argument must be 'md' or 'bf'.}
+ {Optional argument must be 'rm', 'sf', or 'tt'. \MessageBreak
+ Mandatory first argument must be 'md' or 'bf'.}
\fi
\fi
}
@@ -678,8 +683,8 @@
% contains all meta families and we need to ignore the case where
% current one from the list and target one are identical.
% \begin{macrocode}
- \def\@reserveda{#1}%
- \ifx\target@meta@family@value\@reserveda % rm -> rm do nothing
+ \def\reserved@a{#1}%
+ \ifx\target@meta@family@value\reserved@a % rm -> rm do nothing
\else
% \end{macrocode}
% We only ``do'' something if the current font family matches the