[latex3-commits] [git/LaTeX3-latex3-latex2e] lthooks2: documented NFSS hooks (ced29a8f)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Aug 21 16:22:17 CEST 2020
Repository : https://github.com/latex3/latex2e
On branch : lthooks2
Link : https://github.com/latex3/latex2e/commit/ced29a8fb4be843f4a5b0449db5988806ad805c8
>---------------------------------------------------------------
commit ced29a8fb4be843f4a5b0449db5988806ad805c8
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Aug 21 16:22:17 2020 +0200
documented NFSS hooks
>---------------------------------------------------------------
ced29a8fb4be843f4a5b0449db5988806ad805c8
base/ltfssini.dtx | 12 +++++-
base/lthooks.dtx | 70 ++++++++++++++++++++++++++-----
base/testfiles-lthooks/lthooks-000.tlg | 2 +
base/testfiles-lthooks/lthooks-001.tlg | 6 +++
base/testfiles-lthooks/lthooks-002.tlg | 6 +++
base/testfiles-lthooks/lthooks-003.tlg | 4 ++
base/testfiles-lthooks/lthooks-004.tlg | 4 ++
base/testfiles-lthooks/lthooks-005.tlg | 4 ++
base/testfiles-lthooks/lthooks-006.tlg | 4 ++
base/testfiles-lthooks/lthooks-007.tlg | 6 +++
base/testfiles-lthooks/lthooks-008.tlg | 4 ++
base/testfiles-lthooks/lthooks-009.tlg | 2 +
base/testfiles-lthooks/lthooks-011.tlg | 8 ++++
base/testfiles-lthooks/lthooks-013.tlg | 2 +
base/testfiles-lthooks/lthooks-021.tlg | 2 +
base/testfiles-lthooks/lthooks-legacy.tlg | 2 +
base/testfiles-lthooks2/lthooks2-002.tlg | 2 +
base/testfiles-lthooks2/lthooks2-005.tlg | 4 ++
18 files changed, 131 insertions(+), 13 deletions(-)
diff --git a/base/ltfssini.dtx b/base/ltfssini.dtx
index c570cc9a..07715e50 100644
--- a/base/ltfssini.dtx
+++ b/base/ltfssini.dtx
@@ -826,7 +826,8 @@
% \end{macrocode}
%
% Formats that set up parallel fonts, e.g., for Japanese, can use
-% this hook to add resets here.
+% this hook to add resets here. Not that this hook is only run when
+% resets are necessary.
% \changes{v3.1m}{2020/04/06}{Hook added (gh/306)}
% \changes{v3.2b}{2020/08/21}{Integration of new hook management interface}
% \begin{macrocode}
@@ -843,6 +844,10 @@
% \begin{macrocode}
\else \fontseries\bfdefault
\fi\fi\fi
+% \end{macrocode}
+% This hook in contrast is always executed.
+% \begin{macrocode}
+ \UseHook{bfseries}%
\selectfont
}
% \end{macrocode}
@@ -880,6 +885,7 @@
\else\ifx\f at family\ttdef at ult \fontseries\mdseries at tt
\else \fontseries\mddefault
\fi\fi\fi
+ \UseHook{mdseries}%
\selectfont
}
% \end{macrocode}
@@ -1041,7 +1047,7 @@
%
%
% \begin{macro}{rmfamily,sffamily,ttfamily,normalfont,expand at font@defaults,
-% bfseries/defaults,mdseries/defaults}
+% bfseries,bfseries/defaults,mdseries,mdseries/defaults}
% Declare the hooks used above.
% \changes{v3.2b}{2020/08/21}{Integration of new hook management interface}
% \begin{macrocode}
@@ -1050,7 +1056,9 @@
\NewHook{ttfamily}
\NewHook{normalfont}
\NewHook{expand at font@defaults}
+\NewHook{bfseries}
\NewHook{bfseries/defaults}
+\NewHook{mdseries}
\NewHook{mdseries/defaults}
% \end{macrocode}
% \end{macro}
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index b1d4fe7e..3543b0cd 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -1393,18 +1393,66 @@
% \texttt{ltfilehook-code.pdf}.
%
%
-% \subsubsection{Hooks provided by NFSS}
+% \subsubsection{Hooks provided in NFSS commands}
%
-% \fmi{to be written}
-%\begin{verbatim}
-% \NewHook{rmfamily}
-% \NewHook{sffamily}
-% \NewHook{ttfamily}
-% \NewHook{normalfont}
-% \NewHook{expand at font@defaults}
-% \NewHook{bfseries/defaults}
-% \NewHook{mdseries/defaults}
-%\end{verbatim}
+% In languages that need to support for more than one script in
+% parallel (and thus several sets of fonts), e.g., Latin and
+% Japanese fonts, NFSS font commands, such as \cs{sffamily}, need
+% to switch both the Latin family to ``Sans Serif'' and in addition
+% alter a second set of fonts.
+%
+% To support this several NFSS have hooks in which such support can
+% be added.
+% \begin{description}
+%
+% \item[\hook{rmfamily}]
+%
+% After \cs{rmfamily} has done its initial checks and prepared a
+% any font series update this hook is executed and only
+% afterwards \cs{selectfont}.
+%
+% \item[\hook{sffamily}]
+%
+% Like the \hook{rmfamily} hook but for the \cs{sffamily} command.
+%
+% \item[\hook{ttfamily}]
+%
+% Like the \hook{rmfamily} hook but for the \cs{ttfamily} command.
+%
+% \item[\hook{normalfont}]
+%
+% The \cs{normalfont} command resets font encoding family series
+% and shape to thier document defaults. It then executes this
+% hook and finally calls \cs{selectfont}.
+%
+% \item[\hook{expand at font@defaults}]
+%
+% The internal \cs{expand at font@defaults} commands expands and
+% saves the current defaults for the meta families (rm/sf/tt) and
+% the meta series (bf/md). If the NFSS machinery has been augmented,
+% e.g., for Chinese or Japanese fonts, then further defaults may need
+% to be setat this point. This can be done in this hook which is executed
+% at the end of this macro.
+%
+% \item[\hook{bfseries/defaults}, \hook{bfseries}]
+%
+% If the \cs{bfdefault} was explicitly changed by the user its
+% new value is used to set the bf series defaults for the meta families
+% (rm/sf/tt) when \cs{bfseries} is called. In the
+% \hook{bfseries/defaults} hook further adjustments can be made
+% in this case.
+% This hook is only executed if such a
+% change is detected. In contrast the \hook{bfseries} hook is
+% always executed just before \cs{selectfont} is called to change
+% to the new series.
+%
+%
+% \item[\hook{mdseries/defaults}, \hook{mdseries}]
+%
+% These two hooks are like the previous ones but used in
+% \cs{mdseries} command.
+%
+% \end{description}
%
%
% \StopEventually{\setlength\IndexMin{200pt} \PrintIndex }
diff --git a/base/testfiles-lthooks/lthooks-000.tlg b/base/testfiles-lthooks/lthooks-000.tlg
index 0fc2886e..223a22db 100644
--- a/base/testfiles-lthooks/lthooks-000.tlg
+++ b/base/testfiles-lthooks/lthooks-000.tlg
@@ -8,7 +8,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-001.tlg b/base/testfiles-lthooks/lthooks-001.tlg
index 4358d395..da9161bb 100644
--- a/base/testfiles-lthooks/lthooks-001.tlg
+++ b/base/testfiles-lthooks/lthooks-001.tlg
@@ -14,7 +14,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
@@ -63,7 +65,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -84,7 +88,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-002.tlg b/base/testfiles-lthooks/lthooks-002.tlg
index 8c2a8c6b..7184dd65 100644
--- a/base/testfiles-lthooks/lthooks-002.tlg
+++ b/base/testfiles-lthooks/lthooks-002.tlg
@@ -14,7 +14,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
@@ -65,7 +67,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -86,7 +90,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-003.tlg b/base/testfiles-lthooks/lthooks-003.tlg
index 2b93361b..5bafd190 100644
--- a/base/testfiles-lthooks/lthooks-003.tlg
+++ b/base/testfiles-lthooks/lthooks-003.tlg
@@ -29,7 +29,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -61,7 +63,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-004.tlg b/base/testfiles-lthooks/lthooks-004.tlg
index 8c1ab8e0..5a91a09c 100644
--- a/base/testfiles-lthooks/lthooks-004.tlg
+++ b/base/testfiles-lthooks/lthooks-004.tlg
@@ -19,7 +19,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -45,7 +47,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-005.tlg b/base/testfiles-lthooks/lthooks-005.tlg
index 02d787c0..95930ea8 100644
--- a/base/testfiles-lthooks/lthooks-005.tlg
+++ b/base/testfiles-lthooks/lthooks-005.tlg
@@ -36,7 +36,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -68,7 +70,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-006.tlg b/base/testfiles-lthooks/lthooks-006.tlg
index 91d77f10..1597a687 100644
--- a/base/testfiles-lthooks/lthooks-006.tlg
+++ b/base/testfiles-lthooks/lthooks-006.tlg
@@ -17,7 +17,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -41,7 +43,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-007.tlg b/base/testfiles-lthooks/lthooks-007.tlg
index 84d9cca4..990d790f 100644
--- a/base/testfiles-lthooks/lthooks-007.tlg
+++ b/base/testfiles-lthooks/lthooks-007.tlg
@@ -17,7 +17,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -42,7 +44,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
@@ -93,7 +97,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-008.tlg b/base/testfiles-lthooks/lthooks-008.tlg
index 7b4533f9..2c79f4fc 100644
--- a/base/testfiles-lthooks/lthooks-008.tlg
+++ b/base/testfiles-lthooks/lthooks-008.tlg
@@ -21,7 +21,9 @@ The sequence \g__hook_all_seq contains the items (without outer braces):
> {ttfamily}
> {normalfont}
> {expand at font@defaults}
+> {bfseries}
> {bfseries/defaults}
+> {mdseries}
> {mdseries/defaults}
> {enddocument}
> {enddocument/afterlastpage}
@@ -44,7 +46,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
normal rule top-level|label1: < found
diff --git a/base/testfiles-lthooks/lthooks-009.tlg b/base/testfiles-lthooks/lthooks-009.tlg
index e5e8663d..8da7a10e 100644
--- a/base/testfiles-lthooks/lthooks-009.tlg
+++ b/base/testfiles-lthooks/lthooks-009.tlg
@@ -14,7 +14,9 @@ Handled code for legacy
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-011.tlg b/base/testfiles-lthooks/lthooks-011.tlg
index 14ebc1e1..22b07caa 100644
--- a/base/testfiles-lthooks/lthooks-011.tlg
+++ b/base/testfiles-lthooks/lthooks-011.tlg
@@ -9,7 +9,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
@@ -53,7 +55,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
@@ -99,7 +103,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
@@ -147,7 +153,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-013.tlg b/base/testfiles-lthooks/lthooks-013.tlg
index 4ee350a5..84610b1e 100644
--- a/base/testfiles-lthooks/lthooks-013.tlg
+++ b/base/testfiles-lthooks/lthooks-013.tlg
@@ -71,7 +71,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-021.tlg b/base/testfiles-lthooks/lthooks-021.tlg
index eae75792..da1b8f8e 100644
--- a/base/testfiles-lthooks/lthooks-021.tlg
+++ b/base/testfiles-lthooks/lthooks-021.tlg
@@ -8,7 +8,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks/lthooks-legacy.tlg b/base/testfiles-lthooks/lthooks-legacy.tlg
index 20f84355..165fdf26 100644
--- a/base/testfiles-lthooks/lthooks-legacy.tlg
+++ b/base/testfiles-lthooks/lthooks-legacy.tlg
@@ -35,7 +35,9 @@ Data structure for label rules:
Handled code for legacy
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks2/lthooks2-002.tlg b/base/testfiles-lthooks2/lthooks2-002.tlg
index fee5af6d..cdaece7b 100644
--- a/base/testfiles-lthooks2/lthooks2-002.tlg
+++ b/base/testfiles-lthooks2/lthooks2-002.tlg
@@ -21,7 +21,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
diff --git a/base/testfiles-lthooks2/lthooks2-005.tlg b/base/testfiles-lthooks2/lthooks2-005.tlg
index ad31c5f3..7920c3a5 100644
--- a/base/testfiles-lthooks2/lthooks2-005.tlg
+++ b/base/testfiles-lthooks2/lthooks2-005.tlg
@@ -9,7 +9,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
@@ -40,7 +42,9 @@ Update code for hook 'sffamily' on input line ...:
Update code for hook 'ttfamily' on input line ...:
Update code for hook 'normalfont' on input line ...:
Update code for hook 'expand at font@defaults' on input line ...:
+Update code for hook 'bfseries' on input line ...:
Update code for hook 'bfseries/defaults' on input line ...:
+Update code for hook 'mdseries' on input line ...:
Update code for hook 'mdseries/defaults' on input line ...:
Update code for hook 'enddocument' on input line ...:
Update code for hook 'enddocument/afterlastpage' on input line ...:
More information about the latex3-commits
mailing list.