summaryrefslogtreecommitdiff
path: root/macros/latex-dev/base/ltfssaxes.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex-dev/base/ltfssaxes.dtx')
-rw-r--r--macros/latex-dev/base/ltfssaxes.dtx18
1 files changed, 15 insertions, 3 deletions
diff --git a/macros/latex-dev/base/ltfssaxes.dtx b/macros/latex-dev/base/ltfssaxes.dtx
index fcf304d1fa..1a8dbd9cfb 100644
--- a/macros/latex-dev/base/ltfssaxes.dtx
+++ b/macros/latex-dev/base/ltfssaxes.dtx
@@ -35,7 +35,7 @@
%
%
\ProvidesFile{ltfssaxes.dtx}
- [2020/02/05 v1.0b LaTeX Kernel (NFSS Axes handing)]
+ [2020/02/18 v1.0c LaTeX Kernel (NFSS Axes handing)]
% \iffalse
\documentclass{ltxdoc}
\begin{document}
@@ -682,14 +682,25 @@
% \subsection{Changing to a new series}
%
+%
+% \begin{macro}{\if@forced@series}
+% If the series gets forced we need to know that fact later on.
+% \changes{v1.0c}{2020/02/10}{Switch \cs{if@forced@series} added}
+% \begin{macrocode}
+\newif\if@forced@series
+% \end{macrocode}
+% \end{macro}
+%
+%
% \begin{macro}{\fontseriesforce}
% To change unconditionally to a new series you can use
% \cs{fontseriesforce}. If course, if the series doesn't exist for
% the current family substitution still happens, but there is not
% dependency on the current series.
+% \changes{v1.0c}{2020/02/10}{Switch \cs{if@forced@series} added}
% \begin{macrocode}
-\DeclareRobustCommand\fontseriesforce[1]{\edef\f@series{#1}}
+\DeclareRobustCommand\fontseriesforce[1]{\@forced@seriestrue\edef\f@series{#1}}
% \end{macrocode}
% \end{macro}
%
@@ -700,8 +711,9 @@
% expanded value in \cs{f@series}. Now we do a bit more processing
% and look up the final value in the font series data base. This is
% done by \cs{merge@font@series}.
+% \changes{v1.0c}{2020/02/10}{Switch \cs{if@forced@series} added}
% \begin{macrocode}
-\DeclareRobustCommand\fontseries[1]{\merge@font@series{#1}}
+\DeclareRobustCommand\fontseries[1]{\@forced@seriesfalse\merge@font@series{#1}}
% \end{macrocode}
% \end{macro}