[latex3-commits] [git/LaTeX3-latex3-latex2e] gh621: Merge branch 'develop' into gh621 (b40e815a)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Aug 5 14:14:15 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh621
Link       : https://github.com/latex3/latex2e/commit/b40e815a44d15928878b7ff57eca3dd2e05e07f7

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

commit b40e815a44d15928878b7ff57eca3dd2e05e07f7
Merge: c07a4755 88e1545e
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Aug 5 14:14:15 2021 +0200

    Merge branch 'develop' into gh621
    
    # Conflicts:
    #       base/ltclass.dtx


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

b40e815a44d15928878b7ff57eca3dd2e05e07f7
 .github/workflows/main.yaml                        |  62 ++++-
 .travis.yml                                        |  58 ----
 base/changes.txt                                   |  33 +++
 base/doc/lb2.err                                   |  21 +-
 base/doc/lgc2.err                                  |  21 +-
 base/doc/ltnews34.tex                              | 102 ++++++-
 base/doc/tlc2.err                                  |  23 +-
 base/doc/webcomp.err                               |  21 +-
 base/ltclass.dtx                                   |  14 +-
 base/ltfilehook.dtx                                |  24 +-
 base/ltfiles.dtx                                   |  11 +-
 base/lthooks.dtx                                   | 119 ++++++--
 base/ltoutput.dtx                                  |  63 ++++-
 base/ltsect.dtx                                    |  42 ++-
 base/testfiles-lthooks/github-0565.lvt             |  15 +
 .../github-0565.tlg}                               |   4 +
 base/testfiles-lthooks/lthooks-errors.tlg          |   2 +-
 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-0626.lvt                     |  51 ++++
 base/testfiles/github-0626.tlg                     |  25 ++
 base/testfiles/github-0633.lvt                     |  24 ++
 base/testfiles/github-0633.tlg                     | 197 +++++++++++++
 base/testfiles/sx172785.lvt                        |  14 +-
 ...ace-000-2015.tlg => tlb-fltrace-005.luatex.tlg} | 305 +++++++++++++++++++--
 ...lb-fltrace-000-2015.lvt => tlb-fltrace-005.lvt} |  15 +-
 ...ace-000-2015.luatex.tlg => tlb-fltrace-005.tlg} | 266 ++++++++++++++++--
 .../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-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/tlb4182.tlg                         |   4 +-
 base/tulm.fdd                                      |   9 +-
 base/update-lthooks-tests.sh                       |  27 +-
 texmf/tex/latex/l3backend/l3backend-dvipdfmx.def   |  18 +-
 texmf/tex/latex/l3backend/l3backend-dvips.def      |   2 +-
 texmf/tex/latex/l3backend/l3backend-dvisvgm.def    |   2 +-
 texmf/tex/latex/l3backend/l3backend-luatex.def     |  18 +-
 texmf/tex/latex/l3backend/l3backend-pdftex.def     |  18 +-
 texmf/tex/latex/l3backend/l3backend-xetex.def      |  18 +-
 .../tex/latex/l3packages/xparse/xparse-generic.tex |  10 +-
 texmf/tex/latex/l3packages/xparse/xparse.sty       |   2 +-
 48 files changed, 1479 insertions(+), 241 deletions(-)

diff --cc base/doc/ltnews34.tex
index 9092e351,723f3f15..4f94269c
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@@ -195,34 -239,24 +239,47 @@@ error and should therefore be properly 
  
  
  
 +\subsection{Provide tests for package and class loading}
 +
 +To test if a package was loaded you can now use \cs{IfPackageLoadedTF}
 +\Arg{package} \Arg{true} \Arg{false} and based on the result execute
 +different code. It is also possible to check if the package was loaded
 +with certain options. This is done with
 +\cs{IfPackageLoadedWithOptionsTF}. It takes four arguments:
 +\Arg{package}\Arg{option-list}\Arg{true}\Arg{false}. It uses the
 +\meta{false} code if at least one option in the \meta{option-list}
 +has not been used during loading or if the package hasn't been loaded
 +at all.
 +
 +For classes similar commands (\texttt{Package} replaced by
 +\texttt{Class} in the name) are provided.
 +%
 +\githubissue{621}
 +
 +
 +
 +
 +
 +
 +
  
- \subsection{???}
  
+ \subsection{New \cs{showfloat} command}
+ 
+ The package \pkg{fltrace} offers a (fairly low-level but very
+ detailed) way to trace \LaTeX's float mechanism. This can help to
+ understand why a certain float is placed into a certain region or why
+ it shows up unexpectedly on a later page.  \LaTeX{} stores floats in
+ registers named \cs{bx at A}, \cs{bx at B}, etc., and these names show up in
+ the tracing information.
  %
- \githubissue{000}
+ To display their contents you can now say
+ \verb=\showfloat{=\textit{uc-letter}\verb=}= where \textit{uc-letter}
+ is the uppercase letter (or letters) after \texttt{bx@} in the
+ register name shown in the tracing. The command is generally
+ available, whether or not you have loaded \pkg{fltrace}, because it is
+ also useful when interpreting the tracing output of the
+ \pkg{fewerfloatpages} package.
  
  
  





More information about the latex3-commits mailing list.