[latex3-commits] [git/LaTeX3-latex3-latex2e] copyedits-chris: Merge branch 'develop' into copyedits-chris (43454515)

Frank Mittelbach frank.mittelbach at latex-project.org
Sun Oct 17 16:05:54 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : copyedits-chris
Link       : https://github.com/latex3/latex2e/commit/4345451588652221318d9807586e8ce8bddf5c17

>---------------------------------------------------------------

commit 4345451588652221318d9807586e8ce8bddf5c17
Merge: ff19e8f2 6f4ef7f9
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Sun Oct 17 16:05:54 2021 +0200

    Merge branch 'develop' into copyedits-chris


>---------------------------------------------------------------

4345451588652221318d9807586e8ce8bddf5c17
 base/changes.txt                                   |  22 ++
 base/doc/ltnews02.tex                              |  14 +-
 base/doc/ltnews03.tex                              |  32 +-
 base/doc/ltnews04.tex                              |  24 +-
 base/doc/ltnews05.tex                              |  20 +-
 base/doc/ltnews06.tex                              |  30 +-
 base/doc/ltnews07.tex                              |  34 +-
 base/doc/ltnews08.tex                              |  33 +-
 base/doc/ltnews09.tex                              |  26 +-
 base/doc/ltnews10.tex                              |  32 +-
 base/doc/ltnews12.tex                              |  12 +-
 base/doc/ltnews13.tex                              |  23 +-
 base/doc/ltnews14.tex                              |  31 +-
 base/doc/ltnews15.tex                              |  36 ++-
 base/doc/ltnews16.tex                              |   2 +-
 base/doc/ltnews17.tex                              |  56 ++--
 base/doc/ltnews19.tex                              |   2 +-
 base/doc/ltnews20.tex                              | 103 ++++--
 base/doc/ltnews21.tex                              |  60 ++--
 base/doc/ltnews22.tex                              |  50 +--
 base/doc/ltnews23.tex                              |  54 ++--
 base/doc/ltnews24.tex                              |  50 +--
 base/doc/ltnews25.tex                              |  48 +--
 base/doc/ltnews26.tex                              |  66 ++--
 base/doc/ltnews27.tex                              |  20 +-
 base/doc/ltnews28.tex                              |  36 ++-
 base/doc/ltnews29.tex                              |   6 +-
 base/doc/ltnews30.tex                              |  18 +-
 base/doc/ltnews31.tex                              |  27 +-
 base/doc/ltnews32.tex                              |  43 +--
 base/doc/ltnews33.tex                              |  10 +-
 base/doc/ltnews34.tex                              |  48 ++-
 base/ltboxes.dtx                                   |  25 +-
 base/ltcmdhooks.dtx                                |   9 +-
 base/ltfiles.dtx                                   |  20 +-
 base/ltfloat.dtx                                   |  27 +-
 base/ltfssdcl.dtx                                  |  44 ++-
 base/ltluatex.dtx                                  |   4 +-
 base/ltmath.dtx                                    |   8 +-
 base/ltoutenc.dtx                                  |   5 +-
 base/testfiles/github-0479-often.luatex.tlg        |   4 +
 base/testfiles/github-0479-often.tlg               |   4 +
 base/testfiles/github-0479-often.xetex.tlg         |   4 +
 base/testfiles/github-0643.lvt                     |  19 ++
 base/testfiles/github-0643.tlg                     |  18 ++
 base/testfiles/github-0645.lvt                     |  15 +
 base/testfiles/github-0645.tlg                     |   8 +
 base/testfiles/github-0687.lvt                     |  32 ++
 base/testfiles/github-0687.tlg                     | 356 +++++++++++++++++++++
 base/testfiles/tlb-callbacks-001.luatex.tlg        |   1 -
 .../tlb-latexrelease-rollback-003-often.luatex.tlg |   8 +
 .../tlb-latexrelease-rollback-003-often.tlg        |   8 +
 .../tlb-latexrelease-rollback-003-often.xetex.tlg  |   8 +
 base/testfiles/tlb-ltluatex-001.luatex.tlg         |   2 +-
 base/testfiles/tlb-nfss-alphabets-01.tlg           |   3 +-
 base/testfiles/tlb-nfss-alphabets-02.tlg           |   3 +-
 base/testfiles/tlb-rollback-004-often.luatex.tlg   |   4 +
 base/testfiles/tlb-rollback-004-often.tlg          |   4 +
 base/testfiles/tlb-rollback-004-often.xetex.tlg    |   4 +
 base/testfiles/tlb-rollback-005.luatex.tlg         |   4 +
 base/testfiles/tlb-rollback-005.tlg                |   4 +
 base/testfiles/tlb-rollback-005.xetex.tlg          |   4 +
 base/testfiles/{tlb0009.lvt => tlb00009-fleqn.lvt} |  17 +-
 base/testfiles/{tlb0009.tlg => tlb00009-fleqn.tlg} |  20 +-
 required/amsmath/amsmath.dtx                       |  10 +-
 required/amsmath/changes.txt                       |   7 +-
 texmf/tex/latex/l3backend/l3backend-dvipdfmx.def   |  49 ++-
 texmf/tex/latex/l3backend/l3backend-dvips.def      |  38 ++-
 texmf/tex/latex/l3backend/l3backend-dvisvgm.def    |   2 +-
 texmf/tex/latex/l3backend/l3backend-luatex.def     |  49 ++-
 texmf/tex/latex/l3backend/l3backend-pdftex.def     |  49 ++-
 texmf/tex/latex/l3backend/l3backend-xetex.def      |  49 ++-
 texmf/tex/latex/l3kernel/expl3-code.tex            |   4 +-
 texmf/tex/latex/l3kernel/expl3-generic.tex         |   2 +-
 texmf/tex/latex/l3kernel/expl3.ltx                 |   2 +-
 texmf/tex/latex/l3kernel/expl3.sty                 |   2 +-
 76 files changed, 1499 insertions(+), 528 deletions(-)

diff --cc base/doc/ltnews34.tex
index 3ad5948e,86125c31..68138008
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@@ -515,8 -479,25 +515,19 @@@ whether used or not
  
  
  
- 
+ \subsection{Improvements to \cs{include}}
+ If \cs{include} is used before \verb|\begin{document}| then previously
+   it would write \verb|\@include{...}| to the terminal and log as the
+   aux file has not yet been opened. It also locally changed
+   the aux filename which could have unintended effects. \LaTeX\ now
+   warns about any use of \cs{include} before \verb|\begin{document}|
+     and as a recovery action will input the specified file if it exists (as
+     before) but without any adjustments to the aux file settings, and
+     without running the \cs{include} file hooks (only the generic file
+     hooks from \cs{InputIfFileExists}).
+ %
+ \githubissue{645}
  
 -\subsection{???}
 -
 -%
 -\githubissue{000}
 -
 -
  
  
  \section{Code improvements}
@@@ -591,8 -562,48 +602,43 @@@ the callback handler indicates removal 
  \githubissue{644}
  
  
+ \subsection{Extended label handling in Package code}
+ 
+ Since 2020, as noted in \LaTeX News 32~\cite{34:ltnews32}, \LaTeX\ has
+ recorded the name of the counter associated with the current label in
+ the internal command \cs{@currentcounter}.  This facility (originally
+ from the \pkg{zref} package of Heiko Oberdiek) can be used to generate
+ prefixes such as \enquote{Figure} before the reference text.  In the
+ common case the current label is set by \cs{refstepcounter} and the
+ counter name is stored automatically, but some constructs (alignments
+ and footnotes) may need to store the current label directly. In such a
+ case it is useful to also update \cs{@currentcounter}. In this release
+ the footnote command in the kernel the \pkg{amsmath} package has been
+ updated in this way.  We encourage maintainers of any class and
+ package files that are defining \cs{@currentlabel} to set
+ \cs{@currentcounter} at the same point.
+ %
+ \githubissue{300, 687}
+ 
+ 
+ \subsection{Better Error handling of text accents in Math}
+ If you use a text accent such as \verb|\^| in math mode instead of the
+ math accent \cs{hat}, then  \LaTeX\ gives a warning,
+ which is  usually followed by a \TeX\ primitive error message produced by the \cs{accent} command.
+ If the accent and base would form a composite character in text mode,
+ (often the case with Unicode engines) then  typically  you will get
+ a warning such as\\
+ \verb|Missing character:|\\
+ \verb|     There is no á (U+00E1) in font cmmi10!|\\
+ With \TeX\ implementations from 2020 onwards this warning can be
+ converted to an error by setting \cs{tracinglostchars} to 3 in the preamble. We
+ strongly recommend this, especially for Unicode engines where missing
+ characters are common as no font supports the full Unicode range.
+ %
+ \githubissue{643}
+ 
  
  
 -\subsection{???}
 -
 -%
 -\githubissue{000}
 -
  
  
  





More information about the latex3-commits mailing list.