[latex3-commits] [git/LaTeX3-latex3-latex2e] shipout-lastpage: Merge branch 'develop' into shipout-lastpage (31374ee3)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sun May 8 17:06:48 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : shipout-lastpage
Link : https://github.com/latex3/latex2e/commit/31374ee3048f4e5485c7a871824006c3006a1c81
>---------------------------------------------------------------
commit 31374ee3048f4e5485c7a871824006c3006a1c81
Merge: 1fe76110 d6c2c589
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sun May 8 17:06:48 2022 +0200
Merge branch 'develop' into shipout-lastpage
# Conflicts:
# base/doc/ltnews35.tex
>---------------------------------------------------------------
31374ee3048f4e5485c7a871824006c3006a1c81
base/changes.txt | 11 +
base/doc/ltnews35.tex | 33 +++
base/ifthen.dtx | 15 +-
base/ltmath.dtx | 14 +-
base/ltxref.dtx | 83 ++++++-
base/testfiles-legacy/utf8-test-001.tlg | 2 -
base/testfiles/github-0479-often.luatex.tlg | 8 +-
base/testfiles/github-0479-often.tlg | 8 +-
base/testfiles/github-0479-often.xetex.tlg | 8 +-
base/testfiles/github-robust-0123.luatex.tlg | 4 +-
base/testfiles/github-robust-0123.tlg | 4 +-
base/testfiles/github-robust-0123.xetex.tlg | 4 +-
.../tlb-latexrelease-rollback-003-often.luatex.tlg | 10 +-
.../tlb-latexrelease-rollback-003-often.tlg | 10 +-
.../tlb-latexrelease-rollback-003-often.xetex.tlg | 10 +-
...tlb-latexrelease-rollback-2020-10-01.luatex.tlg | 8 +-
.../tlb-latexrelease-rollback-2020-10-01.tlg | 8 +-
.../tlb-latexrelease-rollback-2020-10-01.xetex.tlg | 8 +-
...tlb-latexrelease-rollback-2021-06-01.luatex.tlg | 8 +-
.../tlb-latexrelease-rollback-2021-06-01.tlg | 8 +-
.../tlb-latexrelease-rollback-2021-06-01.xetex.tlg | 8 +-
...tlb-latexrelease-rollback-2021-11-15.luatex.tlg | 8 +-
.../tlb-latexrelease-rollback-2021-11-15.tlg | 8 +-
.../tlb-latexrelease-rollback-2021-11-15.xetex.tlg | 8 +-
base/testfiles/tlb-rollback-004-often.luatex.tlg | 5 +-
base/testfiles/tlb-rollback-004-often.tlg | 5 +-
base/testfiles/tlb-rollback-004-often.xetex.tlg | 5 +-
base/testfiles/tlb-rollback-005.luatex.tlg | 8 +-
base/testfiles/tlb-rollback-005.tlg | 8 +-
base/testfiles/tlb-rollback-005.xetex.tlg | 8 +-
base/testfiles/tltc001.luatex.tlg | 4 +-
base/testfiles/tltc001.tlg | 4 +-
base/testfiles/tltx001.luatex.tlg | 4 +-
base/testfiles/tltx001.tlg | 4 +-
base/testfiles/tltx001.xetex.tlg | 4 +-
.../testfiles/github-amsrobust-0123.luatex.tlg | 2 +-
.../amsmath/testfiles/github-amsrobust-0123.tlg | 2 +-
required/tools/changes.txt | 5 +
required/tools/showkeys-2014-10-28.sty | 272 +++++++++++++++++++++
required/tools/showkeys.dtx | 48 ++--
.../tools/testfiles-search/tlb-varioref-007.tlg | 12 +-
41 files changed, 593 insertions(+), 103 deletions(-)
diff --cc base/changes.txt
index bbf31549,fb7226cf..a50ed39e
--- a/base/changes.txt
+++ b/base/changes.txt
@@@ -5,13 -5,18 +5,24 @@@ It is provided for convenience only. I
completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+ 2022-05-08 Marcel Krüger <Marcel.Krueger at latex-project.org>
+
+ * ltmath.dtx: Use more consistent default math styles on LuaLaTeX
+
+ 2022-04-13 Ulrike Fischer <Ulrike.Fischer at latex-project.org>
+
+ * ltxref.dtx:
+ Added starred versions of \ref, \pageref and \Ref
+ Added expandable version for \pageref and \ref
+ * ifthen.dtx:
+ use new expandable version for \pageref and \ref
+2022-05-08 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltshipout.dtx (subsection{Handling the end of job hook}):
+ Handle case where shipout/lastpage is run too early and issue
+ a warning (gh/813)
+
2022-04-21 Joseph Wright <Joseph.Wright at latex-project.org>
* ltfinal.dtx (subsection{Lccodes and uccodes}):
diff --cc base/doc/ltnews35.tex
index 162ce50f,ca171469..36512509
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@@ -695,20 -708,27 +708,40 @@@ been fixed in the latest release
\sxissue{q/637565}
+\subsection{Warn if \hook{shipout/lastpage} hook is executed too early}
+
+The hook \hook{shipout/lastpage} is intended to place \cs{special}s
+into the last page shipped out. This is needed for some use cases,
+e.g., tagging. If that hook is nonempty and the user has added additional
+pages since the last run, then \LaTeX{} executes this hook too early,
+but until now without giving any indication that the document needs
+rerunning. This has now been corrected and an appropriate warning is
+given.
+%
+\githubissue{813}
+
+ \subsection{More consistent use of cramped math styles in \LuaTeX}
+
+ Using \LuaTeX's \cs{Udelimiterover} to place a horizontally extensible glyph
+ on top of a mathematical expression now causes the expression to be set in cramped
+ style as used in similar situations by traditional \TeX\ math rendering.
+ Similarly cramped style is now used for expressions set under such a delimiter
+ using \cs{Uunderdelimiter} but no longer used when setting an expression on top
+ of such extensible glyphs using \cs{Uoverdelimiter}.
+ This new behavior follows \TeX's rule that cramped style is used whenever something
+ else appears above the expression.
+ Additionally the math style of these constructs can now be detected using \cs{mathstyle}.
+
+ The old behavior can be restored by adding
+ \begin{verbatim}
+ \mathdefaultsmode=0
+ \end{verbatim}
+ to a document.
+
+
+
+
\section{Changes to packages in the \pkg{amsmath} category}
More information about the latex3-commits
mailing list.