diff options
author | Norbert Preining <norbert@preining.info> | 2022-06-25 03:01:31 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-06-25 03:01:31 +0000 |
commit | 7539b7b5d1fc836a31110d086fb5b9783033f327 (patch) | |
tree | c0d694d1c3a605112ee319ed0f9e6697c33798bc /macros | |
parent | 1ef4c041ba74d4619dd62209ae48a2b24563954c (diff) |
CTAN sync 202206250301
Diffstat (limited to 'macros')
135 files changed, 504 insertions, 235 deletions
diff --git a/macros/latex/base/README.md b/macros/latex/base/README.md index 099f5f7cd7..c47dd030da 100644 --- a/macros/latex/base/README.md +++ b/macros/latex/base/README.md @@ -1,7 +1,7 @@ The LaTeX kernel ================ -Release 2022-06-01 patch level 2 +Release 2022-06-01 patch level 3 Overview -------- diff --git a/macros/latex/base/alltt.pdf b/macros/latex/base/alltt.pdf Binary files differindex 805b27ed9a..9f887a76b7 100644 --- a/macros/latex/base/alltt.pdf +++ b/macros/latex/base/alltt.pdf diff --git a/macros/latex/base/cfgguide.pdf b/macros/latex/base/cfgguide.pdf Binary files differindex 733bda5c20..d710510a5f 100644 --- a/macros/latex/base/cfgguide.pdf +++ b/macros/latex/base/cfgguide.pdf diff --git a/macros/latex/base/changes.txt b/macros/latex/base/changes.txt index 061d7282e7..dff00a293c 100644 --- a/macros/latex/base/changes.txt +++ b/macros/latex/base/changes.txt @@ -11,6 +11,15 @@ All changes above are only part of the development branch for the next release. ================================================================================ ######################### +# 2022-06-01 PL3 Release +######################## + +2022-06-23 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltxdoc.dtx (section{Useful abbreviations}): + Update \cmd definition to work with new \cs (gh/874) + +######################### # 2022-06-01 PL2 Release ######################### diff --git a/macros/latex/base/classes.pdf b/macros/latex/base/classes.pdf Binary files differindex 2a96c80c4c..b9345652b8 100644 --- a/macros/latex/base/classes.pdf +++ b/macros/latex/base/classes.pdf diff --git a/macros/latex/base/clsguide.pdf b/macros/latex/base/clsguide.pdf Binary files differindex fa1e75ba69..00cd1a4ad5 100644 --- a/macros/latex/base/clsguide.pdf +++ b/macros/latex/base/clsguide.pdf diff --git a/macros/latex/base/cmfonts.pdf b/macros/latex/base/cmfonts.pdf Binary files differindex 8a5a7021f8..dd5e14a97d 100644 --- a/macros/latex/base/cmfonts.pdf +++ b/macros/latex/base/cmfonts.pdf diff --git a/macros/latex/base/cyrguide.pdf b/macros/latex/base/cyrguide.pdf Binary files differindex 95dba9a899..e8e81049fb 100644 --- a/macros/latex/base/cyrguide.pdf +++ b/macros/latex/base/cyrguide.pdf diff --git a/macros/latex/base/doc-code.pdf b/macros/latex/base/doc-code.pdf Binary files differindex e36d030699..774c28486d 100644 --- a/macros/latex/base/doc-code.pdf +++ b/macros/latex/base/doc-code.pdf diff --git a/macros/latex/base/doc.pdf b/macros/latex/base/doc.pdf Binary files differindex 1f59aefdf2..b21f566be5 100644 --- a/macros/latex/base/doc.pdf +++ b/macros/latex/base/doc.pdf diff --git a/macros/latex/base/docstrip.pdf b/macros/latex/base/docstrip.pdf Binary files differindex 46caaa90a4..8aafec0c57 100644 --- a/macros/latex/base/docstrip.pdf +++ b/macros/latex/base/docstrip.pdf diff --git a/macros/latex/base/encguide.pdf b/macros/latex/base/encguide.pdf Binary files differindex fa4d1cd4ac..8a8ce0ba1a 100644 --- a/macros/latex/base/encguide.pdf +++ b/macros/latex/base/encguide.pdf diff --git a/macros/latex/base/exscale.pdf b/macros/latex/base/exscale.pdf Binary files differindex 8375b3505d..a5fab96b37 100644 --- a/macros/latex/base/exscale.pdf +++ b/macros/latex/base/exscale.pdf diff --git a/macros/latex/base/fix-cm.pdf b/macros/latex/base/fix-cm.pdf Binary files differindex 075f79c3a6..57acd53e54 100644 --- a/macros/latex/base/fix-cm.pdf +++ b/macros/latex/base/fix-cm.pdf diff --git a/macros/latex/base/fntguide.pdf b/macros/latex/base/fntguide.pdf Binary files differindex 816986a0bc..220d3fcbe5 100644 --- a/macros/latex/base/fntguide.pdf +++ b/macros/latex/base/fntguide.pdf diff --git a/macros/latex/base/graphpap.pdf b/macros/latex/base/graphpap.pdf Binary files differindex b02cc053b0..6ce2bbfcbe 100644 --- a/macros/latex/base/graphpap.pdf +++ b/macros/latex/base/graphpap.pdf diff --git a/macros/latex/base/ifthen.pdf b/macros/latex/base/ifthen.pdf Binary files differindex 03f4561ea5..32ead9ec74 100644 --- a/macros/latex/base/ifthen.pdf +++ b/macros/latex/base/ifthen.pdf diff --git a/macros/latex/base/inputenc.pdf b/macros/latex/base/inputenc.pdf Binary files differindex 830cb4ee3d..7b9930cb84 100644 --- a/macros/latex/base/inputenc.pdf +++ b/macros/latex/base/inputenc.pdf diff --git a/macros/latex/base/lamport-manual.pdf b/macros/latex/base/lamport-manual.pdf Binary files differindex 669833f2e9..16815fee18 100644 --- a/macros/latex/base/lamport-manual.pdf +++ b/macros/latex/base/lamport-manual.pdf diff --git a/macros/latex/base/latexrelease.pdf b/macros/latex/base/latexrelease.pdf Binary files differindex d6f8b20329..228ca28e22 100644 --- a/macros/latex/base/latexrelease.pdf +++ b/macros/latex/base/latexrelease.pdf diff --git a/macros/latex/base/latexsym.pdf b/macros/latex/base/latexsym.pdf Binary files differindex ae26a21ad8..3bbca0c844 100644 --- a/macros/latex/base/latexsym.pdf +++ b/macros/latex/base/latexsym.pdf diff --git a/macros/latex/base/lb2.pdf b/macros/latex/base/lb2.pdf Binary files differindex 817e5b1dcf..0997168916 100644 --- a/macros/latex/base/lb2.pdf +++ b/macros/latex/base/lb2.pdf diff --git a/macros/latex/base/letter.pdf b/macros/latex/base/letter.pdf Binary files differindex 23b2175137..42e905bb3e 100644 --- a/macros/latex/base/letter.pdf +++ b/macros/latex/base/letter.pdf diff --git a/macros/latex/base/lgc2.pdf b/macros/latex/base/lgc2.pdf Binary files differindex 8cbf115a78..1eac921027 100644 --- a/macros/latex/base/lgc2.pdf +++ b/macros/latex/base/lgc2.pdf diff --git a/macros/latex/base/lppl.pdf b/macros/latex/base/lppl.pdf Binary files differindex 91a8beaaff..079d063b5c 100644 --- a/macros/latex/base/lppl.pdf +++ b/macros/latex/base/lppl.pdf diff --git a/macros/latex/base/ltcmdhooks-code.pdf b/macros/latex/base/ltcmdhooks-code.pdf Binary files differindex 54cfa08682..ef9f76d5c9 100644 --- a/macros/latex/base/ltcmdhooks-code.pdf +++ b/macros/latex/base/ltcmdhooks-code.pdf diff --git a/macros/latex/base/ltcmdhooks-doc.pdf b/macros/latex/base/ltcmdhooks-doc.pdf Binary files differindex 9da6815147..3218ee107d 100644 --- a/macros/latex/base/ltcmdhooks-doc.pdf +++ b/macros/latex/base/ltcmdhooks-doc.pdf diff --git a/macros/latex/base/ltfilehook-code.pdf b/macros/latex/base/ltfilehook-code.pdf Binary files differindex 5250d38893..21c9f0aad9 100644 --- a/macros/latex/base/ltfilehook-code.pdf +++ b/macros/latex/base/ltfilehook-code.pdf diff --git a/macros/latex/base/ltfilehook-doc.pdf b/macros/latex/base/ltfilehook-doc.pdf Binary files differindex b12c3b4f77..24f1dce56a 100644 --- a/macros/latex/base/ltfilehook-doc.pdf +++ b/macros/latex/base/ltfilehook-doc.pdf diff --git a/macros/latex/base/lthooks-code.pdf b/macros/latex/base/lthooks-code.pdf Binary files differindex 7e9d75bb85..c0efdabc3d 100644 --- a/macros/latex/base/lthooks-code.pdf +++ b/macros/latex/base/lthooks-code.pdf diff --git a/macros/latex/base/lthooks-doc.pdf b/macros/latex/base/lthooks-doc.pdf Binary files differindex 65d5c50781..ec7370aa6c 100644 --- a/macros/latex/base/lthooks-doc.pdf +++ b/macros/latex/base/lthooks-doc.pdf diff --git a/macros/latex/base/ltluatex.pdf b/macros/latex/base/ltluatex.pdf Binary files differindex 71557fac17..10dc990168 100644 --- a/macros/latex/base/ltluatex.pdf +++ b/macros/latex/base/ltluatex.pdf diff --git a/macros/latex/base/ltmarks-code.pdf b/macros/latex/base/ltmarks-code.pdf Binary files differindex 48e7996f06..cb9e237392 100644 --- a/macros/latex/base/ltmarks-code.pdf +++ b/macros/latex/base/ltmarks-code.pdf diff --git a/macros/latex/base/ltmarks-doc.pdf b/macros/latex/base/ltmarks-doc.pdf Binary files differindex ebaf75aa77..4ff796fe02 100644 --- a/macros/latex/base/ltmarks-doc.pdf +++ b/macros/latex/base/ltmarks-doc.pdf diff --git a/macros/latex/base/ltnews.pdf b/macros/latex/base/ltnews.pdf Binary files differindex 3387dff525..f6729401fe 100644 --- a/macros/latex/base/ltnews.pdf +++ b/macros/latex/base/ltnews.pdf diff --git a/macros/latex/base/ltnews01.pdf b/macros/latex/base/ltnews01.pdf Binary files differindex e8e22df85e..73181eff28 100644 --- a/macros/latex/base/ltnews01.pdf +++ b/macros/latex/base/ltnews01.pdf diff --git a/macros/latex/base/ltnews02.pdf b/macros/latex/base/ltnews02.pdf Binary files differindex 6acaf138d7..784e30f5c6 100644 --- a/macros/latex/base/ltnews02.pdf +++ b/macros/latex/base/ltnews02.pdf diff --git a/macros/latex/base/ltnews03.pdf b/macros/latex/base/ltnews03.pdf Binary files differindex 410d6331b1..30a898f879 100644 --- a/macros/latex/base/ltnews03.pdf +++ b/macros/latex/base/ltnews03.pdf diff --git a/macros/latex/base/ltnews04.pdf b/macros/latex/base/ltnews04.pdf Binary files differindex 5592c44adf..3c4cb06045 100644 --- a/macros/latex/base/ltnews04.pdf +++ b/macros/latex/base/ltnews04.pdf diff --git a/macros/latex/base/ltnews05.pdf b/macros/latex/base/ltnews05.pdf Binary files differindex 52d924ca14..9cb2c67ca1 100644 --- a/macros/latex/base/ltnews05.pdf +++ b/macros/latex/base/ltnews05.pdf diff --git a/macros/latex/base/ltnews06.pdf b/macros/latex/base/ltnews06.pdf Binary files differindex f5ba66cd4d..7077d315f7 100644 --- a/macros/latex/base/ltnews06.pdf +++ b/macros/latex/base/ltnews06.pdf diff --git a/macros/latex/base/ltnews07.pdf b/macros/latex/base/ltnews07.pdf Binary files differindex 19c4d5961a..44eb2b230f 100644 --- a/macros/latex/base/ltnews07.pdf +++ b/macros/latex/base/ltnews07.pdf diff --git a/macros/latex/base/ltnews08.pdf b/macros/latex/base/ltnews08.pdf Binary files differindex 60d2674f6d..440028e38c 100644 --- a/macros/latex/base/ltnews08.pdf +++ b/macros/latex/base/ltnews08.pdf diff --git a/macros/latex/base/ltnews09.pdf b/macros/latex/base/ltnews09.pdf Binary files differindex 40388aa82e..fdd182e469 100644 --- a/macros/latex/base/ltnews09.pdf +++ b/macros/latex/base/ltnews09.pdf diff --git a/macros/latex/base/ltnews10.pdf b/macros/latex/base/ltnews10.pdf Binary files differindex d4c9871ac6..2bfcaa976e 100644 --- a/macros/latex/base/ltnews10.pdf +++ b/macros/latex/base/ltnews10.pdf diff --git a/macros/latex/base/ltnews11.pdf b/macros/latex/base/ltnews11.pdf Binary files differindex aa049f39f1..a507401847 100644 --- a/macros/latex/base/ltnews11.pdf +++ b/macros/latex/base/ltnews11.pdf diff --git a/macros/latex/base/ltnews12.pdf b/macros/latex/base/ltnews12.pdf Binary files differindex 69f668a45b..0726dec586 100644 --- a/macros/latex/base/ltnews12.pdf +++ b/macros/latex/base/ltnews12.pdf diff --git a/macros/latex/base/ltnews13.pdf b/macros/latex/base/ltnews13.pdf Binary files differindex d165372af6..d3a58cef1e 100644 --- a/macros/latex/base/ltnews13.pdf +++ b/macros/latex/base/ltnews13.pdf diff --git a/macros/latex/base/ltnews14.pdf b/macros/latex/base/ltnews14.pdf Binary files differindex 2a24206818..27c65c26a3 100644 --- a/macros/latex/base/ltnews14.pdf +++ b/macros/latex/base/ltnews14.pdf diff --git a/macros/latex/base/ltnews15.pdf b/macros/latex/base/ltnews15.pdf Binary files differindex 382655f485..7d2af1f10f 100644 --- a/macros/latex/base/ltnews15.pdf +++ b/macros/latex/base/ltnews15.pdf diff --git a/macros/latex/base/ltnews16.pdf b/macros/latex/base/ltnews16.pdf Binary files differindex 6e7c57d74a..c56e7d6265 100644 --- a/macros/latex/base/ltnews16.pdf +++ b/macros/latex/base/ltnews16.pdf diff --git a/macros/latex/base/ltnews17.pdf b/macros/latex/base/ltnews17.pdf Binary files differindex 81f328b77f..f45f35fca1 100644 --- a/macros/latex/base/ltnews17.pdf +++ b/macros/latex/base/ltnews17.pdf diff --git a/macros/latex/base/ltnews18.pdf b/macros/latex/base/ltnews18.pdf Binary files differindex f87a5852d6..3ee9260e11 100644 --- a/macros/latex/base/ltnews18.pdf +++ b/macros/latex/base/ltnews18.pdf diff --git a/macros/latex/base/ltnews19.pdf b/macros/latex/base/ltnews19.pdf Binary files differindex c3a3426abb..2bce443bfe 100644 --- a/macros/latex/base/ltnews19.pdf +++ b/macros/latex/base/ltnews19.pdf diff --git a/macros/latex/base/ltnews20.pdf b/macros/latex/base/ltnews20.pdf Binary files differindex 83273b77fb..7aff610359 100644 --- a/macros/latex/base/ltnews20.pdf +++ b/macros/latex/base/ltnews20.pdf diff --git a/macros/latex/base/ltnews21.pdf b/macros/latex/base/ltnews21.pdf Binary files differindex d2a3268a39..8ad52e57e3 100644 --- a/macros/latex/base/ltnews21.pdf +++ b/macros/latex/base/ltnews21.pdf diff --git a/macros/latex/base/ltnews22.pdf b/macros/latex/base/ltnews22.pdf Binary files differindex 31b8dbbe72..130e4023f8 100644 --- a/macros/latex/base/ltnews22.pdf +++ b/macros/latex/base/ltnews22.pdf diff --git a/macros/latex/base/ltnews23.pdf b/macros/latex/base/ltnews23.pdf Binary files differindex 1604787140..4bde7df96a 100644 --- a/macros/latex/base/ltnews23.pdf +++ b/macros/latex/base/ltnews23.pdf diff --git a/macros/latex/base/ltnews24.pdf b/macros/latex/base/ltnews24.pdf Binary files differindex ff2175eb35..543974bd72 100644 --- a/macros/latex/base/ltnews24.pdf +++ b/macros/latex/base/ltnews24.pdf diff --git a/macros/latex/base/ltnews25.pdf b/macros/latex/base/ltnews25.pdf Binary files differindex e37e5ea0cd..5096ce13cb 100644 --- a/macros/latex/base/ltnews25.pdf +++ b/macros/latex/base/ltnews25.pdf diff --git a/macros/latex/base/ltnews26.pdf b/macros/latex/base/ltnews26.pdf Binary files differindex 28d7db3a71..8a0d447019 100644 --- a/macros/latex/base/ltnews26.pdf +++ b/macros/latex/base/ltnews26.pdf diff --git a/macros/latex/base/ltnews27.pdf b/macros/latex/base/ltnews27.pdf Binary files differindex 7f8dde1f56..064f695055 100644 --- a/macros/latex/base/ltnews27.pdf +++ b/macros/latex/base/ltnews27.pdf diff --git a/macros/latex/base/ltnews28.pdf b/macros/latex/base/ltnews28.pdf Binary files differindex 99f52713e3..750ed1b191 100644 --- a/macros/latex/base/ltnews28.pdf +++ b/macros/latex/base/ltnews28.pdf diff --git a/macros/latex/base/ltnews29.pdf b/macros/latex/base/ltnews29.pdf Binary files differindex 1b69ee7795..115b32cc19 100644 --- a/macros/latex/base/ltnews29.pdf +++ b/macros/latex/base/ltnews29.pdf diff --git a/macros/latex/base/ltnews30.pdf b/macros/latex/base/ltnews30.pdf Binary files differindex b2693bd19d..c9b78adb0a 100644 --- a/macros/latex/base/ltnews30.pdf +++ b/macros/latex/base/ltnews30.pdf diff --git a/macros/latex/base/ltnews31.pdf b/macros/latex/base/ltnews31.pdf Binary files differindex 6692ae1768..48d3e7371e 100644 --- a/macros/latex/base/ltnews31.pdf +++ b/macros/latex/base/ltnews31.pdf diff --git a/macros/latex/base/ltnews32.pdf b/macros/latex/base/ltnews32.pdf Binary files differindex 52d35e5928..2fa918fa1f 100644 --- a/macros/latex/base/ltnews32.pdf +++ b/macros/latex/base/ltnews32.pdf diff --git a/macros/latex/base/ltnews33.pdf b/macros/latex/base/ltnews33.pdf Binary files differindex 6b2439cc0b..1da0af6f08 100644 --- a/macros/latex/base/ltnews33.pdf +++ b/macros/latex/base/ltnews33.pdf diff --git a/macros/latex/base/ltnews34.pdf b/macros/latex/base/ltnews34.pdf Binary files differindex cf03dba842..6aaba125eb 100644 --- a/macros/latex/base/ltnews34.pdf +++ b/macros/latex/base/ltnews34.pdf diff --git a/macros/latex/base/ltnews35.pdf b/macros/latex/base/ltnews35.pdf Binary files differindex 4f855f2466..99dabd3c98 100644 --- a/macros/latex/base/ltnews35.pdf +++ b/macros/latex/base/ltnews35.pdf diff --git a/macros/latex/base/ltpara-code.pdf b/macros/latex/base/ltpara-code.pdf Binary files differindex 1fda8edf58..9fbfe900ca 100644 --- a/macros/latex/base/ltpara-code.pdf +++ b/macros/latex/base/ltpara-code.pdf diff --git a/macros/latex/base/ltpara-doc.pdf b/macros/latex/base/ltpara-doc.pdf Binary files differindex fb713ae12d..a341bb2bb7 100644 --- a/macros/latex/base/ltpara-doc.pdf +++ b/macros/latex/base/ltpara-doc.pdf diff --git a/macros/latex/base/ltshipout-code.pdf b/macros/latex/base/ltshipout-code.pdf Binary files differindex a5695040ca..9551cb3aec 100644 --- a/macros/latex/base/ltshipout-code.pdf +++ b/macros/latex/base/ltshipout-code.pdf diff --git a/macros/latex/base/ltshipout-doc.pdf b/macros/latex/base/ltshipout-doc.pdf Binary files differindex 66efc21ce6..67e30a163e 100644 --- a/macros/latex/base/ltshipout-doc.pdf +++ b/macros/latex/base/ltshipout-doc.pdf diff --git a/macros/latex/base/ltvers.dtx b/macros/latex/base/ltvers.dtx index 92cd1f4e5d..89ab33f1af 100644 --- a/macros/latex/base/ltvers.dtx +++ b/macros/latex/base/ltvers.dtx @@ -115,7 +115,7 @@ {2022-06-01} %</2ekernel|latexrelease> %<*2ekernel> -\def\patch@level{2} +\def\patch@level{3} % \end{macrocode} % % \begin{macro}{\development@branch@name} diff --git a/macros/latex/base/ltx3info.pdf b/macros/latex/base/ltx3info.pdf Binary files differindex cd1444506d..6df2a246b9 100644 --- a/macros/latex/base/ltx3info.pdf +++ b/macros/latex/base/ltx3info.pdf diff --git a/macros/latex/base/ltxdoc.dtx b/macros/latex/base/ltxdoc.dtx index f68c45ee36..46c324c590 100644 --- a/macros/latex/base/ltxdoc.dtx +++ b/macros/latex/base/ltxdoc.dtx @@ -30,7 +30,7 @@ % %<class>\NeedsTeXFormat{LaTeX2e} %<class>\ProvidesClass{ltxdoc} -%<class> [2022/06/14 v2.1g Standard LaTeX documentation class] +%<class> [2022/06/22 v2.1h Standard LaTeX documentation class] % %<*driver> \documentclass{ltxdoc} @@ -294,10 +294,12 @@ % \changes{v2.0k}{1994/05/21}{New definition, so \cmd\{ works.} % \begin{macro}{\cs} % \changes{v2.0d}{1994/03/17}{Add \cs{cs}} +% \changes{v2.1h}{2022/06/22}{Update \cs{cmd} definition to work with new \cs{cs}} % \begin{macrocode} -\def\cmd#1{\cs{\expandafter\cmd@to@cs\string#1}} +%\DeclareRobustCommand\cs[1]... % defined later +%\def\cmd#1{\cs{\expandafter\cmd@to@cs\string#1}} % can't use with new \cs +\def\cmd#1{\texttt{\char`\\\expandafter\cmd@to@cs\string#1}} \def\cmd@to@cs#1#2{\char\number`#2\relax} -%\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} % already part of doc.sty % \end{macrocode} % \end{macro} % \end{macro} diff --git a/macros/latex/base/ltxdoc.pdf b/macros/latex/base/ltxdoc.pdf Binary files differindex 2be49f9048..0e7de2480e 100644 --- a/macros/latex/base/ltxdoc.pdf +++ b/macros/latex/base/ltxdoc.pdf diff --git a/macros/latex/base/makeindx.pdf b/macros/latex/base/makeindx.pdf Binary files differindex ba96438573..04f209e57d 100644 --- a/macros/latex/base/makeindx.pdf +++ b/macros/latex/base/makeindx.pdf diff --git a/macros/latex/base/modguide.pdf b/macros/latex/base/modguide.pdf Binary files differindex dc70acb086..8334721047 100644 --- a/macros/latex/base/modguide.pdf +++ b/macros/latex/base/modguide.pdf diff --git a/macros/latex/base/nfssfont.pdf b/macros/latex/base/nfssfont.pdf Binary files differindex 894ab53d0b..1e6554b553 100644 --- a/macros/latex/base/nfssfont.pdf +++ b/macros/latex/base/nfssfont.pdf diff --git a/macros/latex/base/proc.pdf b/macros/latex/base/proc.pdf Binary files differindex c3938114f3..7e1fdf258c 100644 --- a/macros/latex/base/proc.pdf +++ b/macros/latex/base/proc.pdf diff --git a/macros/latex/base/slides.pdf b/macros/latex/base/slides.pdf Binary files differindex 45e76e0909..ef9263a7d9 100644 --- a/macros/latex/base/slides.pdf +++ b/macros/latex/base/slides.pdf diff --git a/macros/latex/base/slifonts.pdf b/macros/latex/base/slifonts.pdf Binary files differindex 93f1470416..c4cc655c47 100644 --- a/macros/latex/base/slifonts.pdf +++ b/macros/latex/base/slifonts.pdf diff --git a/macros/latex/base/source2e.pdf b/macros/latex/base/source2e.pdf Binary files differindex 0d0541b35b..c576eb55ee 100644 --- a/macros/latex/base/source2e.pdf +++ b/macros/latex/base/source2e.pdf diff --git a/macros/latex/base/syntonly.pdf b/macros/latex/base/syntonly.pdf Binary files differindex 0730685de9..19545566b1 100644 --- a/macros/latex/base/syntonly.pdf +++ b/macros/latex/base/syntonly.pdf diff --git a/macros/latex/base/tlc2.pdf b/macros/latex/base/tlc2.pdf Binary files differindex 5d8214fc35..74efbe951e 100644 --- a/macros/latex/base/tlc2.pdf +++ b/macros/latex/base/tlc2.pdf diff --git a/macros/latex/base/tulm.pdf b/macros/latex/base/tulm.pdf Binary files differindex f3059c903e..134b620c0b 100644 --- a/macros/latex/base/tulm.pdf +++ b/macros/latex/base/tulm.pdf diff --git a/macros/latex/base/usrguide.pdf b/macros/latex/base/usrguide.pdf Binary files differindex 36b100810f..904a9de82b 100644 --- a/macros/latex/base/usrguide.pdf +++ b/macros/latex/base/usrguide.pdf diff --git a/macros/latex/base/usrguide3.pdf b/macros/latex/base/usrguide3.pdf Binary files differindex c0b20f83dc..e9ba6f765b 100644 --- a/macros/latex/base/usrguide3.pdf +++ b/macros/latex/base/usrguide3.pdf diff --git a/macros/latex/base/utf8ienc.pdf b/macros/latex/base/utf8ienc.pdf Binary files differindex 6cab68e0db..8d4067767f 100644 --- a/macros/latex/base/utf8ienc.pdf +++ b/macros/latex/base/utf8ienc.pdf diff --git a/macros/latex/base/webcomp.pdf b/macros/latex/base/webcomp.pdf Binary files differindex d98c02c8fd..290facef37 100644 --- a/macros/latex/base/webcomp.pdf +++ b/macros/latex/base/webcomp.pdf diff --git a/macros/latex/contrib/hvextern/Changes b/macros/latex/contrib/hvextern/Changes index 73630cf187..422e5ce894 100644 --- a/macros/latex/contrib/hvextern/Changes +++ b/macros/latex/contrib/hvextern/Changes @@ -1,5 +1,7 @@ hvextern.sty ---------------- +v 0.32 2022-06-23 - fixed introduced bug + - added checkCode also for pdflatex and xelatex v 0.31 2022-06-20 - added package option checkCode to run the external file only if the code changes. v 0.30 2022-06-09 - added \hfuzz=\maxdimen for filename to prevent diff --git a/macros/latex/contrib/hvextern/doc/hvextern.pdf b/macros/latex/contrib/hvextern/doc/hvextern.pdf Binary files differindex 6e11028f20..6213f9215f 100644 --- a/macros/latex/contrib/hvextern/doc/hvextern.pdf +++ b/macros/latex/contrib/hvextern/doc/hvextern.pdf diff --git a/macros/latex/contrib/hvextern/doc/hvextern.tex b/macros/latex/contrib/hvextern/doc/hvextern.tex index d3f81f7447..5971c04744 100644 --- a/macros/latex/contrib/hvextern/doc/hvextern.tex +++ b/macros/latex/contrib/hvextern/doc/hvextern.tex @@ -44,10 +44,10 @@ from within a main\newline \LaTeX\ document~--v. \hvexternFileversion} \usepackage[Option]{hvextern} \end{verbatim} -There exists only one option \Loption{checkCode} which is only valid -for the use of \LuaLaTeX. In this case an already existing external file will only be compiled, if the -code changed. This dosn't depends on the setting of the option \Lkeyword{force}. -The package option will speed up the compilation time. +There exists only one option \Loption{checkCode} which is valid +for all \TeX-compiler. In this case an already existing external file will only be compiled, if the +external code changed. This dosn't depends on the setting of the option \Lkeyword{force}. +\Loption{checkCode} can speed up the compilation time. \section{Syntax} @@ -1832,6 +1832,19 @@ to get the directory listed: \runExtCmd[redirect,verbose]{ls -la}{voss} +\begin{verbatim} +\runExtCmd[redirect,verbose,lstOptions={basicstyle=\ttfamily\small}]{df}{voss} +\end{verbatim} + + + +\medskip +\runExtCmd[redirect,verbose,lstOptions={basicstyle=\ttfamily\footnotesize}]{df}{voss} + + + + + \section{Other options} \begin{description} diff --git a/macros/latex/contrib/hvextern/latex/hvextern.sty b/macros/latex/contrib/hvextern/latex/hvextern.sty index a7340a2f12..bf76925308 100644 --- a/macros/latex/contrib/hvextern/latex/hvextern.sty +++ b/macros/latex/contrib/hvextern/latex/hvextern.sty @@ -1,4 +1,4 @@ -%% $Id: hvextern.sty 577 2022-06-20 16:35:21Z herbert $ +%% $Id: hvextern.sty 579 2022-06-20 19:23:29Z herbert $ %% This is file `hvextern.sty', %% %% Copyright (C) 2016-22 @@ -12,8 +12,8 @@ %% and version 1.3c or later is part of all distributions of LaTeX %% version 2005/12/01 or later. -\def\hvexternFileversion{0.31} -\ProvidesFile{hvextern}[2022/06/20 v\hvexternFileversion: package for running external documents (HV)] +\def\hvexternFileversion{0.32} +\ProvidesFile{hvextern}[2022/06/23 v\hvexternFileversion: package for running external documents (HV)] \newif\ifhv@extern@checkCode \hv@extern@checkCodefalse @@ -190,15 +190,15 @@ \ResetKeys -\ifluatex - \ifhv@extern@checkCode +\ifhv@extern@checkCode + \ifluatex \hv@ex@typeout{Loading hvextern.lua}% - \directlua{dofile("hvextern.lua")}% - \fi -\else - \ifhv@extern@checkCode - \hv@ex@typeout{You need lualatex for option checkCode. Will disable the option!}% - \hv@extern@checkCodefalse + \directlua{kpse.set_program_name("luatex")require "hvextern.lua" }% + \else + \ifhv@extern@checkCode + \hv@ex@typeout{Using xelatex or pdflatex! Will use a temporary file for diff}% +% \hv@extern@checkCodefalse + \fi \fi \fi @@ -445,12 +445,27 @@ \expandafter\hvExternSetKeys\expandafter{\hv@extern@savePara}% \xdef\hv@extern@fullPath{\hv@extern@ExamplesDir\hvExternDateiname}% \ifhv@extern@checkCode - \directlua{if GetFileContents("\hvExternDateiname\hv@extern@ext", + \ifluatex + \directlua{if GetFileContents("\hvExternDateiname\hv@extern@ext", "\hv@extern@ExamplesDir\hvExternDateiname\hv@extern@ext") then tex.print("\\csname hv@ex@typeout\\endcsname{current file is NOT newer: no run }\\global\\csname hv@extern@forcefalse\\endcsname") else tex.print("\\csname hv@ex@typeout\\endcsname{current file is newer: force run }\\global\\csname hv@extern@forcetrue\\endcsname") - end} + end}% + \else + \hv@ex@typeout{Check, if new file has a different code}% + \ShellEscape{hvextern-checkfile "\hvExternDateiname\hv@extern@ext" + "\hv@extern@ExamplesDir\hvExternDateiname\hv@extern@ext"}% + \InputIfFileExists{\hvExternDateiname\hv@extern@ext.diff}{}{}% + \ifx\hvCheckNewFile\empty + \hv@ex@typeout{current file is NOT newer: no run }% + \global\hv@extern@forcefalse + \else + \hv@ex@typeout{current file is newer: force run }% + \global\hv@extern@forcetrue + \fi + \ifhv@extern@verbose\else\ShellEscape{\hv@rm \hvExternDateiname\hv@extern@ext.diff}\fi + \fi \fi \ifhv@extern@force \ifx\hv@extern@runsequence\@empty @@ -645,7 +660,7 @@ \newcommand\runExtCmd[3][]{% \begingroup - \setkeys{hv}{code=false,includegraphic=false,#1}% + \setkeys{hv}{cleanup={},code=false,includegraphic=false,#1}% \xdef\hvExternDateiname{#3-\arabic{hv@example@counter}}% \xdef\hv@extern@fullPath{\hv@extern@ExamplesDir\hvExternDateiname}% \hv@ex@typeout{running #2}% @@ -697,7 +712,7 @@ \ifhv@extern@usefancyvrb \expandafter\BodyVerbatim\expandafter[\hv@extern@lstOptions]{\hv@extern@fullPath.txt} \else - \expandafter\BodyListing\expandafter[\hv@extern@lstOptions]{\hv@extern@fullPath.txt} + \expandafter\BodyListing\expandafter[\hv@extern@lstOptions,breakatwhitespace]{\hv@extern@fullPath.txt} \fi \ifx\hv@extern@caption\@empty\else\caption{\hv@extern@caption}\fi \ifx\hv@extern@label\@empty\else\label{\hv@extern@label}\fi @@ -707,7 +722,8 @@ \ifhv@extern@usefancyvrb \expandafter\BodyVerbatim\expandafter[\hv@extern@lstOptions]{\hv@extern@fullPath.txt} \else - \expandafter\BodyListing\expandafter[\hv@extern@lstOptions]{\hv@extern@fullPath.txt} + \hv@extern@tcboxfalse + \expandafter\BodyListing\expandafter[\hv@extern@lstOptions,breaklines,breakatwhitespace]{\hv@extern@fullPath.txt} \fi \fi \fi diff --git a/macros/latex/contrib/hvextern/script/hvextern-checkfile.lua b/macros/latex/contrib/hvextern/script/hvextern-checkfile.lua new file mode 100755 index 0000000000..627f86d6bb --- /dev/null +++ b/macros/latex/contrib/hvextern/script/hvextern-checkfile.lua @@ -0,0 +1,42 @@ +#!/usr/bin/env texlua +----------------------------------------------------------------------- +-- FILE: hvextern-checkfile.lua +-- DESCRIPTION: check two files for identical code +-- REQUIREMENTS: +-- AUTHOR: Herbert Voß +-- LICENSE: LPPL1.3 +-- +-- $Id: hvextern.lua 578 2022-06-20 16:41:45Z herbert $ +----------------------------------------------------------------------- +kpse.set_program_name("luatex") + +local f = kpse.find_file("hvextern.lua") +require('hvextern') + +--[[ +function GetFileContents(f1,f2) + local NewContents, OldContents + local File = io.open(f1) + if File then + NewContents = File:read('*all') + File:close() + end + local File = io.open(f2) + if File then + OldContents = File:read('*all') + File:close() + end + return NewContents == OldContents +end +]] + +local f1 = arg[1] +local f2 = arg[2] +diffFile = io.open(f1..".diff","w+") +if GetFileContents(f1,f2) then + diffFile:write("\\let\\hvCheckNewFile\\empty") +else + diffFile:write("\\def\\hvCheckNewFile{Code changes}") +end +diffFile:close() + diff --git a/macros/latex/contrib/lwarp/README.txt b/macros/latex/contrib/lwarp/README.txt index b4d606ed34..b7f9c22586 100644 --- a/macros/latex/contrib/lwarp/README.txt +++ b/macros/latex/contrib/lwarp/README.txt @@ -1,5 +1,5 @@ -LaTeX lwarp package v0.905 README.txt +LaTeX lwarp package v0.906 README.txt Files included are: diff --git a/macros/latex/contrib/lwarp/lwarp.dtx b/macros/latex/contrib/lwarp/lwarp.dtx index c812a89da0..87eb2b4f55 100644 --- a/macros/latex/contrib/lwarp/lwarp.dtx +++ b/macros/latex/contrib/lwarp/lwarp.dtx @@ -16,7 +16,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{lwarp} -%<package> [2022/03/22 v0.905 Allows LaTeX to directly produce HTML5 output.] +%<package> [2022/06/23 v0.906 Allows LaTeX to directly produce HTML5 output.] % %<*driver> \documentclass{ltxdoc} @@ -1177,6 +1177,40 @@ which defaults to: \subsubsection{Math in section names} \limitsmathinsectionnames + +\subsubsection{Math in custom environments} + +\trouble[math in environments]{math>custom environments} +\trouble{mathjax=\MathJax>custom environments} +To create an environment which places its contents inside math, instead of: +\begin{sourcedisplay} + \cs{newenvironment}\{mymathenv\}\{ \textgreen{\cs{(}} starting math\}\{ending math \textgreen{\cs{)}} \} +\end{sourcedisplay} +use: +\begin{sourcedisplay} + \cs{NewDocumentEnvironment}\{mymathenv\}\{b\} \\ + \fquad \{ \\ + \fqquad \textred{\cs{inlinemathother}} \\ + \fqquad \textgreen{\cs{(}} starting math \textred{\#1} ending math \textgreen{\cs{)}} \\ + \fqquad \textred{\cs{inlinemathnormal}} \\ + \fquad \} \\ + \fquad \{\} +\end{sourcedisplay} +or: +\begin{sourcedisplay} + \cs{usepackage}\{environ\} \\ + \cs{NewEnviron}\{mymathenv\}\{ \\ + \fquad \textred{\cs{inlinemathother}} \\ + \fquad \textgreen{\cs{(}} starting math + \textred{\cs{BODY}} + ending math \textgreen{\cs{)}} \\ + \fquad \textred{\cs{inlinemathnormal}} \\ + \} +\end{sourcedisplay} + +For display math, use \cs{[}, \cs{]}, \cs{displaymathother}, and \cs{displaymathnormal}. + + \subsubsection{Rendering tradeoffs} Math may be rendered @@ -3246,7 +3280,7 @@ This boolean may be tested by the user for later use. %<*package> % \fi % -% \CheckSum{55580} +% \CheckSum{55578} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -3396,6 +3430,7 @@ This boolean may be tested by the user for later use. % \changes{v0.904a}{2022/03/16}{\ 2022/03/16} % \changes{v0.904a}{2022/03/16}{Fixed missing \pkg{common-mathjax-siunitx}.} % \changes{v0.905}{2022/03/22}{\ 2022/03/22} +% \changes{v0.906}{2022/06/23}{\ 2022/06/23} @@ -3629,6 +3664,18 @@ This boolean may be tested by the user for later use. % see the end of the Change History on page \pageref{sec:changesend}. % % \begin{description} +% \item[v0.906:] Screen readers +% \begin{itemize} +% \item For each \env{tabular}, add a hidden \HTML\ header cell to +% convince screen readers that the tables are data not layout. +% Also hide from the screen reader any final row +% used only to produce bottom borders. +% \item Adjusted \SVG\ math for a margin change in \prog{pdfcrop}. +% \item Added \cs{Ref}. +% \item Added docs regarding math in custom environments. +% See \cref{sec:limitsmath}. +% \end{itemize} +% \needspace{2\baselineskip} % \item[v0.905:] Bug fixes, internal improvements. % \begin{itemize} % \item Fixed conflict between \pkg{cleveref} and \pkg{splitidx}. @@ -8463,7 +8510,7 @@ This boolean may be tested by the user for later use. % \trouble{HTML>settings>changed} % it is best to first: % \begin{enumerate} -% \item Clear all the \HTML, \PDF, and auxiliary files: \userentry{lwarpmk clearall} +% \item Clear all the \HTML, \PDF, and auxiliary files: \userentry{lwarpmk cleanall} % \item Recompile the print version in order to recreate % the configuration files for \prog{lwarpmk}: \userentry{lwarpmk print} % \item Finally, recompile the \HTML\ version with the new settings: \userentry{lwarpmk html} @@ -10745,7 +10792,8 @@ This boolean may be tested by the user for later use. % % \subsection{Math} % -% \changes{v0.42}{2017/10/30}{Docs: Reorganized math limitations} +% \changes{v0.42}{2017/10/30}{Docs: Reorganized math limitations.} +% \changes{v0.906}{2022/05/12}{Docs: Math in custom environments.} % \label{sec:limitsmath} % % \limitsmath @@ -17372,7 +17420,8 @@ This boolean may be tested by the user for later use. % Remember original definitions of formatting commands. % Will be changed to \HTML\ commands for most uses. -% Will be temporarily restored to original meaning inside any lateximage environment. +% Will be temporarily restored to original meaning inside any \env{lateximage} environment +% and inside a \env{tabbing} environment. % Also nullify unused commands. % % Some packages redefine \cs{\#}, which is used to generate \HTML, so the original must @@ -17384,12 +17433,7 @@ This boolean may be tested by the user for later use. % \end{macrocode} % \begin{macrocode} \let\LWR@origcomma\, -\let\LWR@origthinspace\thinspace -\let\LWR@orignegthinspace\negthinspace \let\LWR@origtilde~ -\let\LWR@origenskip\enskip -\let\LWR@origquad\quad -\let\LWR@origqquad\qquad \let\LWR@orighfil\hfil \let\LWR@orighss\hss \let\LWR@origllap\llap @@ -17401,12 +17445,6 @@ This boolean may be tested by the user for later use. \let\LWR@origmedskip\medskip \let\LWR@origbigskip\bigskip - -\let\LWR@origtextellipsis\textellipsis -% \end{macrocode} -% \changes{v0.88}{2020/07/03}{Added \cs{vdots}.} -% \begin{macrocode} -\let\LWR@origvdots\vdots % \end{macrocode} % % \pkg{libertinus-otf} has too much kerning for \cs{textquotedbl}, @@ -20596,6 +20634,7 @@ page_compositor "." % \changes{v0.50}{2018/02/27}{\filenm{lwarp_one_limage.txt}: Added.} % \changes{v0.51}{2018/03/16}{\filenm{lwarp_one_limage.txt}: \prog{pdftocairo} \optn{-noshrink} added.} % \changes{v0.66}{2019/01/30}{\filenm{lwarp_one_limage.txt}: Image directory and prefix.} +% \changes{v0.906}{2022/05/02}{\filenm{lwarp_one_limage.txt}: Added \prog{pdfcrop} \optn{margin}.} % % ^^A *lwarp_one_limage.txt % @@ -20608,7 +20647,8 @@ page_compositor "." \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent\LWRpercent d.pdf% } \immediate\write\LWR@quickfile{% - pdfcrop --hires \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent 1.pdf % + pdfcrop --hires --margin \"0 1 0 0\" + \LWR@ImagesDirectory\OSPathSymbol lateximagetemp-\LWRpercent 1.pdf % \LWR@ImagesDirectory\OSPathSymbol\LWRpercent 3.pdf% } \immediate\write\LWR@quickfile{% @@ -21005,6 +21045,7 @@ MathJax = { % \changes{v0.89}{2020/08/29}{\prog{lwarpmk}: \optn{clean} also removes \filenm{*.bbl}} % \changes{v0.899}{2021/05/30}{\prog{lwarpmk}: Warn if \pkg{lwarp} package not detected.} % \changes{v0.903}{2021/11/30}{\prog{lwarpmk}: Error if \prog{pdftotext} not available.} +% \changes{v0.906}{2022/05/02}{\prog{lwarpmk}: Added \prog{pdfcrop} \optn{margin}.} % % The following is only generated if the \optn{lwarpmk} option % was given to \pkg{lwarp}. @@ -21020,7 +21061,7 @@ MathJax = { -- Copyright 2016-2022 Brian Dunn -printversion = "v0.905" +printversion = "v0.906" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -21554,7 +21595,7 @@ executecheckerror ( imagesdirectory .. dirslash .."lateximagetemp-%d" .. ".pdf" .. seqname .. -- Crop the image: - "pdfcrop --hires " .. imagesdirectory .. dirslash .. "lateximagetemp-" .. + "pdfcrop --hires --margin \"0 1 0 0\" " .. imagesdirectory .. dirslash .. "lateximagetemp-" .. lwimgpage .. ".pdf " .. imagesdirectory .. dirslash .. lwimgname .. ".pdf" .. seqname .. @@ -27050,11 +27091,18 @@ end -- not --version % for HTMLDebug comments.} % \changes{v0.903}{2021/12/28}{Add: Sectioning \HTML\ comment divider.} % \changes{v0.903}{2021/12/28}{Fix: Nullfiy footnotes in \HTML\ comment.} +% \changes{v0.906}{2022/06/21}{Improved \HTML\ comment divider.} % \begin{macrocode} \begingroup% \LWR@nullfonts% \LWR@nullifyfootnotes% -\LWR@htmlcomment{................................}% +\LWR@htmlcomment{% + \LWR@orignewline% + \IfValueTF{#2}% + {...... #4 #2 ......}% + {...... #4 #3 ......}% + \LWR@orignewline% +}% \LWR@orignewline% \ifbool{HTMLDebugComments}% {% @@ -29311,7 +29359,7 @@ end -- not --version % Do not produce \HTML\ tags for \cs{hspace} inside a verse |par|. % Restore plain \LaTeX{} \cs{hspace} functionality: % \begin{macrocode} -\LWR@select@print@hspace% +\let\hspace\LWR@print@hspace% } % \end{macrocode} % \end{macro} @@ -29414,18 +29462,19 @@ end -- not --version % \changes{v0.58}{2018/06/07}{Improved print/\HTML\ output selection.} % \changes{v0.84}{2020/04/17}{Restore spacing.} % \changes{v0.903}{2021/12/20}{Converted to env.} +% \changes{v0.906}{2022/06/10}{Used \cs{LWR@formatted} for more items.} % \begin{macrocode} \newenvironment*{LWR@HTML@tabbing} {% \LWR@forcenewpage% \LWR@atbeginverbatim{tabbing}% - \let\enskip\LWR@origenskip% - \let\quad\LWR@origquad% - \let\qquad\LWR@origqquad% + \let\enskip\LWR@print@enskip% + \let\quad\LWR@print@quad% + \let\qquad\LWR@print@qquad% \let~\LWR@origtilde% \let\,\LWR@origcomma% - \let\thinspace\LWR@origthinspace% - \let\negthinspace\LWR@orignegthinspace% + \let\thinspace\LWR@print@thinspace% + \let\negthinspace\LWR@print@negthinspace% \LWR@print@tabbing% } {% @@ -29887,7 +29936,7 @@ end -- not --version \LWR@orig@desc@makelabel{#1}% \LWR@htmltag{/dt}% } - \LWR@select@html@nohspace% + \RenewDocumentCommand{\hspace}{s m}{}% \LWR@origitem[#1]% \endgroup% \LWR@orignewline% @@ -30215,6 +30264,15 @@ end -- not --version % \end{macrocode} +% \DescribeBoolean{LWR@tabularfinalrow} +% Used to set \attribute{aria-hidden} if adding a final row for the purpose +% of adding the bottom border. +% \changes{v0.906}{2022/05/28}{Added \attribute{aria-hidden}.} +% \begin{macrocode} +\newbool{LWR@tabularfinalrow} +% \end{macrocode} + + % \DescribeBoolean{LWR@validtablecol} True if found a valid table column type. % \begin{macrocode} \newbool{LWR@validtablecol} @@ -30593,6 +30651,7 @@ end -- not --version % \begin{macrocode} \newcommand*{\LWR@tabularfinishrow}{% % \end{macrocode} +% % If not exiting the tabular, or doing a rule, or have already started a row, % finish this row: % \begin{macrocode} @@ -30605,8 +30664,9 @@ end -- not --version bool{LWR@startedrow}% }{% % \end{macrocode} -% To temporarily turn off |LWR@exitingtabular| so that -% table data tags will still be generated: +% +% Temporarily turn off |LWR@exitingtabular| so that +% table data tags will still be generated. % % If generating a final row for the \cs{bottomrule} borders, % turn off the |@|, |!|, |<|, and |>| column output: @@ -30617,10 +30677,12 @@ end -- not --version \boolfalse{LWR@tabularmutemods}% }% % \end{macrocode} +% % Locally reenable the table data tags until finished with the final row: % \begin{macrocode} \boolfalse{LWR@exitingtabular}% % \end{macrocode} +% % Generate table data tags and ampersands until the right edge: % \begin{macrocode} \whileboolexpr{% @@ -30640,6 +30702,7 @@ end -- not --version {% \LWR@tabledatasinglecolumntag% % \end{macrocode} +% % The following is essentially \cs{LWR@tabularampersand} with % |LWR@emptyatbang| added to empty the following cells: % \begin{macrocode} @@ -30648,6 +30711,7 @@ end -- not --version \global\boolfalse{LWR@tabularcelladded}% \booltrue{LWR@emptyatbang}% % \end{macrocode} +% % Starts the next cell: % \begin{macrocode} \ifnumcomp{\value{LWR@tableLaTeXcolindex}}{<} @@ -30656,6 +30720,7 @@ end -- not --version {}% }% % \end{macrocode} +% % Reenable the original |LWR@exitingtabular| to close the entire table: % \begin{macrocode} \ifbool{LWR@tabularmutemods}{% @@ -30685,6 +30750,7 @@ end -- not --version % \begin{macrocode} \NewDocumentCommand{\LWR@tabularendofline}{s o}{% % \end{macrocode} +% % Finish the row: % \begin{macrocode} \ifnumcomp{\value{LWR@tableLaTeXcolindex}}{<} @@ -30693,18 +30759,22 @@ end -- not --version {\LWR@closetabledatacell}% \LWR@htmltag{/tr}\LWR@orignewline% % \end{macrocode} +% % \pkg{xcolor} row color support: % \begin{macrocode} \@rowc@lors% % \end{macrocode} +% % No longer inside a data cell: % \begin{macrocode} \booltrue{LWR@intabularmetadata}% % \end{macrocode} +% % Not yet started a table row: % \begin{macrocode} \boolfalse{LWR@startedrow}% % \end{macrocode} +% % Additional setup: % \begin{macrocode} \defcounter{LWR@hlines}{0}% @@ -30713,25 +30783,30 @@ end -- not --version \boolfalse{LWR@doingcmidrule}% \LWR@clearmidrules% % \end{macrocode} +% % \changes{v0.79}{2020/01/18}{Fix: Nested \env{tabular}s.} % \begin{macrocode} \def\LWR@rowHTMLcolor{}% % \end{macrocode} +% % Start at first column: % \begin{macrocode} \defcounter{LWR@tableLaTeXcolindex}{1}% % \end{macrocode} +% % Have not yet added data in this column: % \begin{macrocode} \global\boolfalse{LWR@tabularcelladded}% % \end{macrocode} +% % Allow \TeX\ to flush the pending paragraph. % Not doing so causes a slowdown for very large tables. % \changes{v0.60}{2018/09/17}{Fix: Slowdown for long tables.} % \begin{macrocode} \LWR@stoppars% - \LWR@origpar% + \LWR@forceemptyline% % \end{macrocode} +% % Look at the next token to decide between single column data tag % or a special case: % \begin{macrocode} @@ -31538,10 +31613,12 @@ end -- not --version \LWR@setexparray{LWR@coladdclass}{2}{}% \LWR@setexparray{LWR@coladdclass}{3}{}% % \end{macrocode} +% % Starting at the first column specification: % \begin{macrocode} \defcounter{LWR@tablecolspecindex}{1}% % \end{macrocode} +% % Place the colspecs string length into \cs{LWR@strresult}, % and remember the number of characters in the column specification: % \begin{macrocode} @@ -31551,10 +31628,12 @@ end -- not --version \LWR@traceinfo{original column spec length: \LWR@strresult}% \defcounter{LWR@tablecolspecwidth}{\LWR@strresult}% % \end{macrocode} +% % Haven't seen any optional arguments so far % \begin{macrocode} \boolfalse{LWR@opttablecol}% % \end{macrocode} +% % Scan through the column specifications: % \begin{macrocode} \whileboolexpr{% @@ -31565,6 +31644,7 @@ end -- not --version }% {% % \end{macrocode} +% % Place the next single-character column type into \cs{LWR@strresult}: % \begin{macrocode} \expandarg% @@ -31572,6 +31652,7 @@ end -- not --version \LWR@traceinfo{position \arabic{LWR@tablecolspecindex}: \LWR@strresult}% \fullexpandarg% % \end{macrocode} +% % Not yet found a valid column type: % \begin{macrocode} \boolfalse{LWR@validtablecol}% @@ -31589,6 +31670,7 @@ end -- not --version {}% inside an optional argument {% not an optional tabular argument % \end{macrocode} +% % Not inside an optional argument, so consider the column type: % \changes{v0.901}{2021/08/12}{Improved \cs{newcolumntype} emulation.} % \begin{macrocode} @@ -31596,6 +31678,7 @@ end -- not --version {\csuse{LWR@columntype@\LWR@strresult}}% {}% % \end{macrocode} +% % If an unknown column type, use |l|: % \begin{macrocode} \ifbool{LWR@validtablecol}{}{% @@ -31604,6 +31687,7 @@ end -- not --version }% }% not an optional column argument % \end{macrocode} +% % If read the closing bracket, no longer inside the optional argument: % \begin{macrocode} \IfStrEq{\LWR@strresult}{]}{\boolfalse{LWR@opttablecol}}{}% @@ -31717,6 +31801,9 @@ end -- not --version % If have not yet started a new table row, begin one now. % Creates a new row tag, adding a class for |hline| or |tbrule| if % necessary. +% +% \changes{v0.906}{2022/05/28}{Removed final empty row if no border.} +% % \begin{macrocode} \newcommand*{\LWR@maybenewtablerow} {% @@ -31724,37 +31811,94 @@ end -- not --version {}% started the row {% not started the row % \end{macrocode} -% Remember that now have started the row: +% +% Pre-compute the \attribute{aria-hidden} attribute, +% used to hide from screen readers the final row if +% it is only used to create the bottom border: +% \changes{v0.906}{2022/05/28}{Added \attribute{aria-hidden}.} % \begin{macrocode} - \booltrue{LWR@startedrow}% + \ifbool{LWR@tabularfinalrow}% + {% + \renewcommand*{\LWR@tempone}% + { aria-hidden=\textquotedbl{}true\textquotedbl}% + }% + {% + \renewcommand*{\LWR@tempone}{}% + }% % \end{macrocode} -% Create the row tag, with a class if necessary. -% \changes{v0.895}{2021/01/14}{Improved \HTML\ quotes.} +% +% Start a new row if doing \cs{hline}: % \begin{macrocode} - \booltrue{LWR@intabularmetadata}% \ifboolexpr{% test{\ifnumcomp{\value{LWR@hlines}}{>}{0}} or% test{\ifnumcomp{\value{LWR@hdashedlines}}{>}{0}}% }% {% - \LWR@htmltag{tr class=\textquotedbl{}hline\textquotedbl }% + \LWR@htmltag{% + tr % + class=\textquotedbl{}hline\textquotedbl% + \LWR@tempone% aria-hidden + }% \LWR@orignewline% +% \end{macrocode} +% +% Remember that now have started the row, +% and create the row tag, with a class if necessary. +% \changes{v0.895}{2021/01/14}{Improved \HTML\ quotes.} +% \begin{macrocode} + \booltrue{LWR@startedrow}% + \booltrue{LWR@intabularmetadata}% }% +% \end{macrocode} +% +% If not doing \cs{hline}, start a row if doing a top or bottom rule: +% \begin{macrocode} {% not doing hline \ifbool{LWR@doingtbrule}% {% \ifdefvoid{\LWR@ruleHTMLcolor}{% - \LWR@htmltag{tr class=\textquotedbl{}tbrule\textquotedbl}% + \LWR@htmltag{% + tr % + class=\textquotedbl{}tbrule\textquotedbl% + \LWR@tempone% aria-hidden + }% }{% \LWR@htmltag{% tr class=\textquotedbl{}tbrule\textquotedbl\ % space style=\textquotedbl{}border-top: 1px solid % space \LWR@origpound\LWR@ruleHTMLcolor \textquotedbl{}% + \LWR@tempone% aria-hidden }% }% \LWR@orignewline% +% \end{macrocode} +% +% Remember that now have started the row, +% and create the row tag, with a class if necessary. +% \changes{v0.895}{2021/01/14}{Improved \HTML\ quotes.} +% \begin{macrocode} + \booltrue{LWR@startedrow}% + \booltrue{LWR@intabularmetadata}% + }% + {% +% \end{macrocode} +% +% If not the final row, start a new row: +% \begin{macrocode} + \ifbool{LWR@tabularfinalrow}% + {}% + {% + \LWR@htmltag{tr}\LWR@orignewline% +% \end{macrocode} +% +% Remember that now have started the row, +% and create the row tag, with a class if necessary. +% \changes{v0.895}{2021/01/14}{Improved \HTML\ quotes.} +% \begin{macrocode} + \booltrue{LWR@startedrow}% + \booltrue{LWR@intabularmetadata}% + }% }% - {\LWR@htmltag{tr}\LWR@orignewline}% }% end of not doing hline }% end of not started the row } @@ -33505,6 +33649,7 @@ end -- not --version \newcommand*{\ResumeTabular}{% \boolfalse{LWR@exitingtabular}% \boolfalse{LWR@tabularmutemods}% + \boolfalse{LWR@tabularfinalrow}% \LWR@getmynexttoken% } % \end{macrocode} @@ -33566,10 +33711,14 @@ end -- not --version \global\let\LWR@mynextaction\LWR@tabledatasinglecolumntag% % \end{macrocode} % -% If exiting the tabular: +% If find \cs{end}, exit the tabular: +% \changes{v0.906}{2022/05/28}{Added \attribute{aria-hidden}.} % \begin{macrocode} \ifdefequal{\LWR@mynexttoken}{\end}% - {\booltrue{LWR@exitingtabular}}{}% + {% + \booltrue{LWR@tabularfinalrow}% + \booltrue{LWR@exitingtabular}% + }{}% % \end{macrocode} % % \env{longtable} can have a caption in a cell @@ -33844,9 +33993,14 @@ end -- not --version % \begin{macro}{\LWR@HTMLcline} \marg{columns} +% \changes{v0.906}{2022/06/21}{Fix: \cs{cline} at end of tabular.} % \begin{macrocode} \NewDocumentCommand{\LWR@HTMLcline}{m}% - {\LWR@docmidrule{#1}\LWR@getmynexttoken}% +{% + \LWR@docmidrule{#1}% + \LWR@maybenewtablerow% + \LWR@getmynexttoken% +}% % \end{macrocode} % \end{macro} @@ -33955,6 +34109,12 @@ end -- not --version \boolfalse{LWR@tabularmutemods}% % \end{macrocode} % +% Not adding final row for the lower border: +% \changes{v0.906}{2022/05/28}{Added \attribute{aria-hidden}.} +% \begin{macrocode} + \boolfalse{LWR@tabularfinalrow}% +% \end{macrocode} +% % Error if failed to use \cs{mrowcell} or \cs{mcolrowcell} when needed. % \changes{v0.69}{2019/03/07}{Error if \cs{multirow} without \cs{mrowcell}.} % \begin{macrocode} @@ -33986,6 +34146,7 @@ end -- not --version % \begin{macrocode} \LWR@htmlblocktag{table}% % \end{macrocode} +% % Parse the table columns: % \begin{macrocode} \LWR@parsetablecols{#3}% @@ -33997,6 +34158,21 @@ end -- not --version % \begin{macrocode} \LWR@stoppars% % \end{macrocode} +% +% Without at least one header cell, some screen readers think that the +% table is just for page layout, and do not read it as data. +% Add a hidden row with a single non-empty header cell to tell +% the screen readers that this is a table of data for the user. +% +% \changes{v0.906}{2022/05/01}{Add empty header.} +% \begin{macrocode} + \LWR@htmltag{tr style="display:none"}% + \LWR@htmltag{th}.\LWR@htmltag{/th}% + \LWR@htmltag{/tr}% + \LWR@orignewline% + \LWR@forceemptyline% +% \end{macrocode} +% % Track column \#: % \begin{macrocode} \defcounter{LWR@tableLaTeXcolindex}{1}% @@ -34144,10 +34320,15 @@ end -- not --version {% \LWR@traceinfo{LWR@HTML@endtabular}% % \end{macrocode} +% % Unnest one level of tabular paragraph handling: % \changes{v0.46}{2018/01/18}{Fix: Tabular empty lines.} % \begin{macrocode} \addtocounter{LWR@tabularpardepth}{-1}% +% \end{macrocode} +% +% Finish a row which is not yet done: +% \begin{macrocode} \ifboolexpr{% test {% \ifnumcomp{\value{LWR@tableLaTeXcolindex}}{<}% @@ -34163,13 +34344,22 @@ end -- not --version )% }% {% +% \end{macrocode} +% +% \changes{v0.906}{2022/05/28}{Added \attribute{aria-hidden}.} +% \begin{macrocode} + \booltrue{LWR@tabularfinalrow}% \LWR@tabularfinishrow% + \boolfalse{LWR@tabularfinalrow}% }% {% \LWR@closetabledatacell% }% - \LWR@htmlblocktag{/tr}% + \ifbool{LWR@startedrow}% + {\LWR@htmltag{/tr}\LWR@orignewline}% + {}% % \end{macrocode} +% % \pkg{xcolor} row color support: % \begin{macrocode} \@rowc@lors% @@ -34784,6 +34974,7 @@ end -- not --version % \cs{ref} is redefined to \cs{LWR@HTML@ref}, % except inside the text part of a \cs{hyperref}, % where it is redefined to \cs{LWR@ref@ignorestar}. +% % \begin{macro}{\LWR@HTML@ref} * \marg{label} % Create an internal document reference link, % or without a link if starred per \pkg{hyperref}. @@ -34792,13 +34983,14 @@ end -- not --version % Since \pkg{hyperref} is only emulated, the starred version is % defined here for print mode, in case \cs{ref} is used inside % \SVG\ math: -% \changes{v0.88}{2020/07/05}{Fixed: Starred.} +% \changes{v0.88}{2020/07/05}{Fixed: Starred \cs{ref}.} % \begin{macrocode} \LWR@absorbstar{ref}% % \end{macrocode} % % The \HTML\ version: % \changes{v0.58}{2018/06/07}{Improved print/\HTML\ output selection.} +% \changes{v0.906}{2022/05/02}{Added \cs{Ref}.} % \begin{macrocode} \NewDocumentCommand{\LWR@HTML@ref}{s m}{% \LWR@traceinfo{LWR@HTML@ref !#2!}% @@ -34808,6 +35000,16 @@ end -- not --version } \LWR@formatted{ref} + + +\NewDocumentCommand{\LWR@HTML@Ref}{s m}{% + \LWR@traceinfo{LWR@HTML@Ref !#2!}% + \IfBooleanTF{#1}% + {\LWR@print@Ref{#2}}% + {\LWR@subnewref{#2}{#2}}% +} + +\LWR@formatted{Ref} % \end{macrocode} % % @@ -37194,10 +37396,6 @@ end -- not --version \setbool{LWR@doingparhooks}{false}% % \end{macrocode} % -% \begin{macrocode} - \LWR@select@print@hspace% -% \end{macrocode} -% % \changes{v0.903}{2021/12/13}{Par handling.} % \begin{macrocode} \def\color@endgroup{\endgraf\endgroup}% @@ -37213,15 +37411,6 @@ end -- not --version % \end{macrocode} % \begin{macrocode} \let\,\LWR@origcomma% disable HTML short unbreakable space - \let\thinspace\LWR@origthinspace% disable HTML short unbreakable space - \let\negthinspace\LWR@orignegthinspace% disable HTML negative short unbreakable space - \let\textellipsis\LWR@origtextellipsis% -% \end{macrocode} -% \changes{v0.88}{2020/07/03}{Added \cs{vdots}.} -% \begin{macrocode} - \let\vdots\LWR@origvdots% -% \end{macrocode} -% \begin{macrocode} \let\textless\LWR@origtextless% \let\textgreater\LWR@origtextgreater% % \end{macrocode} @@ -37237,9 +37426,6 @@ end -- not --version \let\sb\LWR@origsb% \LetLtxMacro\underline\LWR@origunderline% \let~\LWR@origtilde% - \let\enskip\LWR@origenskip% - \let\quad\LWR@origquad% - \let\qquad\LWR@origqquad% % \end{macrocode} % % \cs{endtabular} must be restored to its original, @@ -39089,9 +39275,13 @@ end -- not --version % \end{macrocode} % Print-mode versions: +% \changes{v0.906}{2022/05/07}{Added \cs{theMathJaxsection}, etc.} % \begin{macrocode} \newcommand*{\displaymathnormal}{} \newcommand*{\displaymathother}{} +\newcommand*{\theMathJaxsubequations}{0} +\newcommand*{\theMathJaxsection}{} +\newcommand*{\theMathJaxequation}{\arabic{equation}} % \end{macrocode} % \begin{macrocode} @@ -42354,14 +42544,19 @@ color:\LWR@origpound\LWR@tempcolor% % \changes{v0.56}{2018/05/09}{Added \cs{thinspace}.} % \changes{v0.61}{2018/09/23}{Spaces redefined \cs{AtBeginDocument}.} % \changes{v0.88}{2020/07/03}{Added \cs{vdots}.} +% \changes{v0.906}{2022/06/10}{Used \cs{LWR@formatted} for more items.} % \begin{macrocode} -\AtBeginDocument{ -\renewrobustcmd*{\,}{\HTMLunicode{202f}} % HTML thin non-breakable space -\renewrobustcmd*{\thinspace}{\HTMLunicode{202f}} % HTML thin non-breakable space -\renewrobustcmd*{\negthinspace}{\HTMLunicode{202f}} % HTML thin non-breakable space -\renewrobustcmd*{~}{\HTMLentity{nbsp}} -\renewrobustcmd*{\textellipsis}{\HTMLunicode{2026}} -\renewrobustcmd*{\vdots}{\HTMLunicode{22EE}} +\AtBeginDocument{% +\renewrobustcmd*{\,}{\HTMLunicode{202f}}% HTML thin non-breakable space, not using LWR@formatted +\newrobustcmd*{\LWR@HTML@thinspace}{\HTMLunicode{202f}}% HTML thin non-breakable space +\LWR@formatted{thinspace} +\newrobustcmd*{\LWR@HTML@negthinspace}{\HTMLunicode{202f}} % HTML thin non-breakable space +\LWR@formatted{negthinspace} +\renewrobustcmd*{~}{\HTMLentity{nbsp}}% cannot use \LWR@formatted +\newrobustcmd*{\LWR@HTML@textellipsis}{\HTMLunicode{2026}} +\LWR@formatted{textellipsis} +\newrobustcmd*{\LWR@HTML@vdots}{\HTMLunicode{22EE}} +\LWR@formatted{vdots} } % \end{macrocode} % @@ -42561,20 +42756,24 @@ color:\LWR@origpound\LWR@tempcolor% % Uses |2003 EM SPACE| to pass validation. % \changes{v0.64}{2018/12/08}{Made robust.} % \changes{v0.65}{2018/12/22}{Changed to Unicode EM SPACE.} +% \changes{v0.906}{2022/06/10}{\cs{LWR@formatted}.} % \begin{macrocode} -\renewrobustcmd*{\quad}{% +\newrobustcmd*{\LWR@HTML@quad}{% \LWR@minipagestoppars% \HTMLunicode{2003}% \LWR@minipagestartpars% } +\LWR@formatted{quad} % \end{macrocode} % \end{macro} % \begin{macro}{\qquad} % Handles special minipage \& horizontal space interactions. % \changes{v0.64}{2018/12/08}{Made robust.} +% \changes{v0.906}{2022/06/10}{\cs{LWR@formatted}.} % \begin{macrocode} -\renewrobustcmd*{\qquad}{\quad\quad} +\newrobustcmd*{\LWR@HTML@qquad}{\quad\quad} +\LWR@formatted{qquad} % \end{macrocode} % \end{macro} @@ -42582,12 +42781,14 @@ color:\LWR@origpound\LWR@tempcolor% % Handles special minipage \& horizontal space interactions. % \changes{v0.64}{2018/12/08}{Made robust.} % \changes{v0.65}{2018/12/22}{Changed to Unicode EN SPACE.} +% \changes{v0.906}{2022/06/10}{\cs{LWR@formatted}.} % \begin{macrocode} -\renewrobustcmd*{\enskip}{% +\newrobustcmd*{\LWR@HTML@enskip}{% \LWR@minipagestoppars% \HTMLunicode{2002}% \LWR@minipagestartpars% } +\LWR@formatted{enskip} % \end{macrocode} % \end{macro} @@ -42603,8 +42804,6 @@ color:\LWR@origpound\LWR@tempcolor% % \end{macrocode} % -% \begin{macro}{\LWR@select@html@hspace} -% % \begin{macro}{\hspace} * \marg{length} * \marg{length} % % Handles special minipage \& horizontal space interactions. @@ -42613,14 +42812,14 @@ color:\LWR@origpound\LWR@tempcolor% % \changes{v0.20}{2016/08/22}{Add: Supports \HTML\ thin breakable space.} % \changes{v0.24}{2017/03/14}{Add: \cs{hspace} \cs{fill} converts to 2em} % \changes{v0.74}{2019/08/04}{Ignore negative space.} +% \changes{v0.906}{2022/06/10}{\cs{LWR@formatted}.} % % Prints a span of a given width. Ignores the optional star. % % |\hspace{\fill}| is converted to |\hspace{2em}|, equal to \cs{qquad}. % \begin{macrocode} -\newcommand{\LWR@select@html@hspace}{% -\RenewDocumentCommand{\hspace}{s m}{% -\setlength{\LWR@tempwidth}{##2}% +\NewDocumentCommand{\LWR@HTML@hspace}{s m}{% +\setlength{\LWR@tempwidth}{#2}% % \end{macrocode} % If \cs{fill}, change to \cs{qquad}: % \begin{macrocode} @@ -42682,42 +42881,10 @@ color:\LWR@origpound\LWR@tempcolor% \LWR@minipagestartpars% }{}% width greater than 0 }% -} +\LWR@formatted{hspace} % \end{macrocode} % \end{macro} -% \end{macro} -% -% \begin{macro}{\LWR@select@html@nohspace} -% -% \begin{macro}{\hspace} * \marg{length} % -% Used to disable \cs{hspace} while creating |description| \cs{item}s. -% \begin{macrocode} -\newcommand{\LWR@select@html@nohspace}{% - \RenewDocumentCommand{\hspace}{s m}{}% -} -% \end{macrocode} -% \end{macro} -% \end{macro} - -% \begin{macro}{\LWR@select@print@hspace} -% \begin{macrocode} -\newcommand*{\LWR@select@print@hspace}{% - \renewrobustcmd\hspace{\@ifstar\@hspacer\@hspace}% -} -% \end{macrocode} -% \end{macro} - - -% -% -% \begin{macro}{\hspace} * \marg{length} -% -% Handles special minipage \& horizontal space interactions. -% \begin{macrocode} -\LWR@select@html@hspace -% \end{macrocode} -% \end{macro} % \begin{macro}{\LWR@vspace} * \marg{length} Nullified vspace. @@ -48473,8 +48640,8 @@ color:\LWR@origpound\LWR@tempcolor% {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% {% \ifbool{FormatWP}% - {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% - {\booltrue{LWR@doingtbrule}}% + {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% + {\booltrue{LWR@doingtbrule}}% }% \LWR@getmynexttoken} @@ -48486,8 +48653,8 @@ color:\LWR@origpound\LWR@tempcolor% {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% {% \ifbool{FormatWP}% - {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% - {\defaddtocounter{LWR@hlines}{1}}% + {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% + {\defaddtocounter{LWR@hlines}{1}}% }% \LWR@getmynexttoken} @@ -48505,8 +48672,8 @@ color:\LWR@origpound\LWR@tempcolor% {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% {% \ifbool{FormatWP}% - {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% - {\booltrue{LWR@doingtbrule}}% + {\LWR@docmidrule[#1](){1-\arabic{LWR@tabletotalLaTeXcols}}}% + {\booltrue{LWR@doingtbrule}}% }% \LWR@getmynexttoken% }% @@ -51018,18 +51185,19 @@ test {\ifnumgreater{\csuse{Changes@In########1}}{0}}% \fi } } +% \end{macrocode} -\LetLtxMacro\LWR@chemmacros@origchemprime\chemprime - -\protected\def\chemprime { \HTMLunicode{2032} } +% \changes{v0.906}{2022/06/10}{\pkg{chemmacros}: \cs{chemprime} \cs{LWR@formatted}.} +% \begin{macrocode} -\appto\LWR@restoreorigformatting{% -\LetLtxMacro\chemprime\LWR@chemmacros@origchemprime% +\hook_gput_code:nnn {begindocument/end} {chemmacros} +{ +\protected\def\LWR@HTML@chemprime { \HTMLunicode{2032} } +\LWR@formatted{chemprime} } % \end{macrocode} % -% ^^A \RenewChemIUPAC \chemprime { \HTMLunicode{2032} } % % \begin{macrocode} \cs_gset_protected:Npn \__chemmacros_cip:n #1 @@ -63655,7 +63823,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} \renewcommand*{\jb@biblaw@item}{% \hspace{0.5em}% % $\triangleright$ - \HTMLunicode{25B7}% lwarp + \HTMLunicode{25B7}% lwarp% \hspace{0.5em}% } @@ -68901,7 +69069,7 @@ border-radius: \LWR@mdfprintlength{roundcorner} ; \LWR@orignewline % \env{mdframed} environment may not work with the \HTML\ versions of the following, % so restore them to their originals while inside \env{mdframed}: % \begin{macrocode} -\LWR@select@print@hspace% +\let\hspace\LWR@print@hspace% \renewcommand*{\rule}{\LWR@print@rule} \LetLtxMacro\makebox\LWR@print@makebox% % \end{macrocode} @@ -86425,7 +86593,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', \InlineClass{thmboxproofname}{\proofname\ #1\unskip\,:} } {% - \qquad\HTMLunicode{220E}% end of proof symbol + \qquad\HTMLunicode{220E} \end{BlockClass} } @@ -88536,7 +88704,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', \renewcommand\todoitem[2]{% \refstepcounter{todo}% \item[% - \HTMLunicode{2610} \quad + \HTMLunicode{2610} \quad% \ref{todopage:\thetodo} ] : {\todoformat\ifx#1\todomark\else\textbf{#1} \fi}#2% \label{todolbl:\thetodo}% @@ -88545,7 +88713,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', \renewcommand\doneitem[2]{% \stepcounter{todo}% \item[% - \HTMLunicode{2611} \quad + \HTMLunicode{2611} \quad% \ref{todopage:\thetodo} ] \@nameuse{@done\the\c@todo}: {\todoformat\ifx#1\todomark\else\textbf{#1} \fi}#2% @@ -89836,6 +90004,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', % \pkg{unitsdef} is patched for use by \pkg{lwarp}. % % \changes{v0.62}{2018/11/11}{\pkg{unitsdef}: Added.} +% \changes{v0.906}{2022/06/10}{\pkg{unitsdef}: \cs{LWR@formatted}.} % % \codehtml % @@ -89844,29 +90013,30 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', % \end{macrocode} % % \begin{macrocode} -\renewcommand{\unitvaluesep}{\,} +\newcommand{\LWR@HTML@unitvaluesep}{\,} +\LWR@formatted{unitvaluesep} -\renewcommand{\unittimes}{\@@setunitsepfalse\HTMLunicode{22c5}}% \cdot +\newcommand{\LWR@HTML@unittimes}{\@@setunitsepfalse\HTMLunicode{22c5}}% \cdot +\LWR@formatted{unittimes} -\renewunit{\arcmin}{% - \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% - {\ensuremath{{}^\prime}}% - {\HTMLunicode{2032}}% prime +\newunit{\LWR@HTML@arcmin}{% + \HTMLunicode{2032}% prime } +\LWR@formatted{arcmin} -\renewunit{\arcsec}{% - \ifnumcomp{\value{LWR@lateximagedepth}}{>}{0}% - {\ensuremath{{}^{\prime\prime}}}% - {\HTMLunicode{2033}}% dbl prime +\newunit{\LWR@HTML@arcsec}{% + \HTMLunicode{2033}% dbl prime } +\LWR@formatted{arcsec} -\renewrobustcmd{\SI}[2]{% +\newrobustcmd{\LWR@HTML@SI}[2]{% \begingroup% \let\unit@@xspace\relax% \unitSIdef\selectfont% \LWR@textcurrentfont{#1#2}% lwarp \endgroup% } +\LWR@formatted{SI} % \end{macrocode} % % \iffalse diff --git a/macros/latex/contrib/lwarp/lwarp.pdf b/macros/latex/contrib/lwarp/lwarp.pdf Binary files differindex e3c1f196a7..f283ec702a 100644 --- a/macros/latex/contrib/lwarp/lwarp.pdf +++ b/macros/latex/contrib/lwarp/lwarp.pdf diff --git a/macros/latex/contrib/lwarp/lwarpmk.lua b/macros/latex/contrib/lwarp/lwarpmk.lua index 901d7d3f42..f123b2e205 100755 --- a/macros/latex/contrib/lwarp/lwarpmk.lua +++ b/macros/latex/contrib/lwarp/lwarpmk.lua @@ -2,7 +2,7 @@ -- Copyright 2016-2022 Brian Dunn -printversion = "v0.905" +printversion = "v0.906" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -515,7 +515,7 @@ executecheckerror ( imagesdirectory .. dirslash .."lateximagetemp-%d" .. ".pdf" .. seqname .. -- Crop the image: - "pdfcrop --hires " .. imagesdirectory .. dirslash .. "lateximagetemp-" .. + "pdfcrop --hires --margin \"0 1 0 0\" " .. imagesdirectory .. dirslash .. "lateximagetemp-" .. lwimgpage .. ".pdf " .. imagesdirectory .. dirslash .. lwimgname .. ".pdf" .. seqname .. diff --git a/macros/latex/contrib/tcolorbox/CHANGES.md b/macros/latex/contrib/tcolorbox/CHANGES.md index 5dc1a6549f..5cd3c33546 100644 --- a/macros/latex/contrib/tcolorbox/CHANGES.md +++ b/macros/latex/contrib/tcolorbox/CHANGES.md @@ -22,6 +22,20 @@ and this project adheres to +## [5.1.1] - 2022-06-24 + +### Changed +- Some documentation improvements +- Library `xparse` removed from settings `many` and `most` +- Slight implemenation change for `\newtcbtheorem` and `\renewtcbtheorem` + +### Fixed +- Regression bug introduced with v5.0.0 2021-12-16 (issue #182) + Instead of `beforeafter skip balanced`, `autoparskip` was set as default, restoring + the situation before v4.40 (with some inconsistencies) + + + ## [5.1.0] - 2022-06-22 ### Added diff --git a/macros/latex/contrib/tcolorbox/README.md b/macros/latex/contrib/tcolorbox/README.md index 5677aebf2e..7b71ce2749 100644 --- a/macros/latex/contrib/tcolorbox/README.md +++ b/macros/latex/contrib/tcolorbox/README.md @@ -1,4 +1,4 @@ -# The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +# The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) > Copyright (c) 2006-2022 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> diff --git a/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex b/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex index c5f982ebd7..e0fbb8bbf2 100644 --- a/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbbreakable.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbbreakable.code.tex: Code for breakable colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \RequirePackage{pdfcol} \pdfcolInitStack{tcb@breakable} diff --git a/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex b/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex index ffa29fd17d..0d4e728d76 100644 --- a/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbdocumentation.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbdocumentation.code.tex: Code for LaTeX documentations %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{listings,skins,xparse,external,raster} diff --git a/macros/latex/contrib/tcolorbox/tcbexternal.code.tex b/macros/latex/contrib/tcolorbox/tcbexternal.code.tex index 094a35e8cc..9a0412f874 100644 --- a/macros/latex/contrib/tcolorbox/tcbexternal.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbexternal.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbexternal.code.tex: Code for externalization %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{pro@cessing} diff --git a/macros/latex/contrib/tcolorbox/tcbfitting.code.tex b/macros/latex/contrib/tcolorbox/tcbfitting.code.tex index 0c4f6368cd..f4afe5b9ad 100644 --- a/macros/latex/contrib/tcolorbox/tcbfitting.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbfitting.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbfitting.code.tex: Code for fit boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \newdimen\tcbfitdim \newdimen\tcb@lowerfitdim diff --git a/macros/latex/contrib/tcolorbox/tcbhooks.code.tex b/macros/latex/contrib/tcolorbox/tcbhooks.code.tex index dd06324a65..38bf638d87 100644 --- a/macros/latex/contrib/tcolorbox/tcbhooks.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbhooks.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbhooks.code.tex: Code for adding hooks %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbset{% before upper app/.code={\appto\kvtcb@before@upper{#1}},% diff --git a/macros/latex/contrib/tcolorbox/tcblistings.code.tex b/macros/latex/contrib/tcolorbox/tcblistings.code.tex index e66d95a375..57093d0d48 100644 --- a/macros/latex/contrib/tcolorbox/tcblistings.code.tex +++ b/macros/latex/contrib/tcolorbox/tcblistings.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcblistings.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \RequirePackage{listings}[2007/02/22] diff --git a/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex b/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex index a13d4ccbc9..28dac54eea 100644 --- a/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex +++ b/macros/latex/contrib/tcolorbox/tcblistingscore.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcblistingscode.code.tex: Auxiliary code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{pro@cessing} diff --git a/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex b/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex index 64ecfd73a3..eb618f90a5 100644 --- a/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex +++ b/macros/latex/contrib/tcolorbox/tcblistingsutf8.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcblistingsutf8.code.tex: Code for colorboxes with listings in UTF-8 %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{listings} diff --git a/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex b/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex index f719cd1990..4aa35dac70 100644 --- a/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbmagazine.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbmagazine.code.tex: Code for box sets and magazine styles %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{breakable} diff --git a/macros/latex/contrib/tcolorbox/tcbminted.code.tex b/macros/latex/contrib/tcolorbox/tcbminted.code.tex index 37bcb4055f..73e4666aff 100644 --- a/macros/latex/contrib/tcolorbox/tcbminted.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbminted.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbminted.code.tex: Code for colorboxes with listings %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \RequirePackage{minted}[2021/12/24] diff --git a/macros/latex/contrib/tcolorbox/tcbposter.code.tex b/macros/latex/contrib/tcolorbox/tcbposter.code.tex index aaa2029f63..3e208f58ed 100644 --- a/macros/latex/contrib/tcolorbox/tcbposter.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbposter.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbposter.code.tex: Code for posters %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{breakable,magazine,skins,fitting} diff --git a/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex b/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex index 86dd5edc9d..3d5fac78d0 100644 --- a/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbprocessing.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbprocessing.code.tex: Code for conditional processing %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \RequirePackage{pdftexcmds} \RequirePackage{shellesc} diff --git a/macros/latex/contrib/tcolorbox/tcbraster.code.tex b/macros/latex/contrib/tcolorbox/tcbraster.code.tex index b1ea20394d..d3e62b531a 100644 --- a/macros/latex/contrib/tcolorbox/tcbraster.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbraster.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \newcounter{tcbrastercolumn} \newcounter{tcbrasterrow} diff --git a/macros/latex/contrib/tcolorbox/tcbskins.code.tex b/macros/latex/contrib/tcolorbox/tcbskins.code.tex index 666a17e349..65a29a24c9 100644 --- a/macros/latex/contrib/tcolorbox/tcbskins.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbskins.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbskins.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \RequirePackage{tikz}[2010/10/13] diff --git a/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex b/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex index 237625e9ba..8d1fb2abcd 100644 --- a/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbskinsjigsaw.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbskinsjigsaw.code.tex: Code for colorboxes with different skins %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{skins} diff --git a/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex b/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex index 22d65d0b65..dc6b5651e7 100644 --- a/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbtheorems.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbtheorems.code.tex: Code for theorems in colorboxes %% %% ------------------------------------------------------------------------------------------- @@ -18,7 +18,7 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \RequirePackage{amsmath} @@ -147,21 +147,21 @@ } -\NewDocumentCommand \new@tcbtheorem { O{} m m +m m } +\NewDocumentCommand \__tcobox_new_tcbtheorem:w { m O{} m m +m m } { - \@@newtcolorbox[auto~counter,#1]{#2}[3][] + #1 [auto~counter,#2]{#3}[3][] { - #4, - title = {\__tcobox_theo_title:nnn{#3}{\thetcbcounter}{##2}}, + #5, + title = {\__tcobox_theo_title:nnn{#4}{\thetcbcounter}{##2}}, list~entry = {\protect\numberline{\thetcbcounter}##2}, nameref = {##2}, - theo@label = {#5}{##3}, + theo@label = {#6}{##3}, ##1 } - \@@newtcolorbox[#1,no~counter,list~inside=]{#2*}[2][] + #1 [#2,no~counter,list~inside=]{#3*}[2][] { - #4, - title = {\__tcobox_theo_title:nnn{#3}{}{##2}}, + #5, + title = {\__tcobox_theo_title:nnn{#4}{}{##2}}, ##1 } } @@ -169,15 +169,13 @@ \NewDocumentCommand \newtcbtheorem {} { - \cs_set_eq:NN \@@newtcolorbox \newtcolorbox - \new@tcbtheorem + \__tcobox_new_tcbtheorem:w \newtcolorbox } \NewDocumentCommand \renewtcbtheorem {} { - \cs_set_eq:NN \@@newtcolorbox \renewtcolorbox - \new@tcbtheorem + \__tcobox_new_tcbtheorem:w \renewtcolorbox } diff --git a/macros/latex/contrib/tcolorbox/tcbvignette.code.tex b/macros/latex/contrib/tcolorbox/tcbvignette.code.tex index 5450aab75e..900e14ad95 100644 --- a/macros/latex/contrib/tcolorbox/tcbvignette.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbvignette.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbvignette.code.tex: Code for ornamental frames %% %% ------------------------------------------------------------------------------------------- @@ -17,7 +17,7 @@ %% %% This work consists of all files listed in README %% -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \tcbuselibrary{skins} diff --git a/macros/latex/contrib/tcolorbox/tcbxparse.code.tex b/macros/latex/contrib/tcolorbox/tcbxparse.code.tex index 8b98f90983..477ae4dc6c 100644 --- a/macros/latex/contrib/tcolorbox/tcbxparse.code.tex +++ b/macros/latex/contrib/tcolorbox/tcbxparse.code.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcbxparse.code.tex: Code for xparse features %% %% ------------------------------------------------------------------------------------------- @@ -18,6 +18,6 @@ %% This work consists of all files listed in README %% %\makeatletter -\tcb@set@library@version{5.1.0} +\tcb@set@library@version{5.1.1} \RequirePackage{xparse}[2013/12/31] diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf Binary files differindex 802b875cc4..4fc5f5f334 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf +++ b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.pdf diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex index 153c943e9d..699d19a9c7 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox-example-poster.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcolorbox-example-poster.tex: a poster example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf b/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf Binary files differindex bce13b3ac6..c68ebb8fbe 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf +++ b/macros/latex/contrib/tcolorbox/tcolorbox-example.pdf diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-example.tex b/macros/latex/contrib/tcolorbox/tcolorbox-example.tex index b5baddaa01..1d4ee51c68 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox-example.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox-example.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf Binary files differindex ce07ca6efa..7cb12cfa72 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf +++ b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.pdf diff --git a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex index 412c109296..0427651ee3 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox-tutorial-poster.tex @@ -1,5 +1,5 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcolorbox-tutorial-poster.tex: a tutorial for poster creation with tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.coremacros.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.coremacros.tex index 71fde951c1..110edf0626 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.coremacros.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.coremacros.tex @@ -3,7 +3,8 @@ \clearpage \section{Macros for Box Creation}% \tcbset{external/prefix=external/coremacros_}% -\subsection{Using \texttt{tcolorbox} and \texttt{tcbox}}\label{subsec:macros_using} +%\subsection{Using \texttt{tcolorbox} and \texttt{\texorpdfstring{\char`\\}{\textbackslash}tcbox}}\label{subsec:macros_using} +\subsection{Using \texttt{tcolorbox} and \texttt{\textbackslash tcbox}}\label{subsec:macros_using} \begin{docEnvironment}{tcolorbox}{\oarg{options}} This is the main environment to create an accentuated colored text box with rounded corners and, optionally, two parts. The appearance of this box @@ -316,7 +317,7 @@ This is a tcolorbox. \clearpage -\subsection{Producing \texttt{tcbox} Commands}\label{subsec:macros_tcbox} +\subsection{Producing \texttt{\textbackslash tcbox} Commands}\label{subsec:macros_tcbox} \begin{docCommand}{newtcbox}{\oarg{init options}\brackets{\texttt{\textbackslash}\meta{name}}\oarg{number}\oarg{default}\marg{options}} Creates a new macro \texttt{\textbackslash}\meta{name} based on \refCom{tcbox}. diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex index bda5bc3ac7..aad10b052a 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -4566,7 +4566,7 @@ This is a \textbf{tcolorbox}. } } Wraps the |\tl_if_blank:n(TF)| command(s) of \textsf{expl3} for option setting. - If the \meta{token list} consists only of blank spaces, the \meta{true options} are set. + If the \meta{token list} consists only of blank spaces or is entirely empty, the \meta{true options} are set. Otherwise, the \meta{false options} are set. \begin{dispExample} \newtcolorbox{mybox}[1]{ IfBlankF={#1}{title=`#1'} } diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.fitting.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.fitting.tex index 6d670c8a16..aa4854d8a6 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.fitting.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.fitting.tex @@ -87,7 +87,7 @@ The library is loaded by a package option or inside the preamble by: \clearpage -\subsection{Producing \texttt{tcboxfit} Commands}\label{subsec:fitting_new} +\subsection{Producing \texttt{\textbackslash tcboxfit} Commands}\label{subsec:fitting_new} \begin{docCommand}{newtcboxfit}{\oarg{init options}\brackets{\texttt{\textbackslash}\rmfamily\meta{name}}\oarg{number}\oarg{default}\marg{options}} diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.intro.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.intro.tex index e744a6f96f..0147fe42e9 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.intro.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.intro.tex @@ -151,7 +151,7 @@ The following keys are used inside |\tcbuselibrary| respectively \clearpage \begin{docTcbKey}[library]{xparse}{}{\mylib{xparse}} - Provides document command production with |xparse| for |tcolorbox|; + Loads |xparse| and is considered a legacy library kept for compatibility; see Section~\ref{sec:xparse} from page~\pageref{sec:xparse}. \end{docTcbKey} @@ -169,14 +169,14 @@ The following keys are used inside |\tcbuselibrary| respectively \begin{docTcbKey}[library]{many}{}{style, no value} Loads the libraries \mylib{skins}, \mylib{breakable}, \mylib{raster}, \mylib{hooks}, - \mylib{theorems}, \mylib{fitting}, and \mylib{xparse}. + \mylib{theorems}, and \mylib{fitting}. Use this shortcut, if you want to use all features of |tcolorbox| with exception of typesetting listings and using the specialized \mylib{documentation} library. \end{docTcbKey} \begin{docTcbKey}[library]{most}{}{style, no value} - Loads all libraries except \mylib{minted} and \mylib{documentation}. + Loads all libraries except \mylib{minted}, \mylib{documentation}, and \mylib{xparse}. Use this shortcut, if you want to use all features of |tcolorbox| with exception of using the |minted| package and using the specialized \mylib{documentation} library. @@ -208,8 +208,7 @@ The following keys are used inside |\tcbuselibrary| respectively \mylib{raster}\\ \mylib{skins}\\ \mylib{theorems}\\ - \mylib{vignette}\\ - \mylib{xparse} + \mylib{vignette} \tcbitem[adjusted title=Advanced Listings] \mylib{listings}\\ \mylib{listingsutf8} @@ -218,5 +217,8 @@ The following keys are used inside |\tcbuselibrary| respectively \tcbitem[adjusted title=Documentation] \mylib{documentation} \end{tcbitemize} + \begin{tcolorbox}[beamer,adjusted title=Legacy,colframe=blue!50!black,colback=blue!10!white] + \mylib{xparse} + \end{tcolorbox} \end{extcolorbox} diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.doc.listings.tex b/macros/latex/contrib/tcolorbox/tcolorbox.doc.listings.tex index 4cf36cd9ef..c2108cc97f 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.doc.listings.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox.doc.listings.tex @@ -382,7 +382,7 @@ Note that the following code uses \verb+!O{}+ now. \clearpage -\subsection{Producing \texttt{tcbinputlisting} Commands}\label{subsec:listings_inputlisting} +\subsection{Producing \texttt{\textbackslash tcbinputlisting} Commands}\label{subsec:listings_inputlisting} \enlargethispage*{1cm} \begin{docCommand}{newtcbinputlisting}{\oarg{init options}\brackets{\texttt{\textbackslash}\rmfamily\meta{name}}\oarg{number}\oarg{default}\marg{options}} diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.pdf b/macros/latex/contrib/tcolorbox/tcolorbox.pdf Binary files differindex b93a509ec4..6803beb246 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.pdf +++ b/macros/latex/contrib/tcolorbox/tcolorbox.pdf diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.sty b/macros/latex/contrib/tcolorbox/tcolorbox.sty index 70f5d5996d..21447f7a97 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.sty +++ b/macros/latex/contrib/tcolorbox/tcolorbox.sty @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcolorbox.sty: Text color boxes %% %% ------------------------------------------------------------------------------------------- @@ -18,8 +18,8 @@ %% This work consists of all files listed in README %% \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesPackage{tcolorbox}[2022/06/22 version 5.1.0 text color boxes] -\def\tcb@version{5.1.0} +\ProvidesPackage{tcolorbox}[2022/06/24 version 5.1.1 text color boxes] +\def\tcb@version{5.1.1} \RequirePackage{pgf}[2008/01/15] \RequirePackage{verbatim}[2003/08/22] @@ -2566,7 +2566,7 @@ } \tcbset{% - autoparskip,minipage,savedelimiter=tcolorbox,% + minipage,savedelimiter=tcolorbox,% set@extensions@preframe=,set@extensions@postframe=,set@extensions@final=,% }% @@ -2634,9 +2634,9 @@ \tcb@add@library{vignette}{tcbvignette.code.tex} \tcb@add@library{poster}{tcbposter.code.tex} -\tcb@add@library@style{many}{raster,skins,breakable,hooks,theorems,fitting,xparse} +\tcb@add@library@style{many}{raster,skins,breakable,hooks,theorems,fitting} \tcb@add@library@style{most}{many,listingsutf8,external,magazine,vignette,poster} -\tcb@add@library@style{all}{many,minted,listingsutf8,external,magazine,vignette,poster,documentation} +\tcb@add@library@style{all}{many,minted,listingsutf8,external,magazine,vignette,poster,documentation,xparse} \ProcessOptions* \begingroup\edef\x{\endgroup\noexpand\tcbuselibrary{\tcb@optionlist}}\x diff --git a/macros/latex/contrib/tcolorbox/tcolorbox.tex b/macros/latex/contrib/tcolorbox/tcolorbox.tex index 13d9a0bc89..8d410884c3 100644 --- a/macros/latex/contrib/tcolorbox/tcolorbox.tex +++ b/macros/latex/contrib/tcolorbox/tcolorbox.tex @@ -1,5 +1,5 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 5.1.0 (2022/06/22) +%% The LaTeX package tcolorbox - version 5.1.1 (2022/06/24) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -45,8 +45,8 @@ \setlength{\bibitemsep}{\smallskipamount} \addbibresource{tcolorbox.doc.bib} -\def\version{5.1.0}% -\def\datum{2022/06/22}% +\def\version{5.1.1}% +\def\datum{2022/06/24}% \makeindex \hypersetup{ @@ -64,7 +64,7 @@ %\geometry{showframe} %\tcbset{draftmode} \tcbset{/tcb/external/-}% for final run -%\includeonly{tcolorbox.doc.fitting,tcolorbox.doc.index} +%\includeonly{tcolorbox.doc.theorems} %\hypersetup{colorlinks=false} |