From b3225c4301e7724de481f410444fef5463799b9d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Tue, 14 Jan 2020 03:00:43 +0000
Subject: CTAN sync 202001140300

---
 macros/latex-dev/base/ltfsstrc.dtx | 42 ++++++++++++++++++++++++++++++++++----
 1 file changed, 38 insertions(+), 4 deletions(-)

(limited to 'macros/latex-dev/base/ltfsstrc.dtx')

diff --git a/macros/latex-dev/base/ltfsstrc.dtx b/macros/latex-dev/base/ltfsstrc.dtx
index 05dafa20c6..bb82627de1 100644
--- a/macros/latex-dev/base/ltfsstrc.dtx
+++ b/macros/latex-dev/base/ltfsstrc.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 1993-2019
+% Copyright (C) 1993-2020
 % The LaTeX3 Project and any individual authors listed elsewhere
 % in this file.
 %
@@ -34,10 +34,10 @@
 %
 %<package>\NeedsTeXFormat{LaTeX2e}[1995/05/16]
 %<package>\ProvidesPackage{tracefnt}
-%<package>     [2015/02/21 v3.0k  Standard LaTeX package (font tracing)]
+%<package>     [2019/10/11 v3.0l  Standard LaTeX package (font tracing)]
 % \fi
 % \ProvidesFile{ltfsstrc.dtx}
-%              [2015/02/21 v3.0k LaTeX Kernel (NFSS tracing)]
+%              [2019/10/11 v3.0l LaTeX Kernel (NFSS tracing)]
 %
 % \iffalse
 %<+checkmem>\CHECKMEM
@@ -1731,7 +1731,7 @@
 %    the optional argument (if present) is ignored. The font encoding
 %    scheme cannot be changed. Therefore, the first thing we do is to
 %    prepend the encoding scheme.
-% \changes{v2.0b}{1992/07/26}{}
+%        {documentation fixes}
 %    \begin{macrocode}
 \DeclareSizeFunction{sub}{\sub@sfcnt\@font@warning}
 \DeclareSizeFunction{ssub}{\sub@sfcnt\@font@info}
@@ -1787,6 +1787,40 @@
 %    \end{macrocode}
 %  \end{macro}
 %
+%  \begin{macro}{\@font@aliasinfo}
+% \changes{v3.0l}{2019/10/11}{Added 'alias' size function}
+%    Sometimes a substitution is only done to map a long font name to
+%    a standard shape or series, e.g.,
+%\begin{verbatim}
+%\DeclareFontShape{T1}{Roboto-LF}{b}{it}{<-> alias * Roboto-LF/bold/it}{}
+%\end{verbatim}
+%    Using the \texttt{ssub} function in that case will give a strange
+%    (and incorrect) warning. As an alternative we therefore offer the
+%    size function \texttt{alias}. It will still add some info into
+%    the \texttt{.log} file, but no longer complains that the font
+%    shape is not available. It is implemented by grabbing the default
+%    warning text and replacing it with a new one.
+%    \begin{macrocode}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2020/02/01}%
+%<latexrelease>                 {\@font@aliasinfo}{alias size function}%
+\DeclareSizeFunction{alias}{\sub@sfcnt\@font@aliasinfo}
+\def\@font@aliasinfo#1{%
+  \@font@info{Font\space shape\space `\curr@fontshape'\space
+              aliased\space to\MessageBreak `\mandatory@arg'}%
+}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease>                 {\@font@aliasinfo}{alias size function}%
+%<latexrelease>\let\s@fct@alias\@undefined
+%<latexrelease>\let\@font@aliasinfo\@undefined
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+%    \end{macrocode}
+%  \end{macro}
 %
 %  \begin{macro}{\s@fct@subf}
 %    The |subf| size function allows substitution of another font. The
-- 
cgit v1.2.3

