[latex3-commits] [git/LaTeX3-latex3-latex2e] gh568: Merge branch 'develop' into gh568 (fa2c2939)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun Sep 12 19:54:54 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : gh568
Link : https://github.com/latex3/latex2e/commit/fa2c2939d9a0654d19a69c4e52ceec3b5b0225e0
>---------------------------------------------------------------
commit fa2c2939d9a0654d19a69c4e52ceec3b5b0225e0
Merge: 49074d70 a01382c4
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun Sep 12 19:54:54 2021 +0200
Merge branch 'develop' into gh568
# Conflicts:
# base/changes.txt
# base/doc/ltnews34.tex
# base/testfiles-legacy/github-0658.tlg
>---------------------------------------------------------------
fa2c2939d9a0654d19a69c4e52ceec3b5b0225e0
base/changes.txt | 10 +
base/classes.dtx | 8 +-
base/doc/ltnews34.tex | 44 +++
base/ltfntcmd.dtx | 5 +-
base/ltfssini.dtx | 383 +++++++++++++++------
base/testfiles-legacy/github-0663.lvt | 28 ++
base/testfiles-legacy/github-0663.tlg | 6 +
base/testfiles/github-0306c.tlg | 4 +-
base/testfiles/github-0306d.tlg | 4 +-
base/testfiles/github-0479-often.luatex.tlg | 7 +
base/testfiles/github-0479-often.tlg | 7 +
base/testfiles/github-0479-often.xetex.tlg | 7 +
base/testfiles/github-0665.lvt | 14 +
.../{github-0060.luatex.tlg => github-0665.tlg} | 0
.../tlb-latexrelease-rollback-003-often.luatex.tlg | 18 +
.../tlb-latexrelease-rollback-003-often.tlg | 18 +
.../tlb-latexrelease-rollback-003-often.xetex.tlg | 18 +
base/testfiles/tlb-rollback-004-often.luatex.tlg | 7 +
base/testfiles/tlb-rollback-004-often.tlg | 7 +
base/testfiles/tlb-rollback-004-often.xetex.tlg | 7 +
base/testfiles/tlb-rollback-005.luatex.tlg | 7 +
base/testfiles/tlb-rollback-005.tlg | 7 +
base/testfiles/tlb-rollback-005.xetex.tlg | 7 +
23 files changed, 517 insertions(+), 106 deletions(-)
diff --cc base/changes.txt
index 561510d0,ac013b6a..584cbb69
--- a/base/changes.txt
+++ b/base/changes.txt
@@@ -6,11 -6,16 +6,21 @@@ completeness or accuracy and it contain
are not part of the distribution.
================================================================================
+ 2021-09-12 David Carlisle <David.Carlisle at latex-project.org>
+
- * ltfntcmd.dtx: guard definition in \text at command with \unexpanded \gh/665
++ * ltfntcmd.dtx: guard definition in \text at command with \unexpanded (gh/665)
++
+2021-09-12 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltoutenc.dtx (subsection{Definitions for the OT1 encoding}):
+ Move zero skip between i and j for hyphenation (gh/658)
+ 2021-09-10 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltfssini.dtx:
+ Improve handling of legacy changes to \bfdefault or \mddefault in
+ relation to \DeclareFontSeriesDefault setting (gh/663)
+
2021-09-06 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltfinal.dtx (subsection{Lccodes and uccodes}):
diff --cc base/doc/ltnews34.tex
index 4e4eef46,e948b95b..eb22a7ca
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@@ -559,6 -559,42 +561,44 @@@ typesetting is done in \texttt{OT1} enc
\githubissue{658}
++
+ \subsection{Improve handling of legacy \cs{bfdefault} changes}
+
+ In the past, changes to the font series defaults were made by directly
+ altering \cs{bfdefault} or \cs{mddefault}. Since 2020 there is now
+ \cs{DeclareFontSeriesDefault} that allows more granular control,
+ i.e., with that declaration you can alter the default for individual meta
+ font families, for example, by only altering the bold settings for the
+ sans serif family without changing it for \cs{rmfamily} or \cs{ttfamily}.
+ See~\cite{34:ltnews31} for more details.
+
+ For backwards compatibility, changing \cs{bfdefault} with
+ \cs{renewcommand} remained possible. If used, it alters the setting
+ for all meta families in one go. This cannot be done when the
+ \cs{renewcommand} happens and was therefore delayed until the next
+ time \cs{bfseries} or \cs{mdseries} was executed.
+
+ However, the problem with that
+ approach was that any call to \cs{DeclareFontSeriesDefault} that
+ happened in the mean time was overwritten---the two approaches didn't
+ work well side by side. This is a problem because older font packages
+ use the legacy method while newer ones use
+ \cs{DeclareFontSeriesDefault}. This has now been corrected by changing
+ \cs{DeclareFontSeriesDefault} to do any necessary resetting prior to
+ setting new defaults.
+ %
+ \githubissue{663}
+
+
+ \subsection{Use of \# in \cs{textbf} and similar commands}
+ Previously you could not use the macro parameter character \# in inline functions
+ in the argument of \cs{texbf} and similar text font commands.
+ An internal definition is now guarded with \cs{unexpanded}
+ so that \# does not generate an error.
+ %
+ \githubissue{665}
+
++
\subsection{???}
%
More information about the latex3-commits
mailing list.