diff options
101 files changed, 338 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex-dev/base/README.md b/Master/texmf-dist/doc/latex-dev/base/README.md index 2d6ce4804c9..6029313c56e 100644 --- a/Master/texmf-dist/doc/latex-dev/base/README.md +++ b/Master/texmf-dist/doc/latex-dev/base/README.md @@ -1,7 +1,7 @@ The LaTeX kernel ================ -Release 2022-06-01 pre-release 1 +Release 2022-06-01 pre-release 2 Overview -------- diff --git a/Master/texmf-dist/doc/latex-dev/base/alltt.pdf b/Master/texmf-dist/doc/latex-dev/base/alltt.pdf Binary files differindex d6cdbc0fc7e..16f4934d9df 100644 --- a/Master/texmf-dist/doc/latex-dev/base/alltt.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/alltt.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/cfgguide.pdf b/Master/texmf-dist/doc/latex-dev/base/cfgguide.pdf Binary files differindex fae9a8bdf1a..f1d9b18a00f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/cfgguide.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/cfgguide.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/changes.txt b/Master/texmf-dist/doc/latex-dev/base/changes.txt index 8ae1fd7b598..0768de673bf 100644 --- a/Master/texmf-dist/doc/latex-dev/base/changes.txt +++ b/Master/texmf-dist/doc/latex-dev/base/changes.txt @@ -1,3 +1,4 @@ + ================================================================================ This file lists changes to the LaTeX2e files in reverse chronological order of publication (therefore the dates might be out of sequence if there are hotfixes). @@ -5,16 +6,39 @@ It is provided for convenience only. It therefore makes no claims to completeness or accuracy and it contains some references to files that are not part of the distribution. ================================================================================ -2021-12-30 Ulrike Fischer <Ulrike.Fischer@latex-project.org> - * ltmeta.dtx: - Adapted bundle name to new name `LaTeX-lab' +2022-02-05 Joseph Wright <Joseph.Wright@latex-project.org> + + * ltkeys.dtx (section{Plain \TeX}): + Create key properties at the 2e layer + Add .code property + +2022-01-25 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * ltplain.dtx (section{Plain \TeX}): + Alter \obeyspaces and \obeylines to use a redirection for special + use cases (gh/367)} + +2022-01-20 Frank Mittelbach <Frank.Mittelbach@latex-project.org> + + * doc.dtx (subsection{Keys supported by doc): + Fixed key handling for nohyperref and nomulticol (gh/750). + +2022-01-15 Joseph Wright <Joseph.Wright-project.org> + + * ltkeys.dtx: + Clear option data in \AtEndOfPackage hook 2022-01-06 Joseph Wright <Joseph.Wright-project.org> * ltexpl.dtx (section{Document-level command names for expl3 functions}): Adjust document-level names for \exp_args:Nc and the like +2021-12-30 Ulrike Fischer <Ulrike.Fischer@latex-project.org> + + * ltmeta.dtx: + Adapted bundle name to new name `LaTeX-lab' + 2021-12-31 Phelype Oleinik <phelype.oleinik@latex-project.org> * ltcmd.dtx (subsubsection{Showing the definition of a command}): diff --git a/Master/texmf-dist/doc/latex-dev/base/classes.pdf b/Master/texmf-dist/doc/latex-dev/base/classes.pdf Binary files differindex e4e848f690f..f9554c72552 100644 --- a/Master/texmf-dist/doc/latex-dev/base/classes.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/classes.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/clsguide.pdf b/Master/texmf-dist/doc/latex-dev/base/clsguide.pdf Binary files differindex b6d49013637..bb6d34b20cf 100644 --- a/Master/texmf-dist/doc/latex-dev/base/clsguide.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/clsguide.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/cmfonts.pdf b/Master/texmf-dist/doc/latex-dev/base/cmfonts.pdf Binary files differindex f147e56c717..1519514358b 100644 --- a/Master/texmf-dist/doc/latex-dev/base/cmfonts.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/cmfonts.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/cyrguide.pdf b/Master/texmf-dist/doc/latex-dev/base/cyrguide.pdf Binary files differindex 7483d4a07f9..6efe42e1b81 100644 --- a/Master/texmf-dist/doc/latex-dev/base/cyrguide.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/cyrguide.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/doc-code.pdf b/Master/texmf-dist/doc/latex-dev/base/doc-code.pdf Binary files differindex a27820aee9b..69c7ad4bbe0 100644 --- a/Master/texmf-dist/doc/latex-dev/base/doc-code.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/doc-code.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/doc.pdf b/Master/texmf-dist/doc/latex-dev/base/doc.pdf Binary files differindex 8c2a4a18c63..733e15b6242 100644 --- a/Master/texmf-dist/doc/latex-dev/base/doc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/doc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/docstrip.pdf b/Master/texmf-dist/doc/latex-dev/base/docstrip.pdf Binary files differindex bcfa8a34c76..d1fb196f58c 100644 --- a/Master/texmf-dist/doc/latex-dev/base/docstrip.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/docstrip.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/encguide.pdf b/Master/texmf-dist/doc/latex-dev/base/encguide.pdf Binary files differindex 5d16c1d5d91..7581f0b892f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/encguide.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/encguide.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/exscale.pdf b/Master/texmf-dist/doc/latex-dev/base/exscale.pdf Binary files differindex e3301650657..5ca05e66722 100644 --- a/Master/texmf-dist/doc/latex-dev/base/exscale.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/exscale.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/fix-cm.pdf b/Master/texmf-dist/doc/latex-dev/base/fix-cm.pdf Binary files differindex 3d02f337359..f763dd53f26 100644 --- a/Master/texmf-dist/doc/latex-dev/base/fix-cm.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/fix-cm.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/fntguide.pdf b/Master/texmf-dist/doc/latex-dev/base/fntguide.pdf Binary files differindex 2907d5441be..dadcf600b24 100644 --- a/Master/texmf-dist/doc/latex-dev/base/fntguide.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/fntguide.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/graphpap.pdf b/Master/texmf-dist/doc/latex-dev/base/graphpap.pdf Binary files differindex f0a6a4a89c8..1567c9ceb02 100644 --- a/Master/texmf-dist/doc/latex-dev/base/graphpap.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/graphpap.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ifthen.pdf b/Master/texmf-dist/doc/latex-dev/base/ifthen.pdf Binary files differindex c304cd4801f..3580e40dd4c 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ifthen.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ifthen.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/inputenc.pdf b/Master/texmf-dist/doc/latex-dev/base/inputenc.pdf Binary files differindex 96d79b25d6f..139633cba13 100644 --- a/Master/texmf-dist/doc/latex-dev/base/inputenc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/inputenc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/lamport-manual.pdf b/Master/texmf-dist/doc/latex-dev/base/lamport-manual.pdf Binary files differindex 54d2c31952a..105bf5c8696 100644 --- a/Master/texmf-dist/doc/latex-dev/base/lamport-manual.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/lamport-manual.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/latexrelease.pdf b/Master/texmf-dist/doc/latex-dev/base/latexrelease.pdf Binary files differindex 630c7cb84a5..ca626e9ead0 100644 --- a/Master/texmf-dist/doc/latex-dev/base/latexrelease.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/latexrelease.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/latexsym.pdf b/Master/texmf-dist/doc/latex-dev/base/latexsym.pdf Binary files differindex d4e39b84edf..0f5279c10e8 100644 --- a/Master/texmf-dist/doc/latex-dev/base/latexsym.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/latexsym.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/lb2.pdf b/Master/texmf-dist/doc/latex-dev/base/lb2.pdf Binary files differindex 3c945696f2f..6e74caa24ba 100644 --- a/Master/texmf-dist/doc/latex-dev/base/lb2.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/lb2.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/letter.pdf b/Master/texmf-dist/doc/latex-dev/base/letter.pdf Binary files differindex a4f9c2c4ffc..026c2a5a375 100644 --- a/Master/texmf-dist/doc/latex-dev/base/letter.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/letter.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/lgc2.pdf b/Master/texmf-dist/doc/latex-dev/base/lgc2.pdf Binary files differindex 07902aca251..59fb751186f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/lgc2.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/lgc2.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/lppl.pdf b/Master/texmf-dist/doc/latex-dev/base/lppl.pdf Binary files differindex c09da611fd0..eea50258aeb 100644 --- a/Master/texmf-dist/doc/latex-dev/base/lppl.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/lppl.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-code.pdf b/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-code.pdf Binary files differindex 7ed20af9ff3..1e0744a2a46 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-code.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-code.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-doc.pdf b/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-doc.pdf Binary files differindex 6ac9077ecca..149ae90ad6e 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-doc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltcmdhooks-doc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltfilehook-code.pdf b/Master/texmf-dist/doc/latex-dev/base/ltfilehook-code.pdf Binary files differindex 16144c7a731..d9cbaf1a3de 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltfilehook-code.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltfilehook-code.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltfilehook-doc.pdf b/Master/texmf-dist/doc/latex-dev/base/ltfilehook-doc.pdf Binary files differindex 3e3d0da1754..5e3ed3d4ab0 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltfilehook-doc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltfilehook-doc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/lthooks-code.pdf b/Master/texmf-dist/doc/latex-dev/base/lthooks-code.pdf Binary files differindex 12c74386838..a4b7ca6c7d8 100644 --- a/Master/texmf-dist/doc/latex-dev/base/lthooks-code.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/lthooks-code.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/lthooks-doc.pdf b/Master/texmf-dist/doc/latex-dev/base/lthooks-doc.pdf Binary files differindex 76321bbfe09..94156c25b54 100644 --- a/Master/texmf-dist/doc/latex-dev/base/lthooks-doc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/lthooks-doc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltluatex.pdf b/Master/texmf-dist/doc/latex-dev/base/ltluatex.pdf Binary files differindex 6d45e9e955e..7e4f07d3bb1 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltluatex.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltluatex.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews.pdf Binary files differindex af545c21fed..628393f7277 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews01.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews01.pdf Binary files differindex 1ab890fe997..dd2500ff78e 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews01.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews01.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews02.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews02.pdf Binary files differindex 39e5eb69ac1..6f416864b19 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews02.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews02.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews03.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews03.pdf Binary files differindex 48f5b265265..50442a37c65 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews03.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews03.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews04.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews04.pdf Binary files differindex f6d36a762e3..d532b318b11 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews04.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews04.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews05.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews05.pdf Binary files differindex e8eb6f67a4f..2de0565e992 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews05.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews05.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews06.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews06.pdf Binary files differindex b4a0f5dd175..46d4be0fcc3 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews06.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews06.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews07.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews07.pdf Binary files differindex d411bef57aa..a4783c58443 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews07.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews07.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews08.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews08.pdf Binary files differindex ba927184d03..47223098d75 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews08.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews08.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews09.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews09.pdf Binary files differindex 13855073557..b5978dba844 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews09.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews09.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews10.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews10.pdf Binary files differindex ee0327a5c85..b4a88ee9d50 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews10.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews10.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews11.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews11.pdf Binary files differindex 51e82c1f02b..6f5c117b223 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews11.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews11.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews12.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews12.pdf Binary files differindex 0f02498fd49..73ef1dcb79f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews12.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews12.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews13.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews13.pdf Binary files differindex bc7e4244ba7..a6c3c88fded 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews13.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews13.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews14.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews14.pdf Binary files differindex e00f82dd75f..0662b70afe0 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews14.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews14.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews15.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews15.pdf Binary files differindex 89f68f003c0..2049e1cde6b 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews15.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews15.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews16.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews16.pdf Binary files differindex d1f12d79a49..b3073b168de 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews16.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews16.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews17.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews17.pdf Binary files differindex 2029148dc78..306a5677821 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews17.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews17.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews18.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews18.pdf Binary files differindex ecdd021457e..6b4b445c08c 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews18.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews18.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews19.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews19.pdf Binary files differindex c6cf9a5d4b6..551ee12be4e 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews19.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews19.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews20.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews20.pdf Binary files differindex c9b1e7dc6c9..e0b015c09e1 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews20.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews20.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews21.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews21.pdf Binary files differindex 67c89254705..9ad04a02c50 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews21.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews21.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews22.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews22.pdf Binary files differindex f556f2a7b23..96543a8e39e 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews22.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews22.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews23.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews23.pdf Binary files differindex 44e8064b3c3..f82c5e1aba1 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews23.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews23.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews24.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews24.pdf Binary files differindex 35b80e46c57..1eeeb95b928 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews24.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews24.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews25.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews25.pdf Binary files differindex 1b096ddcbcb..eef51d2b0a2 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews25.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews25.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews26.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews26.pdf Binary files differindex 42a9e76e102..98b38ea9007 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews26.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews26.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews27.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews27.pdf Binary files differindex 7c45486bb2e..df69fd7649b 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews27.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews27.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews28.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews28.pdf Binary files differindex c1f63b59dee..7d0afe54d9f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews28.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews28.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews29.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews29.pdf Binary files differindex b1de2fc801f..1ef4e3ce57f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews29.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews29.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews30.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews30.pdf Binary files differindex 8bb8e3e732c..b9955d97fcf 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews30.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews30.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews31.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews31.pdf Binary files differindex 928a14e4be9..466e2bcf9f4 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews31.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews31.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews32.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews32.pdf Binary files differindex 4ba4ff8185e..f99da0ca4cf 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews32.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews32.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews32.tex b/Master/texmf-dist/doc/latex-dev/base/ltnews32.tex index 01bc515db50..28f3bf88b43 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews32.tex +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews32.tex @@ -307,7 +307,7 @@ line) could result in an unnecessary extra line in order to prevent a hyphen in the second-last line of the paragraph. This is now avoided by setting \cs{finalhyphendemerits} to zero in unjustified settings. % -\githubissue{274} +\githubissue{247} \subsection{Set a non-zero \cs{baselineskip} in text scripts} diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews33.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews33.pdf Binary files differindex 4c0e50b65f8..176ced9da84 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews33.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews33.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews34.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews34.pdf Binary files differindex a6d8fbbd537..bc02bb3bf1f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews34.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews34.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews34.tex b/Master/texmf-dist/doc/latex-dev/base/ltnews34.tex index a6450b97c37..04d1c25bc7d 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews34.tex +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews34.tex @@ -549,7 +549,7 @@ version of the font instead of substituting the (T1-encoded) Type 1 version. \subsection{Additional Extended Latin characters predefined} -More characters, such as \'k (U+1E131), are now pre-defined and +More characters, such as \'k (U+1E31), are now pre-defined and do not need a \verb|\DeclareUnicodeCharacter| declaration. % \githubissue{593} diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews35.pdf b/Master/texmf-dist/doc/latex-dev/base/ltnews35.pdf Binary files differindex 44fea294e8e..045089749a7 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews35.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews35.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltnews35.tex b/Master/texmf-dist/doc/latex-dev/base/ltnews35.tex index 31bce8a115c..e798d4c2e4e 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltnews35.tex +++ b/Master/texmf-dist/doc/latex-dev/base/ltnews35.tex @@ -323,6 +323,40 @@ layer)) which was also used in the example above. \section{Code improvements} + +\subsection{A small update to \cs{obeylines} and \cs{obeyspaces}} + +The plain \TeX{} versions of \cs{obeylines} and \cs{obeyspaces} make +\verb=^^M= and \verb*= = active and force them to execute \cs{par} +and \cs{space}, respectively. Don Knuth makes a remark in the \TeX{}book +that one can then use a trick such as +\begin{verbatim} + \let\par=\cr \obeylines \halign{... +\end{verbatim} +However, redefining \cs{par} like this is not really a great idea in \LaTeX{}, +because it may lead to all kind of problems. We have therefore changed +the commands to use an indirection: the active characters now execute +\cs{obeyedline} and \cs{obeyedspace}, which in turn do what the +hardwired solution did before. + +\begin{quote} + \renewcommand\obeyedspace{\ \textbullet\ } + \footnotesize\obeyspaces% +But this means that it is now possible to % +achieve special effects in a safe way. % +This paragraph, for example, was produced by % +making \cs{obeyedspace} generate % +\texttt{\{\cs{\verbvisiblespace}\cs{textbullet}\cs{\verbvisiblespace}\}} and % +enabling \cs{obeyspaces} within a % +quote environment. +\end{quote} +Thus, if you are keen to use the plain \TeX{} trick, you need to say +\cs{let}\cs{obeyedlines}\texttt{=}\cs{cr} now. +% +\githubissue{367} + + + \subsection{\class{ltxdoc} gets a \option{nocfg} option} The \LaTeX{} sources are formatted with the \class{ltxdoc} class, @@ -472,6 +506,28 @@ is now fixed. \section{Changes to packages in the \pkg{amsmath} category} + +\subsection{\pkg{amsopn} Do not reset \cs{operator@font}} + +The package \pkg{amsopn} used to define \cs{operator@font} but this +command is already provided by the \LaTeX{} format (for at least 14 +years). As a result the definition in \pkg{amsopn} is equivalent to a +reset to the kernel definition, which is unnecessary and suprising if +you alter the math setup (e.g., by loading a package) and at a later +stage add \pkg{amsmath}, which then undoes part of your setup. For +this reason the definition was taken out and +\pkg{amsmath}/\pkg{amsopn} now relies on the format definition. + +In the unlikely event that you want the resetting to happen, use +\begin{verbatim} + \makeatletter + \def\operator@font{\mathgroup\symoperators} + \makeatother +\end{verbatim} +after loading the package. +% +\githubissue{734} + \subsection{???} % \githubissue{???} @@ -516,6 +572,7 @@ spacing. Thus, the above example can now be written as \begin{verbatim} \[ X = \mathcolor{red}{\sum}_{i=1}^n x_i \] \end{verbatim} +This command is \emph{only} allowed in formulas. For details and further examples, see \file{mathcolor.pdf}. diff --git a/Master/texmf-dist/doc/latex-dev/base/ltpara-code.pdf b/Master/texmf-dist/doc/latex-dev/base/ltpara-code.pdf Binary files differindex 594234c3082..ff766c2947f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltpara-code.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltpara-code.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltpara-doc.pdf b/Master/texmf-dist/doc/latex-dev/base/ltpara-doc.pdf Binary files differindex a13c61f0e6e..cf0795adb86 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltpara-doc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltpara-doc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltshipout-code.pdf b/Master/texmf-dist/doc/latex-dev/base/ltshipout-code.pdf Binary files differindex 5c37e40e02c..a650b930ded 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltshipout-code.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltshipout-code.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltshipout-doc.pdf b/Master/texmf-dist/doc/latex-dev/base/ltshipout-doc.pdf Binary files differindex c5df9ae53c7..cc986f8a19c 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltshipout-doc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltshipout-doc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltx3info.pdf b/Master/texmf-dist/doc/latex-dev/base/ltx3info.pdf Binary files differindex 4f23908f578..9c8852094df 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltx3info.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltx3info.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/ltxdoc.pdf b/Master/texmf-dist/doc/latex-dev/base/ltxdoc.pdf Binary files differindex 65cae4bc53d..1889d2644c3 100644 --- a/Master/texmf-dist/doc/latex-dev/base/ltxdoc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/ltxdoc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/makeindx.pdf b/Master/texmf-dist/doc/latex-dev/base/makeindx.pdf Binary files differindex a35431c6716..2c0af1153ab 100644 --- a/Master/texmf-dist/doc/latex-dev/base/makeindx.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/makeindx.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/modguide.pdf b/Master/texmf-dist/doc/latex-dev/base/modguide.pdf Binary files differindex 4dab73b2ab2..25abeace24f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/modguide.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/modguide.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/nfssfont.pdf b/Master/texmf-dist/doc/latex-dev/base/nfssfont.pdf Binary files differindex 1148a19767b..c8702a68de1 100644 --- a/Master/texmf-dist/doc/latex-dev/base/nfssfont.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/nfssfont.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/proc.pdf b/Master/texmf-dist/doc/latex-dev/base/proc.pdf Binary files differindex 0e238c067bb..575422342cd 100644 --- a/Master/texmf-dist/doc/latex-dev/base/proc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/proc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/slides.pdf b/Master/texmf-dist/doc/latex-dev/base/slides.pdf Binary files differindex add1f4592e0..52546f73859 100644 --- a/Master/texmf-dist/doc/latex-dev/base/slides.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/slides.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/slifonts.pdf b/Master/texmf-dist/doc/latex-dev/base/slifonts.pdf Binary files differindex 894aead8ff6..624a5b5123b 100644 --- a/Master/texmf-dist/doc/latex-dev/base/slifonts.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/slifonts.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/source2e.pdf b/Master/texmf-dist/doc/latex-dev/base/source2e.pdf Binary files differindex bd750e892f6..c9f5168a057 100644 --- a/Master/texmf-dist/doc/latex-dev/base/source2e.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/source2e.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/syntonly.pdf b/Master/texmf-dist/doc/latex-dev/base/syntonly.pdf Binary files differindex 47b7e2517b3..3f149320153 100644 --- a/Master/texmf-dist/doc/latex-dev/base/syntonly.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/syntonly.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/tlc2.pdf b/Master/texmf-dist/doc/latex-dev/base/tlc2.pdf Binary files differindex 06731d0a9d6..c9c761680e9 100644 --- a/Master/texmf-dist/doc/latex-dev/base/tlc2.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/tlc2.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/tulm.pdf b/Master/texmf-dist/doc/latex-dev/base/tulm.pdf Binary files differindex 4d5c375eb98..4aac3efb425 100644 --- a/Master/texmf-dist/doc/latex-dev/base/tulm.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/tulm.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/usrguide.pdf b/Master/texmf-dist/doc/latex-dev/base/usrguide.pdf Binary files differindex 59e77110199..fe712da807b 100644 --- a/Master/texmf-dist/doc/latex-dev/base/usrguide.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/usrguide.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/usrguide3.pdf b/Master/texmf-dist/doc/latex-dev/base/usrguide3.pdf Binary files differindex 11da2b74b8a..5e0cd662240 100644 --- a/Master/texmf-dist/doc/latex-dev/base/usrguide3.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/usrguide3.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/utf8ienc.pdf b/Master/texmf-dist/doc/latex-dev/base/utf8ienc.pdf Binary files differindex def7db995c8..e60bfe78d6f 100644 --- a/Master/texmf-dist/doc/latex-dev/base/utf8ienc.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/utf8ienc.pdf diff --git a/Master/texmf-dist/doc/latex-dev/base/webcomp.pdf b/Master/texmf-dist/doc/latex-dev/base/webcomp.pdf Binary files differindex 0addcf94c07..4eee052d2b2 100644 --- a/Master/texmf-dist/doc/latex-dev/base/webcomp.pdf +++ b/Master/texmf-dist/doc/latex-dev/base/webcomp.pdf diff --git a/Master/texmf-dist/source/latex-dev/base/doc.dtx b/Master/texmf-dist/source/latex-dev/base/doc.dtx index e6b0e2cf92b..7c602327efb 100644 --- a/Master/texmf-dist/source/latex-dev/base/doc.dtx +++ b/Master/texmf-dist/source/latex-dev/base/doc.dtx @@ -43,12 +43,9 @@ %<+package> {doc-2021-06-01.sty} %<+package>\DeclareCurrentRelease{v3}{2022-06-01} %<+package> -%<*package> -%<-beta>\ProvidesPackage{doc} -%<+beta>\ProvidesPackage{doc-v3beta} -%</package> +%<+package>\ProvidesPackage{doc} %<+shortvrb>\ProvidesPackage{shortvrb} -%<+package|shortvrb> [2022/06/01 v3.0g +%<+package|shortvrb> [2022/06/01 v3.0h %<+package|shortvrb> Standard LaTeX documentation package V3 (FMi)] %\catcode`\<=12 % @@ -1939,7 +1936,10 @@ hyperref / true .code:n = { \legacy_if_set_true:n { doc@hyperref } }, hyperref / false .code:n = { \legacy_if_set_false:n { doc@hyperref } }, hyperref .default:n = { true }, - hyperref .choice:, +% \end{macrocode} +% \changes{v3.0h}{2022/06/01}{fix choice key name (gh/750)} +% \begin{macrocode} + nohyperref .choice:, nohyperref / true .code:n = { \legacy_if_set_false:n { doc@hyperref } }, nohyperref / false .code:n = { \legacy_if_set_true:n { doc@hyperref } }, nohyperref .default:n = { true }, @@ -1950,7 +1950,10 @@ nomulticol .choice:, nomulticol / true .code:n = { \legacy_if_set_false:n { doc@multicol } }, nomulticol / false .code:n = { \legacy_if_set_true:n { doc@multicol } }, - multicol .default:n = { true }, +% \end{macrocode} +% \changes{v3.0h}{2022/06/01}{fix default key name (gh/750)} +% \begin{macrocode} + nomulticol .default:n = { true }, debugshow .choice:, debugshow / true .code:n = { \legacy_if_set_true:n { doc@debugshow } }, debugshow / false .code:n = { \legacy_if_set_false:n { doc@debugshow } }, diff --git a/Master/texmf-dist/source/latex-dev/base/ltboxes.dtx b/Master/texmf-dist/source/latex-dev/base/ltboxes.dtx index 380be09b1f2..43db541b988 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltboxes.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltboxes.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltboxes.dtx} - [2021/10/14 v1.4c LaTeX Kernel (Box Commands)] + [2022/01/31 v1.4c LaTeX Kernel (Box Commands)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltboxes.dtx} @@ -987,7 +987,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\parboxrestore} +% \begin{macro}{\@parboxrestore} % Restore various paragraph parameters, and also |\\|. % \begin{macrocode} \def\@parboxrestore{\@arrayparboxrestore\let\\\@normalcr} diff --git a/Master/texmf-dist/source/latex-dev/base/lthooks.dtx b/Master/texmf-dist/source/latex-dev/base/lthooks.dtx index e07658fa88d..97edc2461a8 100644 --- a/Master/texmf-dist/source/latex-dev/base/lthooks.dtx +++ b/Master/texmf-dist/source/latex-dev/base/lthooks.dtx @@ -1404,7 +1404,7 @@ % hook management (by adding various rules to ensure the % appropriate ordering with respect to other code added by % packages). However, this makes every document unnecessary -% slow, because there has to be sorting even through the result is +% slow, because there has to be sorting even though the result is % predetermined. Furthermore it forces package writers to % unnecessarily add such rules if they add further code to the hook % (or break \LaTeX{}). diff --git a/Master/texmf-dist/source/latex-dev/base/ltkeys.dtx b/Master/texmf-dist/source/latex-dev/base/ltkeys.dtx index 3c58585de92..0ff3d9cfa38 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltkeys.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltkeys.dtx @@ -33,7 +33,7 @@ %<*driver> % \fi \ProvidesFile{ltkeys.dtx} - [2021/11/30 v1.0a LaTeX Kernel (Kevyal options)] + [2022/02/04 v1.0b LaTeX Kernel (Kevyal options)] % \iffalse \documentclass{l3doc} \GetFileInfo{ltkeys.dtx} @@ -70,6 +70,7 @@ % % The basic properties provided here are % \begin{itemize} +% \item \texttt{.code} --- execute arbitrary code % \item \texttt{.if} --- sets a \TeX{} \cs{if...} switch % \item \texttt{.store} --- stores a value in a macro % \item \texttt{.usage} -- defines whether the option can be given only @@ -149,6 +150,32 @@ \ExplSyntaxOn % \end{macrocode} % +% \subsection{Key properties} +% +% \begin{macro}{.code, .if, .store, .usage} +% \begin{macrocode} +\group_begin: + \cs_set_protected:Npn \@@_tmp:nn #1#2 + { + \quark_if_recursion_tail_stop:n {#1} + \cs_new_eq:cc + { \c_@@_props_root_str . #2 } + { \c_@@_props_root_str . #1 } + \@@_tmp:nn + } + \@@_tmp:nn + { code } { code } + { legacy_if_set:n } { if } + { tl_set:N } { store } + { usage:n } { usage } + { \q_recursion_tail } { } + \q_recursion_stop +\group_end: +% \end{macrocode} +% \end{macro} +% +% \subsection{Main mechanism} +% % \begin{macrocode} \cs_generate_variant:Nn \clist_put_right:Nn { Nv } % \end{macrocode} @@ -170,6 +197,8 @@ % \end{variable} % % \begin{macro}{\@@_options:Nn, \@@_options:NV} +% \changes{v1.0b}{2022/01/15} +% {Clear option list in end-of-package hook} % \begin{macro}{\@@_options_end:} % The main function calls functions to collect up the global and local % options into \cs{l_@@_options_clist} before calling the @@ -204,7 +233,7 @@ \bool_set_true:N \l_@@_options_loading_bool \keys_set:nV {#2} \l_@@_options_clist \bool_set_false:N \l_@@_options_loading_bool - \cs_set_eq:NN \@unprocessedoptions \scan_stop: + \AtEndOfPackage { \cs_set_eq:NN \@unprocessedoptions \scan_stop: } \@@_option_end: \@@_options_loaded:n {#2} } diff --git a/Master/texmf-dist/source/latex-dev/base/ltplain.dtx b/Master/texmf-dist/source/latex-dev/base/ltplain.dtx index c6f295ef6b0..ee1cf0a1613 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltplain.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltplain.dtx @@ -32,7 +32,7 @@ %<*driver> % \fi \ProvidesFile{ltplain.dtx} - [2021/07/16 v2.3g LaTeX Kernel (Plain TeX)] + [2022/01/25 v2.3h LaTeX Kernel (Plain TeX)] % \iffalse \documentclass{ltxdoc} \GetFileInfo{ltplain.dtx} @@ -1186,18 +1186,143 @@ % \end{macro} % \end{macro} % -% \begin{macro}{\obeylines} -% \begin{macro}{\obeyspaces} -% In |\obeylines|, we say |\let^^M=\par| instead of |\def^^M{\par}| -% since this allows, for example, |\let\par=\cr \obeylines \halign{...| +% \begin{macro}{\obeylines,\obeyspaces} +% In |\obeylines|, we say |\let^^M=\obeyedline| instead of |\def^^M{\obeyedline}| +% since this allows, for example, +% |\let\obeyedline=\cr \obeylines \halign{...|. +% +% This is essentially a plain \TeX{} trick and in its original +% version where you had to use to use |\let\par=\cr| not really a +% safe idea in \LaTeX. If anybody used this trick +% this now breaks (and one needs to use \cs{obeyedline} instead). +% \changes{v2.3h}{2022/01/25}{Provide redirection to support special +% use cases (gh/367)} +% \begin{macrocode} +%</2ekernel> +%<*2ekernel|latexrelease> +%<latexrelease>\IncludeInRelease{2022/06/01}{\obeylines}% +%<latexrelease> {Add a redirection to obeylines and obeyspaces}% +% \end{macrocode} +% If the active |^^M| escapes, e.g. into a \cs{write} (which is +% effectively in a different context) we don't want the definition +% from \cs{obeylines} but rather a simple \cs{par} (in fact even +% the primitive one, not the \LaTeX{} version \cs{para\_end:} which +% is only defined later. +% +% \begin{macrocode} +\begingroup +\catcode`\^^M=\active % these lines must end with % + \gdef\obeylines{\catcode`\^^M\active% + \let^^M\obeyedline% +% \end{macrocode} +% +% The next line ending the definition is rather curious and it took +% me awhile to understand why rollback fails. The problem is the +% following: if \texttt{latexrelease} is used, then blocks of +% \cs{IncludeInRelease} \dots\ \cs{EndIncludeInRelease} are +% bypassed at high speed by grabbing each as a delimited +% argument. However, in that case |^^M| is seen not as code but as +% line ending characters and in that mode \TeX{} discards +% everything from that point onwards to the real end of the line so +% it works like a comment --- pretty strange really (and I think +% due to the fact the the original pascal compiler could have some +% garbage showing up after the normal line ending character. Thus +% we really have to make sure that any closing braces is not one +% the same line as an |^^M|, because otherwise it would get dropped +% and we end with unbalanced braces and never see the +% \cs{EndIncludeInRelease} --- weird. In other places it doesn't +% matter because we aren't using the incomplete result. % \begin{macrocode} -{\catcode`\^^M=\active % these lines must end with % - \gdef\obeylines{\catcode`\^^M\active \let^^M\par}% - \global\let^^M\par} % this is in case ^^M appears in a \write -\def\obeyspaces{\catcode`\ \active} -{\obeyspaces\global\let =\space} + }% + \global\let^^M\par % this is in case ^^M appears in a \write +\endgroup +% \end{macrocode} +% +% \begin{macro}{\obeyedline} +% The \cs{obeyedline} expands by default to +% \cs{par} with whatever definition \cs{par} has when it is +% executed. It can, however, be +% redefined (before calling \cs{obeylines}!) to achieve some +% special effects. If you want to alter is definition when already +% in the scope of \cs{obeylines}, it has no effect (because +% \cs{let} is used above). +% In that case simply make another call to \cs{obeylines} +% immediately. As you are in a restricted scope all that happens is +% that your redefinition is applied. +% +% For the default definition we have to use \cs{def} not \cs{let} +% because the meaning of \cs{par} can change and we want to use the +% one that is current when \cs{obeylines} act. +% +% There is a small subtlety here: in an \cs{edef} the active |^^M| stayed +% put (because it was equal to to the primitive \cs{par}), now +% \cs{obeyedline} expands and you get what it contains, i.e., in that +% case \cs{par}, into the \cs{edef} or \cs{mark} unless we use +% \cs{protected} on it. +% \begin{macrocode} +\protected\gdef\obeyedline{\par} % \end{macrocode} % \end{macro} +% +% \begin{macro}{\obeyedspace} +% The definition of \cs{obeyspaces} is changed in the same way and +% now executes \cs{obeyedspace} for each active space. +% \begin{macrocode} +\global\let\obeyedspace\space +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +\begingroup +\catcode`\ =\active% +\gdef\obeyspaces{\catcode`\ \active\let =\obeyedspace}% +% \end{macrocode} +% An active space elsewhere generates \cs{space} by default +% (for example in a \cs{write}). +% \begin{macrocode} +\global\let =\space% +\endgroup +% \end{macrocode} +% +% \begin{macrocode} +%</2ekernel|latexrelease> +%<latexrelease>\EndIncludeInRelease +%<latexrelease>\IncludeInRelease{0000/00/00}{\obeylines}% +%<latexrelease> {Add a redirection to obeylines and obeyspaces}% +%<latexrelease> +% \end{macrocode} +% From 2019 onwards the commands are made robust (somewhat later in +% the kernel sources). So if we roll back they are robust, so when +% redefining them we have get rid of the robust payload +% first. Otherwise that is seen by the later rollback below, which +% then installs a fragile version of the new definition on top of +% the one we roll back to here, sigh. \cs{kernel@make@fragile} also +% changes its definition (later own) so this is done directly. +% \begin{macrocode} +%<latexrelease>\expandafter\let\csname obeylines \endcsname\@undefined +%<latexrelease>\expandafter\let\csname obeyspace \endcsname\@undefined +%<latexrelease> +%<latexrelease>\begingroup +%<latexrelease>\catcode`\^^M=\active % these lines must end with % +%<latexrelease> \gdef\obeylines{\catcode`\^^M\active \let^^M\par % +% \end{macrocode} +% Closing brace on a separate line (see comment above). +% \begin{macrocode} +%<latexrelease> }% +% \end{macrocode} +% Another pitfall: if we do a rollback \cs{par} is no longer the +% primitive, so the roll back definition needs \cs{let} to what is +% new the primitive. +% \begin{macrocode} +%<latexrelease> \global\let^^M\RawParEnd % this is in case ^^M appears in a \write +%<latexrelease>\endgroup +%<latexrelease>\def\obeyspaces{\catcode`\ \active} +%<latexrelease> +%<latexrelease>\let\obeyedline\@undefined +%<latexrelease>\let\obeyedspace\@undefined +%<latexrelease>\EndIncludeInRelease +%<*2ekernel> +% \end{macrocode} % \end{macro} % % \begin{macro}{\loop} diff --git a/Master/texmf-dist/source/latex-dev/base/ltvers.dtx b/Master/texmf-dist/source/latex-dev/base/ltvers.dtx index 451b9f51a15..0bf753f210b 100644 --- a/Master/texmf-dist/source/latex-dev/base/ltvers.dtx +++ b/Master/texmf-dist/source/latex-dev/base/ltvers.dtx @@ -115,7 +115,7 @@ {2022-06-01} %</2ekernel|latexrelease> %<*2ekernel> -\def\patch@level{-1} +\def\patch@level{-2} % \end{macrocode} % % \begin{macro}{\development@branch@name} diff --git a/Master/texmf-dist/tex/latex-dev/base/doc.sty b/Master/texmf-dist/tex/latex-dev/base/doc.sty index 752263a72f1..d10d036f3f1 100644 --- a/Master/texmf-dist/tex/latex-dev/base/doc.sty +++ b/Master/texmf-dist/tex/latex-dev/base/doc.sty @@ -53,7 +53,7 @@ \DeclareCurrentRelease{v3}{2022-06-01} \ProvidesPackage{doc} - [2022/06/01 v3.0g + [2022/06/01 v3.0h Standard LaTeX documentation package V3 (FMi)] %% %% Package `doc' to use with LaTeX 2e @@ -89,7 +89,7 @@ hyperref / true .code:n = { \legacy_if_set_true:n { doc@hyperref } }, hyperref / false .code:n = { \legacy_if_set_false:n { doc@hyperref } }, hyperref .default:n = { true }, - hyperref .choice:, + nohyperref .choice:, nohyperref / true .code:n = { \legacy_if_set_false:n { doc@hyperref } }, nohyperref / false .code:n = { \legacy_if_set_true:n { doc@hyperref } }, nohyperref .default:n = { true }, @@ -100,7 +100,7 @@ nomulticol .choice:, nomulticol / true .code:n = { \legacy_if_set_false:n { doc@multicol } }, nomulticol / false .code:n = { \legacy_if_set_true:n { doc@multicol } }, - multicol .default:n = { true }, + nomulticol .default:n = { true }, debugshow .choice:, debugshow / true .code:n = { \legacy_if_set_true:n { doc@debugshow } }, debugshow / false .code:n = { \legacy_if_set_false:n { doc@debugshow } }, diff --git a/Master/texmf-dist/tex/latex-dev/base/latex.ltx b/Master/texmf-dist/tex/latex-dev/base/latex.ltx index cd0d59f6576..b9cf2952fca 100644 --- a/Master/texmf-dist/tex/latex-dev/base/latex.ltx +++ b/Master/texmf-dist/tex/latex-dev/base/latex.ltx @@ -576,11 +576,20 @@ \def\null{\hbox{}} \let\bgroup={ \let\egroup=} -{\catcode`\^^M=\active % these lines must end with % - \gdef\obeylines{\catcode`\^^M\active \let^^M\par}% - \global\let^^M\par} % this is in case ^^M appears in a \write -\def\obeyspaces{\catcode`\ \active} -{\obeyspaces\global\let =\space} +\begingroup +\catcode`\^^M=\active % these lines must end with % + \gdef\obeylines{\catcode`\^^M\active% + \let^^M\obeyedline% + }% + \global\let^^M\par % this is in case ^^M appears in a \write +\endgroup +\protected\gdef\obeyedline{\par} +\global\let\obeyedspace\space +\begingroup +\catcode`\ =\active% +\gdef\obeyspaces{\catcode`\ \active\let =\obeyedspace}% +\global\let =\space% +\endgroup \long\def \loop #1\repeat{% \def\iterate{#1\relax % Extra \relax \expandafter\iterate\fi @@ -696,7 +705,7 @@ \def\fmtname{LaTeX2e} \edef\fmtversion {2022-06-01} -\def\patch@level{-1} +\def\patch@level{-2} \edef\development@branch@name{develop \the\year-\the\month-\the\day} \iffalse \def\reserved@a#1/#2/#3\@nil{% @@ -14344,6 +14353,23 @@ Type H <return> for immediate help.}% } %%% From File: ltkeys.dtx \ExplSyntaxOn +\group_begin: + \cs_set_protected:Npn \__keys_tmp:nn #1#2 + { + \quark_if_recursion_tail_stop:n {#1} + \cs_new_eq:cc + { \c__keys_props_root_str . #2 } + { \c__keys_props_root_str . #1 } + \__keys_tmp:nn + } + \__keys_tmp:nn + { code } { code } + { legacy_if_set:n } { if } + { tl_set:N } { store } + { usage:n } { usage } + { \q_recursion_tail } { } + \q_recursion_stop +\group_end: \cs_generate_variant:Nn \clist_put_right:Nn { Nv } \clist_new:N \l__keys_options_clist \bool_new:N \l__keys_options_loading_bool @@ -14370,7 +14396,7 @@ Type H <return> for immediate help.}% \bool_set_true:N \l__keys_options_loading_bool \keys_set:nV {#2} \l__keys_options_clist \bool_set_false:N \l__keys_options_loading_bool - \cs_set_eq:NN \@unprocessedoptions \scan_stop: + \AtEndOfPackage { \cs_set_eq:NN \@unprocessedoptions \scan_stop: } \__keys_option_end: \__keys_options_loaded:n {#2} } diff --git a/Master/texmf-dist/tex/latex-dev/base/latexrelease.sty b/Master/texmf-dist/tex/latex-dev/base/latexrelease.sty index b743e3a4351..596fc1062cd 100644 --- a/Master/texmf-dist/tex/latex-dev/base/latexrelease.sty +++ b/Master/texmf-dist/tex/latex-dev/base/latexrelease.sty @@ -848,6 +848,40 @@ of this package available from CTAN} \let\tracingstacklevels\@undefined \fi \EndIncludeInRelease +\IncludeInRelease{2022/06/01}{\obeylines}% + {Add a redirection to obeylines and obeyspaces}% +\begingroup +\catcode`\^^M=\active % these lines must end with % + \gdef\obeylines{\catcode`\^^M\active% + \let^^M\obeyedline% + }% + \global\let^^M\par % this is in case ^^M appears in a \write +\endgroup +\protected\gdef\obeyedline{\par} +\global\let\obeyedspace\space +\begingroup +\catcode`\ =\active% +\gdef\obeyspaces{\catcode`\ \active\let =\obeyedspace}% +\global\let =\space% +\endgroup +\EndIncludeInRelease +\IncludeInRelease{0000/00/00}{\obeylines}% + {Add a redirection to obeylines and obeyspaces}% + +\expandafter\let\csname obeylines \endcsname\@undefined +\expandafter\let\csname obeyspace \endcsname\@undefined + +\begingroup +\catcode`\^^M=\active % these lines must end with % + \gdef\obeylines{\catcode`\^^M\active \let^^M\par % + }% + \global\let^^M\RawParEnd % this is in case ^^M appears in a \write +\endgroup +\def\obeyspaces{\catcode`\ \active} + +\let\obeyedline\@undefined +\let\obeyedspace\@undefined +\EndIncludeInRelease \IncludeInRelease{2021/06/01}{\loggingall} {\tracingstacklevels and \tracinglostchars=3}% \edef\loggingall{% diff --git a/Master/texmf-dist/tex/latex-dev/base/shortvrb.sty b/Master/texmf-dist/tex/latex-dev/base/shortvrb.sty index e6b651020aa..986b0fd6fc0 100644 --- a/Master/texmf-dist/tex/latex-dev/base/shortvrb.sty +++ b/Master/texmf-dist/tex/latex-dev/base/shortvrb.sty @@ -43,7 +43,7 @@ %% extension .ins) which are part of the distribution. \NeedsTeXFormat{LaTeX2e}[1994/12/01] \ProvidesPackage{shortvrb} - [2022/06/01 v3.0g + [2022/06/01 v3.0h Standard LaTeX documentation package V3 (FMi)] %% %% Package `doc' to use with LaTeX 2e |