diff options
author | Karl Berry <karl@freefriends.org> | 2023-07-07 20:41:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-07-07 20:41:06 +0000 |
commit | af43b3481b2677a59255b29915abde95a8875b9f (patch) | |
tree | 12b2d691160c42e617d0a7cf179da3b64475d6b4 | |
parent | 03032c65653ae50066d80c346dbb0af0e7a93e82 (diff) |
koma-script (7jul23)
git-svn-id: svn://tug.org/texlive/trunk@67572 c570f23f-e606-0410-a88d-b1316a301751
130 files changed, 1327 insertions, 949 deletions
diff --git a/Master/texmf-dist/doc/latex/koma-script/README.md b/Master/texmf-dist/doc/latex/koma-script/README.md index d4c05adc892..fd359a2572b 100644 --- a/Master/texmf-dist/doc/latex/koma-script/README.md +++ b/Master/texmf-dist/doc/latex/koma-script/README.md @@ -1,4 +1,4 @@ -# KOMA-Script 2023/04/24 v3.40 +# KOMA-Script 2023/07/07 v3.41 Copyright [Markus Kohm](mailto:komascript@gmx.info) 1994–2023 This material is subject to the LaTeX Project Public License Version 1.3c. See [`lppl.txt`](lppl.txt) (English) or [`lppl-de.txt`](lppl-de.txt) (German) for the details of that license. @@ -68,7 +68,7 @@ Requires: scrkbase - internal KOMA-Script package Recommended: scrlayer-scrpage - KOMA-Script package License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -85,7 +85,7 @@ Abstract: scrreport is a very simple wrapper class to scrartcl. It has Requires: scrartcl.cls - KOMA-Script class License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -126,7 +126,7 @@ Requires: keyval - key=value package from the graphics bundle manipulation License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -148,7 +148,7 @@ Requires: scrkbase - internal KOMA-Script package typearea - KOMA-Script package License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -169,7 +169,7 @@ Requires: scrkbase - KOMA-Script package for some basic features. manipulation License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -200,7 +200,7 @@ Requires: scrkbase - internal package with some basics of KOMA-Script etoolbox - tool-box for LaTeX programming using e-TeX License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -214,7 +214,7 @@ Abstract: scrfontsizes is a LaTeX package of the KOMA-Script bundle. Requires: scrextend - some KOMA-Script features for other classes License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -234,7 +234,7 @@ Requires: scrkbase - internal KOMA-Script package with basics xpatch - extending etoolbox patching commands License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -252,7 +252,7 @@ Requires: scrkbase - internal KOMA-Script package with basics tocbasic - features for helper files and float environments License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -269,7 +269,7 @@ Requires: scrbase - KOMA-Script package for some basic features. manipulation License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -314,7 +314,7 @@ Abstract: scrlayer-scrpage is a LaTeX package of the KOMA-Script Requires: scrlayer.sty License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -341,7 +341,7 @@ Abstract: scrlayer is a LaTeX package of the KOMA-Script bundle. Requires: scrkbase.sty License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -356,7 +356,7 @@ Requires: scrartcl.cls – KOMA-Script class scrletter.sty – KOMA-Script package License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -373,11 +373,11 @@ Requires: scrkbase - internal KOMA-Script package Recommended: marvosym - package by Martin Vogel providing symbols License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** -###scrlfile-hook-3.34 - internal subpackage of scrlfile +### `scrlfile-hook-3.34` — internal subpackage of scrlfile <pre> Maintainer: Markus Kohm E-Mail: komascript@gmx.info @@ -387,7 +387,7 @@ Abstract: scrlfile-hook-3.34 is an internal subpackage of scrlfile to Requires: scrlogo.sty License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -400,7 +400,7 @@ Abstract: scrlfile-hook is an internal subpackage of scrlfile to be Requires: scrlogo.sty License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -413,7 +413,7 @@ Abstract: scrlfile-patcholdlatex is an internal subpackage of scrlfile Requires: scrlogo.sty License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -433,7 +433,7 @@ Abstract: scrlfile is a LaTeX package of the KOMA-Script bundle. It Requires: scrlfile-hook.sty, scrlfile-patcholdlatex.sty, scrlogo.sty License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -447,7 +447,7 @@ Abstract: scrlogo is a LaTeX package of the KOMA-Script bundle. It Requires: License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -482,7 +482,7 @@ Requires: scrkbase - internal KOMA-Script package Recommended: marvosym - package by Martin Vogel providing symbols License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -499,7 +499,7 @@ Abstract: scrreport is a very simple wrapper class to scrreprt. It has Requires: scrreprt.cls - KOMA-Script class License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -521,7 +521,7 @@ Requires: scrkbase - internal KOMA-Script package typearea - KOMA-Script package License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -535,7 +535,7 @@ Abstract: scrtime is a LaTeX package of the KOMA-Script bundle. It Requires: scrkbase - internal package with some basics of KOMA-Script License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -562,7 +562,7 @@ Abstract: tocbasic is a LaTeX package of the KOMA-Script bundle. The Requires: scrbase - KOMA-Script package for some basic features. License: LPPL 1.3c or later State: Author maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** @@ -585,7 +585,7 @@ Abstract: Many LaTeX classes, including the standard classes, present Requires: scrkbase - internal basic features for KOMA-Script packages License: LPPL 1.3c or later State: Autor maintained -Version: 2023/04/24 v3.40 +Version: 2023/07/07 v3.41 </pre> *** diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-de.pdf Binary files differindex 88b1b562667..c2d973a7007 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-en.pdf Binary files differindex c6e38544fe2..87cdef7ed87 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-00-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-de.pdf Binary files differindex 0d1331814cb..e5ec6edd20d 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-en.pdf Binary files differindex 3b61a9bfe84..361de55235c 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-01-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-de.pdf Binary files differindex d6a18ca3427..98f260a1cb0 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-en.pdf Binary files differindex 94f25768c4c..7accd7ab6a0 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-02-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-de.pdf Binary files differindex fac8cf3af26..5db63e674c5 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-en.pdf Binary files differindex f332391e628..eb066c03d68 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-03-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-de.pdf Binary files differindex 08921f8a13a..e6c05f6be37 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-en.pdf Binary files differindex 27325ac5dcf..f1a8f164250 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-04-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-de.pdf Binary files differindex 5345b63a61f..d2f3a717543 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-en.pdf Binary files differindex 37d4e98a575..1a12133008d 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-05-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-de.pdf Binary files differindex 881cf067f77..fa3155fe9ea 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-en.pdf Binary files differindex a3c05460886..5e37dbeda04 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-06-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-de.pdf Binary files differindex 74158977360..7db808574ad 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-en.pdf Binary files differindex 6724f248b9b..b29a8acdb03 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-07-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-de.pdf Binary files differindex 47b926ea7c6..885558256b6 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-en.pdf Binary files differindex afb0b752aab..983861242fd 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-08-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-de.pdf Binary files differindex 06a2758bb3c..5bf6c3d38f8 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-en.pdf Binary files differindex fdc0534cf70..13354547b2f 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-09-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-de.pdf Binary files differindex 5643a044212..651a68e8570 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-en.pdf Binary files differindex ed972856a82..448b02e3a54 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-10-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-de.pdf Binary files differindex 503f9e70053..7d84f64d048 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-en.pdf Binary files differindex 1b0452406b1..163ac5e9f4e 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-11-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-de.pdf Binary files differindex b6efd75f325..3761a12d4e1 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-en.pdf Binary files differindex 3e7854f27df..f761f88764b 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-12-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-de.pdf Binary files differindex dd3e44a94c1..6980d432106 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-en.pdf Binary files differindex bbcef173434..f1249dd0e95 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-13-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-de.pdf Binary files differindex faae3c8c590..92532de29a9 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-en.pdf Binary files differindex 215b0336f0a..41f0d98ca01 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-14-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-de.pdf Binary files differindex 66f7bb08f50..83e7e295f62 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-en.pdf Binary files differindex 64413646ef3..c4b6e7ebea1 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-15-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-de.pdf Binary files differindex 76365f74456..ca02b64c978 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-en.pdf Binary files differindex 486b17b603c..87f6d28f479 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-16-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-de.pdf Binary files differindex 0f571d2d46c..6a81c2f4b3b 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-en.pdf Binary files differindex fd8cb4f0612..776194b0f05 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-17-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-de.pdf Binary files differindex 0b8fbb2159c..c00aadfba7e 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-en.pdf Binary files differindex 3c6d326fdfe..3c7cc05e35a 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-18-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-de.pdf Binary files differindex 40a27e9eaca..6c897cebbe0 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-en.pdf Binary files differindex 8effd9c436d..fc7f0071627 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-19-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-de.pdf Binary files differindex be00931b935..b02e3989c19 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-en.pdf Binary files differindex 110d513bfdc..490d5061427 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-20-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-de.pdf Binary files differindex 4a503189903..871fc4ec897 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-en.pdf Binary files differindex ea7b248e544..a0f19e31b13 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-21-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-de.pdf Binary files differindex f47b606f333..74b377140bf 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-en.pdf Binary files differindex 30f4d55d5fb..24fdd5545ac 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-22-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-de.pdf Binary files differindex 89c53da25c3..e1713201496 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-en.pdf Binary files differindex 336ee89b067..5a178001b99 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/letter-example-23-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-de.pdf Binary files differindex 37237fef5cb..57d2efce69f 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-en.pdf Binary files differindex 341f44e9d87..6fc41cf6505 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/scrjura-example-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-de.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-de.pdf Binary files differindex a800e99fdaf..5c8d7a10d8a 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-en.pdf b/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-en.pdf Binary files differindex 3039687b56f..540cc822300 100644 --- a/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/examples/scrlayer-notecolumn-example-en.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/scrguide-de.pdf b/Master/texmf-dist/doc/latex/koma-script/scrguide-de.pdf Binary files differindex 7ecb7978c82..99d9c00607f 100644 --- a/Master/texmf-dist/doc/latex/koma-script/scrguide-de.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/scrguide-de.pdf diff --git a/Master/texmf-dist/doc/latex/koma-script/scrguide-en.pdf b/Master/texmf-dist/doc/latex/koma-script/scrguide-en.pdf Binary files differindex 3bcd49b7ab2..dd99f78b828 100644 --- a/Master/texmf-dist/doc/latex/koma-script/scrguide-en.pdf +++ b/Master/texmf-dist/doc/latex/koma-script/scrguide-en.pdf diff --git a/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-de.tex b/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-de.tex index 70ad59f8a35..65e594df52c 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-de.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-de.tex @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{common-pagestylemanipulation-de.tex} - [$Date: 2022-06-05 12:40:11 +0200 (So, 05. Jun 2022) $ + [$Date: 2023-06-16 10:32:27 +0200 (Fr, 16. Jun 2023) $ KOMA-Script guide (common paragraph: Setting up defined page styles)] @@ -442,6 +442,18 @@ automatische Kolumnentitel mit Hilfe von \Macro{MakeUppercase} in Großbuchstaben gewandelt werden (Versalsatz).% }\\[-1.7ex] + \pventry{title}{\IndexOption[indexmain]{markcase~=title}% + \IfThisCommonLabelBase{scrlayer}{% + \ChangedAt{v3.41}{\Package{scrlayer}}}{% + \IfThisCommonLabelBase{scrlayer-scrpage}{% + \ChangedAt{v3.41}{\Package{scrlayer-scrpage}}}}{}% + definiert \DescRef{\LabelBase.cmd.MakeMarkcase} so um, dass + automatische Kolumnentitel mit Hilfe von \Macro{MakeTitlecase} + gewandelt werden (\emph{Englischer Titelsatz}). Dabei werden Nummer + und Titel getrennt behandelt. Ist \Macro{MakeTitlecase} wegen eines + zu alten \LaTeX{} Kerns nicht definiert, wird eine Warnung + ausgegeben und die Option ignoriert.% + }\\[-1.7ex] \pventry{used}{\IndexOption[indexmain]{markcase~=used}% definiert \DescRef{\LabelBase.cmd.MakeMarkcase} so um, dass für automatische Kolumnentitel keine automatische Veränderung der diff --git a/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-en.tex b/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-en.tex index c66ecb341b9..f1c8c71a487 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-en.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/common-pagestylemanipulation-en.tex @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{common-pagestylemanipulation-en.tex} - [$Date: 2022-06-05 12:40:11 +0200 (So, 05. Jun 2022) $ + [$Date: 2023-06-16 10:32:27 +0200 (Fr, 16. Jun 2023) $ KOMA-Script guide (common paragraph: Setting up defined page styles)] \translator{Markus Kohm\and Jana Schubert\and Karl Hagen} @@ -410,17 +410,29 @@ \pventry{lower}{\IndexOption[indexmain]{markcase~=lower}% redefines \DescRef{\LabelBase.cmd.MakeMarkcase} to convert the automatic running heads into lower-case letters using - \Macro{MakeLowercase} (lower case typesetting).% - }% + \Macro{MakeLowercase}.% + }\\[-1.7ex] \pventry{upper}{\IndexOption[indexmain]{markcase~=upper}% redefines \DescRef{\LabelBase.cmd.MakeMarkcase} to convert the automatic running heads into upper-case letters using - \Macro{MakeUppercase} (upper case typesetting).% - }% + \Macro{MakeUppercase}.% + }\\[-1.7ex] + \pventry{title}{\IndexOption[indexmain]{markcase~=title}% + \IfThisCommonLabelBase{scrlayer}{% + \ChangedAt{v3.41}{\Package{scrlayer}}}{% + \IfThisCommonLabelBase{scrlayer-scrpage}{% + \ChangedAt{v3.41}{\Package{scrlayer-scrpage}}}}{}% + redefines \DescRef{\LabelBase.cmd.MakeMarkcase} to convert the + automatic running heads into title-case using + \Macro{MakeTitlecase}. This is done separately for the number + and the text. If \Macro{MakeTitlecase} is not defined, i.\,e., + because you are using an old \LaTeX{} kernel, you will get a warning + message and the option will be ignored.% + }\\[-1.7ex] \pventry{used}{\IndexOption[indexmain]{markcase~=used}% redefines \DescRef{\LabelBase.cmd.MakeMarkcase} to use automatic running heads without any case changes.% - }% + }\\[-1.7ex] \entry{\PValue{ignoreuppercase}, \PValue{nouppercase}, \PValue{ignoreupper}, \PValue{noupper}}{\IndexOption[indexmain]{markcase~=noupper}% diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-de.tex b/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-de.tex index 276d201a380..c60aacda955 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-de.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-de.tex @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{scrbookreportarticle-de.tex} - [$Date: 2023-04-20 10:04:17 +0200 (Do, 20. Apr 2023) $ + [$Date: 2023-05-10 17:45:46 +0200 (Mi, 10. Mai 2023) $ KOMA-Script guide (chapter: scrbook, scrreprt, scrartcl)] \chapter{Die Hauptklassen \Class{scrbook}, \Class{scrreprt}, \Class{scrartcl}} @@ -3253,6 +3253,39 @@ wenn Sie ein Paket verwenden, das in die Generierung von Tabellen- und Abbildungstiteln eingreift und deren Aussehen verändert. Dies sollte selbstverständlich sein, wird aber leider häufig nicht bedacht. +\begin{Declaration} + \begin{Environment}{figure} + \end{Environment} + \begin{Environment}{figure*} + \end{Environment} + \begin{Environment}{figure-} + \end{Environment} + \begin{Environment}{table} + \end{Environment} + \begin{Environment}{table*} + \end{Environment} + \begin{Environment}{table-} + \end{Environment} +\end{Declaration} +Die \KOMAScript-Klassen \Class{scrbook}, \Class{scrreprt} und \Class{scrartcl} +verwenden die in \autoref{sec:tocbasic.declarenewtoc}, +\DescPageRef{tocbasic.cmd.DeclareNewTOC} dokumentierte Anweisung +\DescRef{tocbasic.cmd.DeclareNewTOC} zu Definition der von den Standardklassen +gewohnten Umgebungen \Environment{figure} und +\Environment{table}. Selbstverständlich werden dabei auch die für den +zweispaltigen Modus vorgesehenen Umgebungen \Environment{figure*} und +\Environment{table*} definiert, die für spaltenübergreifende Abbildungen und +Tabellen am Seitenanfang gedacht sind. Da bei der Definition neben der +Einstellung \Option{float} auch +\Option{nonfloat}\ChangedAt{v3.36}{\Class{scrartcl}\and \Class{scrbook}\and + \Class{scrreprt}} verwendet wird, werden außerdem auch die nicht gleitenden +Umgebungen \Environment{figure-} und \Environment{table-} definiert. Diese +können wie die anderen Umgebungen verwendet werden und spannen letztlich eine +\Environment{minipage} mit passendem Abstand davor und danach +auf. Bei\textnote{Achtung!} gemischter Verwendung von gleitenden und nicht +gleitenden Umgebungen ist der Anwender selbst für die korrekte Reihenfolge bei +der Ausgabe und damit bei der Nummerierung verantwortlich.% +\EndIndexGroup \begin{Declaration} \OptionVName{captions}{Einstellung} @@ -3748,13 +3781,18 @@ jedoch eventuell durch das Laden von Paketen wie \end{Example}% In gleicher Weise, wie in obigem Beispiel eine Tabelle innerhalb einer Abbildungsumgebung gesetzt und mit einem Titel versehen wird, könnte man auch -eine nicht gleitende Tabelle außerhalb jeder Gleitumgebung setzen. Auch dabei -sollte in der Regel eine \Environment{minipage} verwendet werden, um zu -verhindern, dass zwischen Überschrift und Tabelle ein Seitenumbruch erfolgen -kann. Zusätzlich sollte man die \Environment{minipage} dann noch in eine -\Environment{flushleft}-Umgebung einbetten, um einerseits einen gefälligen -Abstand zum Text davor und dahinter zu erreichen und andererseits den -Absatzeinzug vor der \Environment{minipage} zu verhindern.% +eine nicht gleitende Tabelle außerhalb jeder Gleitumgebung +setzen. Dabei\ChangedAt{v3.41}{\Class{scrbook}\and \Class{scrreprt}\and + \Class{scrartcl}} versucht \KOMAScript{} auch einen Seitenumbruch zwischen +der Überschrift und der Tabelle zu verhindern. Das kann allerdings nicht in +allen Fällen sichergestellt werden. Daher sollte in der Regel eine +\Environment{minipage} verwendet werden, um zu verhindern, dass zwischen +Überschrift und Tabelle ein Seitenumbruch erfolgen kann. Zusätzlich sollte man +die \Environment{minipage} dann noch in eine \Environment{flushleft}-Umgebung +einbetten, um einerseits einen gefälligen Abstand zum Text davor und dahinter +zu erreichen und andererseits den Absatzeinzug vor der \Environment{minipage} +zu verhindern. Einfacher ist natürlich direkt die Umgebung +\DescRef{\LabelBase.env.table-}\IndexEnv{table-} zu verwenden.% \EndIndexGroup diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-en.tex b/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-en.tex index 5bff239c300..b5959997639 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-en.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/scrbookreportarticle-en.tex @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{scrbookreportarticle-en.tex} - [$Date: 2023-04-20 10:04:17 +0200 (Do, 20. Apr 2023) $ + [$Date: 2023-05-10 17:45:46 +0200 (Mi, 10. Mai 2023) $ KOMA-Script guide (chapter: scrbook, scrreprt, scrartcl)] \translator{Jens-Uwe Morawski\and Gernot Hassenpflug\and Markus Kohm\and @@ -2972,6 +2972,37 @@ standard classes, no longer work correctly when used with packages that modify the appearance of figure and table captions. This should be self-evident, but it is often overlooked. +\begin{Declaration} + \begin{Environment}{figure} + \end{Environment} + \begin{Environment}{figure*} + \end{Environment} + \begin{Environment}{figure-} + \end{Environment} + \begin{Environment}{table} + \end{Environment} + \begin{Environment}{table*} + \end{Environment} + \begin{Environment}{table-} + \end{Environment} +\end{Declaration} +The KOMA-Script{} classes \Class{scrbook}, \Class{scrreprt}, +and \Class{scrartcl} use the \DescRef{tocbasic.cmd.DeclareNewTOC} statement +documented in \autoref{sec:tocbasic.declarenewtoc}, +\DescPageRef{tocbasic.cmd.DeclareNewTOC} to define the \Environment{figure} +and \Environment{table} environments familiar from the standard classes. Of +course, this also defines the \Environment{figure*} and \Environment{table*} +environments provided for the two-column mode, which are intended for +cross-column figures and tables at the top of the page. Since in addition to +the \Option{float} setting the definition also uses +\Option{nonfloat}\ChangedAt{v3.36}{\Class{scrartcl}\and \Class{scrbook}\and + \Class{scrreprt}}, the non-floating environments \Environment{figure-} and +\Environment{table-} are also defined. These can be used like the other +environments and ultimately span a \Environment{minipage} with appropriate +spacing before and after it. With\textnote{Attention!} mixed use of floating +and non-floating environments, the user himself is responsible for the correct +order in output and thus in numbering.% +\EndIndexGroup \begin{Declaration} \OptionVName{captions}{setting} @@ -3430,12 +3461,17 @@ option. But this feature may be lost if you load the \end{figure}% \end{Example}% You can produce a non-floating table with a caption in the same way as the -table inside a figure environment in the example above. In such a case, a -\Environment{minipage} environment should also be used to avoid page breaks -between the caption and the table. In addition, you should embed the -\Environment{minipage} environment in a \Environment{flushleft} environment -both to achieve a pleasing separation between the surrounding text and to -avoid the paragraph indentation of the \Environment{minipage} environment.% +table inside a figure environment in the example +above. Thereby\ChangedAt{v3.41}{\Class{scrbook}\and \Class{scrreprt}\and + \Class{scrartcl}} \KOMAScript{} also tries to prevent a page break between +the heading and the table. However, this cannot be ensured in all +cases. Therefore, a \Environment{minipage} environment should also be used to +avoid page breaks between the caption and the table. In addition, you should +embed the \Environment{minipage} environment in a \Environment{flushleft} +environment both to achieve a pleasing separation between the surrounding text +and to avoid the paragraph indentation of the \Environment{minipage} +environment. Of course, it is easier to use the environment +\DescRef{\LabelBase.env.table-}\IndexEnv{table-} directly.% \EndIndexGroup diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrguide.cls b/Master/texmf-dist/source/latex/koma-script/doc/scrguide.cls index d622ace1e49..7c0a63bdc17 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/scrguide.cls +++ b/Master/texmf-dist/source/latex/koma-script/doc/scrguide.cls @@ -178,7 +178,6 @@ % In future we should use biblatex instead of babelbib, but currently some % things are still missing: % \begin{itemize} -% \item prefix \texttt{CTAN://}, % \item line breaks after the author (but not full \texttt{openbib} style like % \texttt{block=nbpar}), % \item removing language tag \texttt{ngerman} from output. @@ -191,7 +190,18 @@ \newcommand*{\printbibliography}[1][]{\bibliography{scrguide}} \else \RequirePackage[backend=bibtex,style=alphabetic,block=ragged]{biblatex} - \DeclareFieldFormat{url}{\url{#1}} + \DeclareSourcemap{ + \maps[datatype=bibtex]{ + \map{ + \step[fieldsource=url, final=true] + \step[fieldset=verba, origfieldval, final=true] + \step[fieldsource=verba, match=\regexp{CTAN:\/\/}, replace={https://www.ctan.org/}] + } + } + } + \DeclareFieldFormat{url}{% + \href{\thefield{verba}}{\nolinkurl{#1}}% + } \fi \RequirePackage{afterpage} \RequirePackage{makeidx} diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-de.tex b/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-de.tex index 4b10d917288..e4683106c19 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-de.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-de.tex @@ -1,6 +1,6 @@ % ====================================================================== % scrlayer-de.tex -% Copyright (c) Markus Kohm, 2013-2022 +% Copyright (c) Markus Kohm, 2013-2023 % % This file is part of the LaTeX2e KOMA-Script bundle. % @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{scrlayer-de.tex}% - [$Date: 2022-06-05 12:40:11 +0200 (So, 05. Jun 2022) $ + [$Date: 2023-04-25 09:00:44 +0200 (Di, 25. Apr 2023) $ KOMA-Script guide (chapter:scrlayer)] \chapter[{Definition von Ebenen und Seitenstilen mit \Package{scrlayer}}] @@ -734,7 +734,7 @@ Laden von \Package{eso-pic}, definiert ist.% \iffalse% Umbruchkorrekturtext \par Es sei an dieser Stelle darauf hingewiesen, dass man bei Verwendung von Paket -\Package{picture}\IndexPackage{picture}\textnote{\Package{picture}} (siehe +\Package{picture}\IndexPackage{picture}\important{\Package{picture}} (siehe \cite{package:picture}) die Anweisung \Macro{LenToUnit} in der Regel nicht mehr benötigt. Das Paket erweitert die \Environment{picture}-Umgebung und deren Anweisung so, dass man für Koordinaten auch direkt \LaTeX-Längen diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-en.tex b/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-en.tex index 94e98463970..c43b1b31203 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-en.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/scrlayer-en.tex @@ -1,6 +1,6 @@ % ====================================================================== % scrlayer-en.tex -% Copyright (c) Markus Kohm, 2013-2022 +% Copyright (c) Markus Kohm, 2013-2023 % % This file is part of the LaTeX2e KOMA-Script bundle. % @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{scrlayer-en.tex} - [$Date: 2022-06-05 12:40:11 +0200 (So, 05. Jun 2022) $ + [$Date: 2023-04-25 09:00:44 +0200 (Di, 25. Apr 2023) $ KOMA-Script guide (chapter:scrlayer)] \translator{Markus Kohm\and Karl Hagen} @@ -636,7 +636,7 @@ already defined, e.\,g., by loading \Package{eso-pic} before \iffalse% Umbruchkorrekturtext \par It should be noted at this point that using package -\Package{picture}\IndexPackage{picture}\textnote{\Package{picture}} (see +\Package{picture}\IndexPackage{picture}\important{\Package{picture}} (see \cite{package:picture}) supersedes \Macro{LenToUnit} more or less. The package extends environment \Environment{picture} and the picture commands so that you can use \LaTeX{} lengths directly for coordinates.% diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-de.tex b/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-de.tex index 5ab46d48134..5e528f13d55 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-de.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-de.tex @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{scrlttr2-de.tex}% - [$Date: 2023-04-20 10:04:17 +0200 (Do, 20. Apr 2023) $ + [$Date: 2023-04-25 09:00:44 +0200 (Di, 25. Apr 2023) $ KOMA-Script guide (chapter: scrlttr2)] \chapter{Briefe mit Klasse \Class{scrlttr2} oder Paket \Package{scrletter}} @@ -4475,16 +4475,33 @@ Folgeseiten bei \Class{scrlttr2}\OnlyAt{\Class{scrlttr2}} im Seitenstil \IndexPagestyle{letter}\important{\DescRef{\LabelBase.pagestyle.letter}} frei. Dazu setzt man den gewünschten Aufbau als \PName{Inhalt} der Variablen\ChangedAt{v3.08}{\Class{scrlttr2}} \Variable{nexthead} -beziehungsweise \Variable{nextfoot}. Innerhalb des Inhalts von -\Variable{nexthead} und \Variable{nextfoot} können beispielsweise mit Hilfe -der \Macro{parbox}-Anweisung (siehe \cite{latex:usrguide}) mehrere Boxen +beziehungsweise \Variable{nextfoot}. + +Da die Seitenstile von \Class{scrlttr2}\important{\Class{scrlttr2}} nicht für +mehrzeilige Köpfe und Füße ausgelegt sind, geben sie die beider Variablen in +einer horizontalen Box aus. Damit sind zunächst weder Absätze noch +Zeilenumbrüche oder ähnliches möglich. Innerhalb des Inhalts von +\Variable{nexthead} und \Variable{nextfoot} können aber beispielsweise mit +Hilfe der \Macro{parbox}-Anweisung (siehe \cite{latex:usrguide}) mehrere Boxen neben- und untereinander gesetzt werden. Einem versierten Anwender sollte es -so möglich sein, eigene Seitenköpfe und "~füße zu gestalten. Natürlich kann +so möglich sein, eigene Seitenköpfe und "~füße zu gestalten. Natürlich kann und sollte im \PName{Inhalt} mit Hilfe von \DescRef{\LabelBase.cmd.usekomavar} -auch auf weitere Variablen zugegriffen werden. Die \PName{Bezeichnung} wird -von \KOMAScript{} bei beiden Variablen nicht genutzt.% -\EndIndexGroup \EndIndexGroup -% +auch auf weitere Variablen zugegriffen werden. + +Als Alternative für mehrzeilige Köpf und Füße bietet sich die Verwendung des +in \autoref{cha:scrlayer-scrpage} beschriebenen Pakets +\Package{scrlayer-scrpage}\IndexPackage{scrlayer-scrpage}% +\important{\Package{scrlayer-scrpage}} an. Das Paket +\Package{scrletter}\important{\Package{scrletter}} verwendet für die +Definition von Seitenstil \DescRef{\LabelBase.pagestyle.letter}% +\IndexPagestyle{letter}\important{\DescRef{\LabelBase.pagestyle.letter}} +ohnehin bereits \Package{scrlayer-scrpage} und ist daher von der genannten +Beschränkung nicht betroffen. + +Die \PName{Bezeichnung} wird von \KOMAScript{} bei beiden Variablen +nicht genutzt.% +\EndIndexGroup% +\EndIndexGroup% \EndIndexGroup diff --git a/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-en.tex b/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-en.tex index 8af84810a44..6d7953e5091 100644 --- a/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-en.tex +++ b/Master/texmf-dist/source/latex/koma-script/doc/scrlttr2-en.tex @@ -24,7 +24,7 @@ % ============================================================================ \KOMAProvidesFile{scrlttr2-en.tex}% - [$Date: 2023-04-20 10:04:17 +0200 (Do, 20. Apr 2023) $ + [$Date: 2023-04-25 09:00:44 +0200 (Di, 25. Apr 2023) $ KOMA-Script guide (chapter: scrlttr2)] \translator{Harald Bongartz\and Georg Grandke\and Raimund Kohl\and Jens-Uwe @@ -3909,27 +3909,45 @@ available. \Variable{nexthead}% \Variable{nextfoot}% \end{Declaration} -At times, however, you may want to the header or the footer of subsequent pages -to more closely resemble the letterhead page. In these cases, you must dispense -with the predefined options that can be selected with the -\DescRef{\LabelBase.option.pagenumber}\IndexOption{pagenumber} option described above. -Instead, you can customise the header and footer of subsequent pages using the +At times, however, you may want to the header or the footer of subsequent +pages to more closely resemble the letterhead page. In these cases, you must +dispense with the predefined options that can be selected with the +\DescRef{\LabelBase.option.pagenumber}\IndexOption{pagenumber} option +described above. Instead, you can customise the header and footer of +subsequent pages using the \DescRef{\LabelBase.pagestyle.headings}\IndexPagestyle{headings}% \important{\DescRef{\LabelBase.pagestyle.headings}, \DescRef{\LabelBase.pagestyle.myheadings}} or -\DescRef{\LabelBase.pagestyle.myheadings}\IndexPagestyle{myheadings} page styles with \Class{scrlttr2}\OnlyAt{\Class{scrlttr2}}, -and the \DescRef{\LabelBase.pagestyle.letter}% -\IndexPagestyle{letter}\important{\DescRef{\LabelBase.pagestyle.letter}} page style -with \Package{scrletter}\OnlyAt{\Package{scrletter}}. To do so, you create the -structure you want in the \PName{content} of +\DescRef{\LabelBase.pagestyle.myheadings}\IndexPagestyle{myheadings} page +styles with \Class{scrlttr2}\OnlyAt{\Class{scrlttr2}}, and the +\DescRef{\LabelBase.pagestyle.letter}% +\IndexPagestyle{letter}\important{\DescRef{\LabelBase.pagestyle.letter}} page +style with \Package{scrletter}\OnlyAt{\Package{scrletter}}. To do so, you +create the structure you want in the \PName{content} of the\ChangedAt{v3.08}{\Class{scrlttr2}} \Variable{nexthead} or -\Variable{nextfoot} variables. Within the \PName{content} of -\Variable{nexthead} and \Variable{nextfoot} you can, for example, use the \Macro{parbox} -command to place several boxes next to or beneath each other (see \cite{latex:usrguide}). More advanced users should -be able to create their own headers and footers. Of course, you can -and should also make use of additional variables using -\DescRef{\LabelBase.cmd.usekomavar}. \KOMAScript{} does not use the -\PName{description} for either variable. +\Variable{nextfoot} variables. + +Since the page styles of \Class{scrlttr2}\important{\Class{scrlttr2}} are not +designed for multi-line heads and feet the output of both variables is done in +a horizontal box. With this initially neither paragraphs nor line breaks or +similar are possible. But within the \PName{content} of \Variable{nexthead} +and \Variable{nextfoot} you can, for example, use the \Macro{parbox} command +to place several boxes next to or beneath each other (see +\cite{latex:usrguide}). More advanced users should be able to create their own +headers and footers. Of course, you can and should also make use of additional +variables using \DescRef{\LabelBase.cmd.usekomavar}. + +An alternative for multi-line headers and footers it to use the +\Package{scrlayer-scrpage}\IndexPackage{scrlayer-scrpage}% +\important{\Package{scrlayer-scrpage}} package described in +\autoref{cha:scrlayer-scrpage}. The +\Package{scrletter}\important{\Package{scrletter}} package uses for definition +of page style \DescRef{\LabelBase.pagestyle.letter}% +\IndexPagestyle{letter}\important{\DescRef{\LabelBase.pagestyle.letter}} +already \Package{scrlayer-scrpage} anyway and is therefore not affected by the +above restriction. + +\KOMAScript{} does not use the \PName{description} for either variable.% % %Only\textnote{Attention!} for compatibility reason the deprecated commands %\Macro{nexthead}\IndexCmd[indexmain]{nexthead} and @@ -3937,9 +3955,8 @@ and should also make use of additional variables using %releases before 3.08 are also implemented. Nevertheless, you should not use %those.% % -\EndIndexGroup -\EndIndexGroup -% +\EndIndexGroup% +\EndIndexGroup% \EndIndexGroup @@ -4540,3 +4557,4 @@ its documentation.% %%% ispell-local-dictionary: "en_GB" %%% eval: (flyspell-mode 1) %%% End: + diff --git a/Master/texmf-dist/source/latex/koma-script/scrhack.dtx b/Master/texmf-dist/source/latex/koma-script/scrhack.dtx index a8cb84e062c..a08943ed50b 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrhack.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrhack.dtx @@ -21,7 +21,7 @@ % To create `scrhack.sty' run `tex scrhack.dtx'. Using LaTeX instead % of TeX would generate the implementation documentation. % ====================================================================== -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ %<package&identify>%%% using: package,identify %<package&option>%%% using: package,option %<package&body>%%% using: package,body @@ -30,9 +30,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-06-28 10:28:26 +0200 (Mi, 28. Jun 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4063 $ \endgroup \ProvidesFile{scrhack.dtx}[\filedate\space\filerevision\space %</dtx> @@ -766,14 +766,19 @@ % % % \begin{macro}{\scr@do@hack@listings} +% \changes{v3.41}{2023/06/28}{patching \cs{lst@MakeCaption} to use +% \cs{ext@lstlisting}} % \begin{command}{\lstlistoflistings} % \cs{scr@do@hack@listings} patches \pkg{listings} to use \pkg*{tocbasic} for % the whole output of the list of listings. This adds several new features to % \pkg{listings}. -% \begin{macro}{\float@addtolists} -% The deprecated macro \cs{float@addtolists} is not needed any longer an will -% be reset to the original definition. But, because \pkg{listings} delays the -% redefinition with \cs{AtBeginDocument} we have to do the same here. +% \begin{macro}{\ext@lstlisting,\lst@MakeCaption,\float@addtolists} +% Macro \cs{ext@lstlisting} is defined, to make \cs{captionof} work with +% argument \texttt{lstlisting}. Additionally \cs{lst@MakeCaption} is patched +% to use the new macro. The deprecated macro \cs{float@addtolists} is not +% needed any longer an will be reset to the original definition. But, because +% \pkg{listings} delays the redefinition with \cs{AtBeginDocument} we have to +% do the same here. % \begin{macrocode} %<*listings&body> \newcommand*{\scr@do@hack@listings}{% @@ -782,6 +787,20 @@ \setuptoc{lol}{chapteratlist}% \PackageInfo{scrhack}{redefining \string\lstlistoflistings}% \renewcommand*{\lstlistoflistings}{\listoftoc[{\lstlistlistingname}]{lol}}% + \providecommand*{\ext@lstlisting}{lol}% + \@tempswafalse + \xpatchcmd\lst@MakeCaption + {\addcontentsline{lol}}% + {\addcontentsline{\ext@lstlisting}}% + {\PackageInfo{scrhack}{patching \string\lst@MakeCaption}\@tempswatrue}% + {\PackageWarning{scrhack}{cannot patch \string\lst@MakeCaption}}% + \@whilesw\if@tempswa\fi{% + \xpatchcmd\lst@MakeCaption + {\addcontentsline{lol}}% + {\addcontentsline{\ext@lstlisting}}% + {}% + {\@tempswafalse}% + }% \AtBeginDocument{% \scr@ifexpected{\float@addtolists}{% \def\float@addtolists##1{\addtocontents{lol}{##1}}% diff --git a/Master/texmf-dist/source/latex/koma-script/scrjura.dtx b/Master/texmf-dist/source/latex/koma-script/scrjura.dtx index a7c05c54273..ee0f36a24ce 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrjura.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrjura.dtx @@ -18,7 +18,7 @@ % % The KOMA-Script bundle consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrjura.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrjura.dtx 4062 2023-06-24 15:55:11Z kohm $ %<identify>%%% (run: identify) %<init>%%% (run: init) %<options>%%% (run: options) @@ -28,9 +28,9 @@ %<*dtx> \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-06-24 17:55:11 +0200 (Sa, 24. Jun 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4062 $ \endgroup \expandafter\ifx\csname ProvidesFile\endcsname\relax \def\ProvidesFile#1[#2]{} @@ -945,13 +945,17 @@ % \end{fontelement} % \begin{counter}{@AbsClause} % \begin{macro}{\theH@AbsClause} +% \changes{v3.41}{2023/06/24}{Ulrike Fischer requested to use \cs{def} instead +% of \cs{newcommand*}} % \begin{command}{\theHClause,\theHSubClause} +% \changes{v3.41}{2023/06/24}{Ulrike Fischer requested to use \cs{def} instead +% of \cs{newcommand*}} % \begin{macrocode} % Here we have some not good tested code for \pkg{hyperref}. \newcounter{@AbsClause} -\newcommand*{\theH@AbsClause}{P-\arabic{@AbsClause}} -\newcommand*{\theHClause}{\theH@AbsClause} -\newcommand*{\theHSubClause}{\theH@AbsClause} +\def\theH@AbsClause{P-\arabic{@AbsClause}} +\def\theHClause{\theH@AbsClause} +\def\theHSubClause{\theH@AbsClause} % \end{macrocode} % \end{command} % \end{macro} @@ -1004,11 +1008,13 @@ % \end{macrocode} % \changes{v0.9f}{2016/02/24}{\cs{protect}\cs{\@nameuse} instead of % \cs{csname}\dots\cs{endcsname}} +% \changes{v3.41}{2023/06/24}{update of \cs{@currentcounter} added} % \begin{macrocode} \protected@edef\theClause{% \protect\@nameuse{\scrjura@env@type @Clauseformat}{\contract@number}% }% \protected@edef\@currentlabel{\theClause}% + \def\@currentcounter{Clause}% \fi \stepcounter{@AbsClause}% \begingroup\expandafter\expandafter\expandafter\endgroup @@ -1059,12 +1065,13 @@ % \end{macro} % % \begin{macro}{\contract@subparagraph} -% \changes{v0.6a}{2012/10/08}{fehlendes \cs{par} ergänzt}%^^A +% \changes{v0.6a}{2012/10/08}{fehlendes \cs{par} ergänzt} % \changes{v0.7}{2013/04/18}{Zähler \texttt{contractAbsoluteClause} wird -% erhöht}%^^A +% erhöht} % \changes{v0.7}{2013/04/28}{Abstand nach der Nummer als Bestandteil der -% Nummer setzen}%^^A -% \changes{v0.9i}{2017/02/23}{Verwendung von \cs{ext@toc}}%^^A +% Nummer setzen} +% \changes{v0.9i}{2017/02/23}{Verwendung von \cs{ext@toc}} +% \changes{v3.41}{2023/06/24}{update of \cs{@currentcounter} added} % Das entspricht bis auf wenige Kleinigkeiten, die Unterparagraphen betreffen, % |\contract@paragraph| % \begin{macrocode} @@ -1094,6 +1101,7 @@ \endgroup \protected@edef\theSubClause{\theClause\contract@number}% \protected@edef\@currentlabel{\theSubClause}% + \def\@currentcounter{SubClause}% \fi \stepcounter{@AbsClause}% \begingroup\expandafter\expandafter\expandafter\endgroup @@ -1340,6 +1348,8 @@ % option} % \begin{counter}{par} % \begin{command}{\thepar,\theHpar} +% \changes{v3.41}{2023/06/24}{Ulrike Fischer requested to use \cs{def} instead +% of \cs{newcommand*}} % \begin{command}{\parformat} % \changes{v0.7}{2013/06/07}{new font element \fnt{parnumber}} % \begin{command}{\parformatseparation} @@ -1358,7 +1368,7 @@ %<*body> \newcounter{par} \renewcommand*{\thepar}{\arabic{par}} -\newcommand*{\theHpar}{\theH@AbsClause-\Roman{par}} +\def\theHpar{\theH@AbsClause-\Roman{par}} \newcommand*{\parformat}{(\thepar)} \newcommand*{\parformatseparation}{\nobreakspace} \newkomafont{parnumber}{} @@ -1810,6 +1820,8 @@ % Numbering of sentences. % \begin{counter}{sentence} % \begin{command}{\thesentence,\theHsentence} +% \changes{v3.41}{2023/06/24}{Ulrike Fischer requested to use \cs{def} instead +% of \cs{newcommand*}} % \begin{macro}{\p@sentence} % \changes{v3.27}{2019/10/09}{adaption for \LaTeX{} 2019-10-01} % The counter is used for numbering the sentences. It is important to add the @@ -1825,7 +1837,7 @@ %<*body> \newcounter{sentence}[par] \renewcommand*{\thesentence}{\arabic{sentence}} -\newcommand*{\theHsentence}{\theHpar-\arabic{sentence}} +\def\theHsentence{\theHpar-\arabic{sentence}} \scr@ifundefinedorrelax{labelformat}{% \renewcommand*{\p@sentence}{\expandafter\p@@sentence} \newcommand*{\p@@sentence}[1]{\p@par{{\par@cite{\thepar}}% diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-basics.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-basics.dtx index 3b205f7ff19..63264a8d3f7 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-basics.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-basics.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %<prepare>%%% (run: prepare) %<option>%%% (run: option) %<body>%%% (run: body) @@ -28,9 +28,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\def\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-04-26 18:01:28 +0200 (Mi, 26. Apr 2023) $ \def\filerevision$#1: #2 ${\def\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4051 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-basics.dtx}% @@ -916,7 +916,13 @@ \@for\CurrentOption:=\@raw@classoptionslist\do{% \scr@trim@spaces\CurrentOption \ifx\CurrentOption\@empty\else - \@ifundefined{ds@\CurrentOption}{% +% \end{macrocode} +% \changes{v3.41}{2023/04/26}{only one step expansion while classic option +% test} +% Because we are using the raw option list, we do only a one step expansion of +% \cs{CurrentOption} here, because a full expansion could break. +% \begin{macrocode} + \@ifundefined{ds@\expandafter\detokenize\expandafter{\CurrentOption}}{% \scr@ifprocess@curroption{#1}{#2}{% \@expandtwoargs\@removeelement{% \expandafter\@remove@eq@value\CurrentOption=\@nil}% @@ -942,7 +948,13 @@ %<*dontusethis> \@for\CurrentOption:=\@curroptions\do{% \scr@trim@spaces\CurrentOption - \@ifundefined{ds@\CurrentOption}{% +% \end{macrocode} +% \changes{v3.41}{2023/04/26}{only one step expansion while classic option +% test} +% Because we are using the raw option list, we do only a one step expansion of +% \cs{CurrentOption} here, because a full expansion could break. +% \begin{macrocode} + \@ifundefined{ds@\expandafter\detokenize\expandafter{\CurrentOption}}{% \@use@ption \scr@ifprocess@curroption{#1}{#2}{}\default@ds }\@use@ption @@ -982,7 +994,13 @@ \else \let\CurrentOption\reserved@a \fi - \@ifundefined{ds@\CurrentOption}{% +% \end{macrocode} +% \changes{v3.41}{2023/04/26}{only one step expansion while classic option +% test} +% Because we are using the raw option list, we do only a one step expansion of +% \cs{CurrentOption} here, because a full expansion could break. +% \begin{macrocode} + \@ifundefined{ds@\expandafter\detokenize\expandafter{\CurrentOption}}{% \@use@ption \scr@ifprocess@curroption{#1}{#2}{}\default@ds }\@use@ption diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx index b3042ab133b..ab2fed77c53 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-compatibility.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %<identify>%%% (run: identify) %<init>%%% (run: init) %<option>%%% (run: option) @@ -27,9 +27,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\def\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-05-10 16:35:36 +0200 (Mi, 10. Mai 2023) $ \def\filerevision$#1: #2 ${\def\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4054 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-compatibility.dtx}% @@ -458,6 +458,8 @@ % \changes{v3.39}{2022/10/13}{added} % \begin{macro}{\scr@v@3.40} % \changes{v3.40}{2023/04/17}{added} +% \begin{macro}{\scr@v@3.41} +% \changes{v3.41}{2023/04/24}{added} % \begin{macro}{\scr@v@last} % \changes{v2.9u}{2005/03/05}{added} % Nun die unterschiedlichen möglichen Werte (|\scr@v@last| ist jeweils die @@ -547,7 +549,8 @@ \@namedef{scr@v@3.38}{20} \@namedef{scr@v@3.39}{20} \@namedef{scr@v@3.40}{20} -\@namedef{scr@v@last}{20} +\@namedef{scr@v@3.41}{21} +\@namedef{scr@v@last}{21} % \end{macrocode} % \end{macro} % \end{macro} @@ -635,6 +638,7 @@ % \end{macro} % \end{macro} % \end{macro} +% \end{macro} % \end{option} % \begin{macrocode} %</init> diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-floats.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-floats.dtx index f7c1a126d64..de25f18a5e7 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-floats.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-floats.dtx @@ -18,16 +18,16 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %<option>%%% (run: option) %<body>%%% (run: body) %<*dtx> \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-05-10 16:35:36 +0200 (Mi, 10. Mai 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4054 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-floats.dtx}% @@ -865,21 +865,32 @@ % \changes{v2.8j}{2001/07/30}{using \cs{@@makecaption}} % \changes{v2.8q}{2001/11/17}{special treatment of one line captions is optional} % \changes{v2.8q}{2001/11/17}{caption width can be limited} -% \begin{macrocode} +% \changes{v3.41}{2023/05/10}{no page break below caption above or above +% caption below content} +% \begin{command}{\captionnopagebreak} +% \changes{v3.41}{2023/05/10}{new} +% Can be redefined by users to allow page breaks between content and caption. +% \begin{macrocode} +\expandafter\ifnum\scr@v@is@ge{3.41}% + \newcommand*{\captionnopagebreak}{\nopagebreak} +\else + \newcommand*{\captionnopagebreak}{} +\fi \newcommand{\@makecaption}[2]{% \if@captionabove \vskip\belowcaptionskip \else - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \fi \@@makecaption\@firstofone{#1}{#2}% \if@captionabove - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \else \vskip\belowcaptionskip \fi } % \end{macrocode} +% \end{command} % \begin{macro}{\cap@width,\cap@left,\cap@right} % \changes{v2.8q}{2001/11/17}{added} % Multi line captions can printed with a reduced with. If the width is reduced diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-index.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-index.dtx index 9e298cbb63f..44199215b2d 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-index.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-index.dtx @@ -18,16 +18,16 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-index.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-index.dtx 4052 2023-05-05 11:41:51Z kohm $ %<option>%%% (run: option) %<body>%%% (run: body) %<*dtx> \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-05-05 13:41:51 +0200 (Fr, 05. Mai 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4052 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-index.dtx}% @@ -137,6 +137,42 @@ \fi*% } % \end{macrocode} +% \begin{macro}{\idx@@mark,\idx@@forcemark,\idx@@forcemarknumbered} +% \changes{v3.41}{2023/05/05}{new} +% We also need a command to do the mark for the running head to be used if a +% sectioning command without automatic usage of \cs{chaptermark}, +% \cs{sectionmark} or \cs{subsectionmark} is used. For headings with automatic +% usage of \cs{chaptermark}, \cs{sectionmark} or \cs{subsectionmark} it should +% not be used, despite the fact, that this usually would result in not setting +% both marks. The command has the same argument as \cs{idx@@heading}. This is +% the same code, previously used in \cs{idx@heading}. +% \begin{macrocode} +\newcommand*{\idx@@forcemark}[1]{% + \ifidx@leveldown +%<report|book> \addsecmark{#1}% +%<*article> + \begingroup + \value{secnumdepth}=-\maxdimen + \subsectionmark{#1}% + \endgroup +%</article> + \else + \@mkdouble{\MakeMarkcase{#1}}% + \fi +} +\newcommand*{\idx@@forcemarknumbered}[1]{% + \ifidx@leveldown +%<report|book> \sectionmark{#1}% +%<article> \subsectionmark{#1}% + \else +%<report|book> \chaptermark{#1}% +%<article> \sectionmark{#1}% + \fi +} +\newcommand*{\idx@@mark}{} +\let\idx@@mark\idx@@forcemark +% \end{macrocode} +% \end{macro} % \begin{macro}{\idx@leveldowntrue,\idx@leveldownfalse,\ifidx@leveldown} % \changes{v3.18}{2015/06/15}{added} % The boolean switch \cs{ididx@leveldown} is needed to distinguish the heading @@ -171,6 +207,7 @@ %<book|report> \expandafter\chapter \fi*% }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -182,13 +219,14 @@ \KOMA@kav@add{\KOMAClassFileName}{index}{toc}% \renewcommand*{\idx@@heading}{% \ifidx@leveldown -%<article> \expandafter\subsection\expandafter* +%<article> \expandafter\expandafter\expandafter\subsection\expandafter*% %<book|report> \expandafter\addsec \else %<article> \expandafter\addsec %<book|report> \expandafter\addchap \fi }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -207,6 +245,7 @@ %<book|report> \expandafter\chapter \fi }% + \let\idx@@mark\idx@@forcemarknumbered \or \KOMA@kav@remove{\KOMAClassFileName}{index}{leveldown}% \KOMA@kav@remove{\KOMAClassFileName}{index}{standardlevel}% @@ -277,24 +316,17 @@ % \changes{v3.25}{2017/10/13}{using \cs{@mkright} and \cs{@mkdouble}} % \changes{v3.26}{2018/09/03}{usage of \cs{addsecmark} or \cs{subsectionmark} % instead of \cs{@mkright}} +% \changes{v3.41}{2023/05/05}{using \cs{idx@@mark}} +% \changes{v3.41}{2023/05/05}{\cs{cleardoublepage} or \cs{clearpage} only, if +% not \opt{leveldown}} % Macro to make the index heading and preamble. % \begin{macrocode} \newcommand*{\idx@heading}{% -%<report|book> \if@openright\cleardoublepage\else\clearpage\fi% +%<report|book> \ifidx@leveldown\else\if@openright\cleardoublepage\else\clearpage\fi\fi \twocolumn[% %<report|book> \@chaptertolistsfalse \idx@@heading{\indexname}]% - \ifidx@leveldown -%<report|book> \addsecmark{\indexname}% -%<*article> - \begingroup - \c@secnumdepth=-\maxdimen - \subsectionmark{\indexname}% - \endgroup -%</article> - \else - \@mkdouble{\MakeMarkcase{\indexname}}% - \fi + \idx@@mark{\indexname}% } % \end{macrocode} % \end{macro} diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-pagestyles.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-pagestyles.dtx index 4681df436b5..34184fef429 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-pagestyles.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-pagestyles.dtx @@ -18,16 +18,16 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %<option>%%% (run: option) %<body>%%% (run: body) %<*dtx> \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-06-16 10:32:27 +0200 (Fr, 16. Jun 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4058 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-pagestyles.dtx}% @@ -334,13 +334,23 @@ \hb@xt@ \@tempdima{{\hfil\pagemark \if@twoside\else\hfil\fi}}}}\hss}% %<*article> +% \end{macrocode} +% \changes{v3.41}{2023/06/16}{split usage of \cs{MakeMarkcase}} +% From version 3.41 usage of \cs{MakeMarkcase} is split for number and text, +% to also support \cs{MakeTitlecase}. +% \begin{macrocode} \renewcommand*{\sectionmark}[1]{% \if@twoside\expandafter\markboth\else\expandafter\markright\fi - {\MakeMarkcase{\Ifnumbered{section}{\sectionmarkformat}{}##1}}{}}% + {% + \Ifnumbered{section}{\MakeMarkcase{\sectionmarkformat}}{}% + \MakeMarkcase{##1}% + }{}% + }% \renewcommand*{\subsectionmark}[1]{% \if@twoside \markright{% - \MakeMarkcase{\Ifnumbered{subsection}{\subsectionmarkformat}{}##1}% + \Ifnumbered{subsection}{\MakeMarkcase{\subsectionmarkformat}}{}% + \MakeMarkcase{##1}% }% \fi }% @@ -348,17 +358,20 @@ %<*report|book> \renewcommand*{\chaptermark}[1]{% \if@twoside\expandafter\markboth\else\expandafter\markright\fi - {\MakeMarkcase{\Ifnumbered{chapter}{% -%<book> \if@mainmatter - \chaptermarkformat -%<book> \fi - }{}##1}% + {% + \Ifnumbered{chapter}{% +%<book> \if@mainmatter + \MakeMarkcase{\chaptermarkformat}% +%<book> \fi + }{}\MakeMarkcase{##1}% }{}% }% \renewcommand*{\sectionmark}[1]{% \if@twoside - \markright{\MakeMarkcase{\Ifnumbered{section}{\sectionmarkformat}{}% - ##1}}% + \markright{% + \Ifnumbered{section}{\MakeMarkcase{\sectionmarkformat}}{}% + \MakeMarkcase{##1}% + }% \fi }% %</report|book> diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx index af0bc89389a..edfbd4d459a 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-sections.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ % The runs of run-time file generation: %<preidentify>%%% (run: preidentify) % - everything that is needed before selfidentification of resulting files @@ -40,9 +40,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-06-29 10:55:54 +0200 (Do, 29. Jun 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4069 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-sections.dtx}% @@ -1184,10 +1184,43 @@ \providecommand*\@currentlabelname{} \FamilyStringKey[.section]{KOMAarg}{tocentry}{\@currenttocentry} \FamilyStringKey[.section]{KOMAarg}{head}{\@currentheadentry} +\IfLTXAtLeastTF{2020/10/01}{% + \NewHook{\KOMAClassName/option/section/reference/fallback}% +}{}% \DefineFamilyKey[.section]{KOMAarg}{reference}{% \scr@ifundefinedorrelax{NR@gettitle}{% \scr@ifundefinedorrelax{GetTitleString}{% - \def\@currentlabelname{#1}% +% \end{macrocode} +% \changes{v3.41}{2023/06/29}{substitute definition of \cs{@currentlabelname} +% changed} +% This case is complicated. Up to \LaTeX{} 2022/11/01 it was good enough to +% use: +% \begin{verbatim} +% \def\@currentlabelname{#1} +% \end{verbatim} +% But from \LaTeX{} 2023/06/01 the kernel definition of \cs{label} +% additionally writes \cs{@currentlabelname} to the \file{aux}-file. So this +% breaks, if \cs{label} is part of the argument, because it results in an +% infinite expansion loop. To avoid this, the code has been changed. To +% remove \cs{label}, \cs{index}, \cs{glossary}. +% \begin{description} +% \item[ToDo:] The current \cs{@currentlabelname} code is only a workaround +% for \href{https://sourceforge.net/p/koma-script/tickets/55/}{issue 55}. +% Maybe using an empty value would be better. But in this case, what to do +% with \cs{TG@gettitle} and \cs{ztitlerefsetup}? +% \end{description} +% \begin{macrocode} + \begingroup + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \scr@ifundefinedorrelax{UseHook}{}{% + \UseHook{\KOMAClassName/option/section/reference/fallback}% + }% + \protected@edef\@currentlabelname{#1}% + \expandafter\expandafter\expandafter\endgroup + \expandafter\def\expandafter\@currentlabelname\expandafter{% + \@currentlabelname}% }{% \GetTitleString{#1}% \let\@currentlabelname\GetTitleStringResult diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx index 443d21593b6..144426afb78 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ % The runs of run-time file generation: %<preidentify>%%% (run: preidentify) % - everything that is needed before selfidentification of resulting files @@ -42,9 +42,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-06-20 10:59:01 +0200 (Di, 20. Jun 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4060 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrkernel-tocstyle.dtx}% @@ -1010,8 +1010,10 @@ % \end{macrocode} % \end{macro}^^A \@TOCEntryStyleNeedsCommandByOption % -% \begin{command}{\TOCEntryStyleInitCode,\TOCEntryStyleStartInitCode} +% \begin{command}{\TOCEntryStyleInitCode,\TOCEntryStyleInitCode*, +% \TOCEntryStyleStartInitCode} % \changes{v3.20}{2015/11/25}{added} +% \changes{v3.41}{2023/06/20}{star variant \cs{TOCEntryStyleInitCode*} added} % Executes commands before a ToC entry level command of this style is defined % and before the \emph{needs} list will be executed. The parameters are: % \begin{description} @@ -1022,12 +1024,13 @@ % \end{description} % \begin{macrocode} %<*body> -\newcommand{\TOCEntryStyleInitCode}[1]{% - \scr@ifundefinedorrelax{scr@dte@#1@init}{% - \expandafter\providecommand\expandafter*% - \csname scr@dte@#1@init\endcsname[1]% +\NewDocumentCommand\TOCEntryStyleInitCode{sm}{% + \IfBooleanT{#1}{\expandafter\let\csname scr@dte@#2@init\endcsname\relax}% + \scr@ifundefinedorrelax{scr@dte@#2@init}{% + \expandafter\newcommand\expandafter*% + \csname scr@dte@#2@init\endcsname[1]% }{% - \expandafter\l@addto@macro@a\csname scr@dte@#1@init\endcsname + \expandafter\l@addto@macro@a\csname scr@dte@#2@init\endcsname }% } \newcommand{\TOCEntryStyleStartInitCode}[1]{% @@ -1039,7 +1042,7 @@ }% } % \end{macrocode} -% \end{command}^^A \TOCEntryStyleInitCode,\TOCEntryStyleStartInitCode +% \end{command}^^A \TOCEntryStyleInitCode … \TOCEntryStyleStartInitCode % \begin{macro}{\@ExecuteTOCEntryStyleInitCode} % \changes{v3.20}{2015/12/04}{added} % Executes the init code of one style. The first argument is the name of the @@ -1096,6 +1099,7 @@ % \begin{command}{\DeclareTOCStyleEntry} % \changes{v3.20}{2015/11/13}{added} % \changes{v3.39}{2022/10/24}{error message about missing options improved} +% \changes{v3.41}{2023/06/20}{usage of style definition files supported} % This user command defines a new ToC entry command. It tests, if all needed % style macros are already defined. Otherwise an error will be shown and the % ToC entry command will not be defined. The arguments are: @@ -1112,6 +1116,16 @@ %<*body> \newcommand*{\DeclareTOCStyleEntry}[3][]{% \scr@ifundefinedorrelax{scr@dte@def@l@#2}{% + \IfFileExists{tocbasic-tocstyle-#2.def}{% + \edef\reserved@a{% + \unexpanded{% + \makeatletter + \input{tocbasic-tocstyle-#2.def}% + \catcode`\@=}\the\catcode`\@\relax + }\reserved@a + }{}% + }{}% + \scr@ifundefinedorrelax{scr@dte@def@l@#2}{% \PackageError{tocbasic}{toc entry style `#2' undefined}{% Somebody told me to define toc entry `#3' with style `#2',\MessageBreak but I do not know style `#2'.\MessageBreak @@ -1229,6 +1243,8 @@ % \changes{v3.20}{2015/11/17}{added} % \begin{macro}{\@DeclareTOCEntryStyle} % \changes{v3.20}{2015/11/17}{added} +% \changes{v3.41}{2023/06/20}{using \cs{TOCEntryStyleInitCode*} instead of +% \cs{TOCEntryStyleInitCode}} % The user command is used to define a new style for ToC entries. The % arguments are: % \begin{description} @@ -1257,7 +1273,7 @@ \TOC@EntryEndHook{##1}% }% }% - \TOCEntryStyleInitCode{#1}{% + \TOCEntryStyleInitCode*{#1}{% \DefineTOCEntryNumberOption{level}{}{tocdepth}{toc entry level}% #2% }% diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx index 87b499e7064..7fc1e7c7848 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-version.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ % % ATTENTION: In this file parts of the code and documentation are before the % driver. This must be, because this part of the code is needed by the driver @@ -141,9 +141,9 @@ % therefore the syntax or general structure of the line must not be changed! % \begin{macrocode} %<*!v4> - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% %</!v4> -%<v4> \@nameuse{@CheckKOMAScriptVersion}{2023/04/24 v3.40 KOMA-Script}% +%<v4> \@nameuse{@CheckKOMAScriptVersion}{2023/07/07 v3.41 KOMA-Script}% \endgroup % \end{macrocode} % \end{macro} diff --git a/Master/texmf-dist/source/latex/koma-script/scrlayer.dtx b/Master/texmf-dist/source/latex/koma-script/scrlayer.dtx index b7909223807..338cdc4403b 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrlayer.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrlayer.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %<identify>%%% (run: identify) %<init>%%% (run: init) %<options>%%% (run: options) @@ -28,9 +28,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-06-16 10:32:27 +0200 (Fr, 16. Jun 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4058 $ \edef\reserved@a{% \noexpand\endgroup \noexpand\ProvidesFile{scrlayer.dtx}% @@ -311,9 +311,11 @@ % \begin{option}{markcase} % \changes{v3.39}{2022/11/11}{initial dot in member argument of option storage % commands removed} +% \changes{v3.41}{2023/06/16}{new value \texttt{title} to support +% \cs{MakeTitlecase}} % \begin{description} % \item[\texttt{=\meta{setting}}] one of: \texttt{upper}, \texttt{lower}, -% \texttt{used}, or \texttt{ignoreuppercase}. +% \texttt{title}, \texttt{used}, or \texttt{ignoreuppercase}. % \end{description}\noindent % The two options \opt{markuppercase} and \opt{markusedcase} become % deprecated and are replace be the single option \opt{markcase}. Note, @@ -325,9 +327,9 @@ %<interface&scrpage>\scrlayer@AtEndOfPackage{% \begingroup \KOMA@set@ncmdkey{markcase}{reserved@a}{% - {upper}{0},{lower}{1},{used}{2},% - {ignoreuppercase}{3},{nouppercase}{3},% - {ignoreupper}{3},{noupper}{3}% + {upper}{0},{lower}{1},{title}{2},{used}{3},% + {ignoreuppercase}{4},{nouppercase}{4},% + {ignoreupper}{4},{noupper}{4}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed \aftergroup\FamilyKeyStateProcessed @@ -340,6 +342,15 @@ \aftergroup\MakeLowercase \aftergroup\scrlayer@forceignoreuppercasefalse \or + \scr@ifundefinedorrelax{MakeTitlecase}{% + \PackageWarning{scrlayer}{`markcase=title' ignored because + \string\MakeTitlecase\space not available}% + \aftergroup\MakeMarkcase + }{% + \aftergroup\MakeTitlecase + }% + \aftergroup\scrlayer@forceignoreuppercasefalse + \or \aftergroup\@firstofone \aftergroup\scrlayer@forceignoreuppercasefalse \else @@ -376,9 +387,11 @@ \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{upper}% \else\ifx\MakeMarkcase\MakeLowercase \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{lower}% - \else\ifx\MakeMarkcase\scr@ignoreuppercase - \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{ignoreuppercase}% -\fi\fi\fi\fi + \else\ifx\MakeMarkcase\MakeTitlecase + \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{title}% + \else\ifx\MakeMarkcase\scr@ignoreuppercase + \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{ignoreuppercase}% +\fi\fi\fi\fi\fi % \end{macrocode} % \begin{macro}{\scrlayer@ignoreuppercase} % We span a group and set \cs{uppercase} and \cs{MakeUppercase} to @@ -784,6 +797,8 @@ % \end{macrocode} % \end{macro}^^A \automark@basics % \begin{macro}{\automark@righthigh} +% \changes{v3.41}{2023/06/16}{split usage of \cs{MakeMarkcase} to support +% \cs{MakeTitlecase}} % Set up the right mark of a higher level, but in single-side layout only if % \opt{autooneside} hasn't been used. Note, that with this definition no % special handling for \KOMAScript's \cs{addchap} and \cs{addsec} is @@ -799,11 +814,11 @@ \expandafter\endgroup \if@tempswa \@mkright{% - \MakeMarkcase{% - \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax - \else\if@mainmatter \csname #1markformat\endcsname\fi\fi - ##1% - }% + \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #1markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% \fi }% @@ -832,15 +847,17 @@ % instead of only a left high mark, we set up both marks. % \changes{v3.27}{2019/07/25}{replaced \cs{@empty} by \texttt{\{\}} to avoid % \textsf{babel} issue} +% \changes{v3.41}{2023/06/16}{split usage of \cs{MakeMarkcase} to support +% \cs{MakeTitlecase}} % \begin{macrocode} \expandafter\@mkdouble \fi {% - \MakeMarkcase{% - \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax - \else\if@mainmatter \csname #1markformat\endcsname\fi\fi - ##1% - }% + \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #1markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }{}% }% }{}% @@ -867,17 +884,17 @@ % \end{macrocode} % Level of left mark is equal to level of right mark. This is % nice and very easy to handle. +% \changes{v3.41}{2023/06/16}{split usage of \cs{MakeMarkcase} to support +% \cs{MakeTitlecase}} % \begin{macrocode} \expandafter\def\csname #2mark\endcsname##1{% \@mkdouble{% - \MakeMarkcase{% - \ifnum \c@secnumdepth<\numexpr - \csname #2numdepth\endcsname +0\relax - \else - \if@mainmatter \csname #2markformat\endcsname\fi - \fi - ##1% - }% + \ifnum \c@secnumdepth<\numexpr + \csname #2numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #2markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% }% \else @@ -893,25 +910,23 @@ \expandafter\endgroup \if@tempswa \@mkleft{% - \MakeMarkcase{% - \ifnum \c@secnumdepth - < \numexpr\csname #1numdepth\endcsname +0\relax - \else - \if@mainmatter \csname #1markformat\endcsname\fi - \fi - ##1% - }% + \ifnum \c@secnumdepth + < \numexpr\csname #1numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #1markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% \fi }% \expandafter\def\csname #2mark\endcsname##1{% \@mkboth{}{% - \MakeMarkcase{% - \ifnum \c@secnumdepth - < \numexpr \csname #2numdepth\endcsname +0\relax - \else\if@mainmatter \csname #2markformat\endcsname\fi\fi - ##1% - }% + \ifnum \c@secnumdepth + < \numexpr \csname #2numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #2markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% }% \fi diff --git a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx index 1dc1d7770f2..b9b75070afc 100644 --- a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx +++ b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx @@ -18,7 +18,7 @@ % % This work consists of all files listed in MANIFEST.md. % ====================================================================== -%%% From File: $Id: tocbasic.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: tocbasic.dtx 4067 2023-06-28 14:37:03Z kohm $ %<identify>%%% (run: identify) %<prepare>%%% (run: prepare) %<option>%%% (run: option) @@ -29,9 +29,9 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2023-04-17 11:45:11 +0200 (Mo, 17. Apr 2023) $ + \filedate$Date: 2023-06-28 16:37:03 +0200 (Mi, 28. Jun 2023) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} - \filerevision$Revision: 4032 $ + \filerevision$Revision: 4067 $ \endgroup \ProvidesFile{tocbasic.dtx}[\filedate\space\filerevision\space %</dtx> @@ -61,10 +61,9 @@ \file{tocbasic.sty}{% \from{tocbasic.dtx}{package,identify}% \from{tocbasic.dtx}{package,prepare}% - \from{scrkernel-tocstyle.dtx}{package,prepare}% \from{tocbasic.dtx}{package,option}% - \from{scrkernel-tocstyle.dtx}{package,option}% - \from{tocbasic.dtx}{package,body}% + \from{tocbasic.dtx}{package,execoption}% + \from{tocbasic.dtx}{package,body,deprecated}% \from{scrkernel-tocstyle.dtx}{package,body}% \from{scrkernel-tocstyle.dtx}{package,style,gobble}% \from{scrkernel-tocstyle.dtx}{package,style,dottedtocline}% @@ -145,6 +144,28 @@ % out-sourced into file \file{scrkernel-tocbasic.dtx}. % % +% \subsection{Required packages} +% \label{sec:packages} +% +% \changes{v3.41}{2023/06/28}{required packages moved to \texttt{prepare} run} +% \changes{v3.41}{2023/06/28}{\pkg{expl3} and \pkg{xparse} are required} +% Package \pkg*{scrbase} is needed to process all macro options. +% \begin{macrocode} +%<*prepare> +\RequirePackage{scrbase} +%</prepare> +% \end{macrocode} +% +% Now we can load \pkg{xparse} if needed, which also would load \pkg{expl3}: +% \begin{macrocode} +%<*prepare> +\scr@ifundefinedorrelax{NewDocumentCommand}{% + \RequirePackage{xparse}[2018-04-12]% +}{} +%</prepare> +% \end{macrocode} +% +% % \subsection{Options} % \label{sec:options} % @@ -154,28 +175,12 @@ % result in an option clash. Nevertheless, the not existing options are % processed. % \begin{macrocode} -%<*option> +%<*execoption> \ProcessOptions\relax -%</option> +%</execoption> % \end{macrocode} % % -% \subsection{Required packages} -% \label{sec:packages} -% -% Package \pkg*{scrbase} is needed to process all macro options. As long as -% no package options are provided, the \texttt{body}-run is early enough to -% load it. -% \begin{macrocode} -%<*body> -\RequirePackage{scrbase} -%</body> -% \end{macrocode} -% We load it after processing the options, because we don't need it for -% processing options. -% -% -% % \subsection{Unwanted packages} % \label{sec:unpackages} % @@ -272,19 +277,33 @@ % \end{macrocode} % \end{command}^^A \ifattoclist,\Ifattoclist % +% \begin{macro}{\tb@optowner} +% \changes{v3.41}{2023/06/28}{new} +% Several of the following commands use an optional argument for the +% owner. Almost always if the argument is not given but \cs{@currname} is not +% empty \texttt{\cs{@currname}.\cs{@currext}} should be used. If the argument +% is not given but \cs{@currname} is empty, an empty value should be used. And +% if the optional argument is given, it should be used unchanged. So here is a +% helper macro for exactly this logic. Note, that argument here is not +% optional but mandatory and should be an optional argument of +% \cs{NewDocumentCommand}. +% \begin{macrocode} +\newcommand*{\tb@optowner}[1]{% + \IfValueTF{#1}{% + #1% + }{% + \ifx\@currname\@empty\else + \@currname.\@currext% + \fi + }% +} +% \end{macrocode} +% \end{macro} % \begin{command}{\addtotoclist} % \changes{v3.06a}{2010/09/14}{expand the arguments while adding them to the % internal list} -% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by -% \cs{kernel@ifnextchar}} -% \begin{macro}{\@addtotoclist,\scr@addtotoclist} -% \changes{v1.0a}{2008/11/11}{\cs{@addtotoclist} renamed to -% \cs{scr@addtotoclist} because of package \pkg{flowfram}} -% \begin{macro}{\@@addtotoclist,\scr@@addtotoclist} -% \changes{v1.0a}{2008/11/11}{\cs{@@addtotoclist} renamed to -% \cs{scr@@addtotoclist} because of package \pkg{flowfram}} -% \changes{v3.28}{2019/11/19}{\cs{ifattoclist} replaced by -% \cs{Ifattoclist}} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % This command adds an extension to the list of toc-files. The first, % optional argument is the class or package name with the corresponding % extension of class or package files. If this argument was omitted @@ -294,19 +313,8 @@ % second, mandatory argument is the extension of the toc-file. NOTE: An % empty first argument is not the same like omitting the first argument! % \begin{macrocode} -\newcommand*{\addtotoclist}{% - \kernel@ifnextchar [%] - \scr@@addtotoclist\scr@addtotoclist -} -\newcommand*{\scr@addtotoclist}{% - \ifx\@currname\@empty - \def\reserved@a{\scr@@addtotoclist[]}% - \else - \edef\reserved@a{\noexpand\scr@@addtotoclist[\@currname.\@currext]}% - \fi - \reserved@a -} -\newcommand*{\scr@@addtotoclist}[2][]{% +\NewDocumentCommand\addtotoclist{om}{% + \edef\reserved@b{\tb@optowner{#1}}% \Ifattoclist{#2}{% \PackageError{tocbasic}{% file extension `#2' cannot be used twice @@ -320,15 +328,15 @@ }% }{% \begingroup - \protected@edef\reserved@a{% + \edef\reserved@a{% \noexpand\g@addto@macro\noexpand\tb@listoftocs{% - \noexpand\do{#2}{#1}}}\reserved@a + \noexpand\do{#2}{\reserved@b}}}\reserved@a \endgroup - \ifx\relax #1\relax\else - \@ifundefined{tb@#1@add@hook}{}{% + \ifx\reserved@b\@empty\else + \@ifundefined{tb@\reserved@b @add@hook}{}{% \edef\reserved@a{% \noexpand\def\noexpand\@currext{#2}% - \noexpand\@nameuse{tb@#1@add@hook}% + \noexpand\@nameuse{tb@\reserved@b @add@hook}% \noexpand\def\noexpand\@currext{\@currext}% }\reserved@a }% @@ -341,7 +349,15 @@ }% } % \end{macrocode} -% \end{macro} +% \begin{macro}[noprint]{\@addtotoclist,\scr@addtotoclist, +% \@@addtotoclist,\scr@@addtotoclist} +% \changes{v1.0a}{2008/11/11}{\cs{@addtotoclist} renamed to +% \cs{scr@addtotoclist} because of package \pkg{flowfram}} +% \changes{v1.0a}{2008/11/11}{\cs{@@addtotoclist} renamed to +% \cs{scr@@addtotoclist} because of package \pkg{flowfram}} +% \changes{v3.28}{2019/11/19}{\cs{ifattoclist} replaced by +% \cs{Ifattoclist}} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % @@ -371,7 +387,8 @@ % \begin{command}{\AtAddToTocList} % \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by % \cs{kernel@ifnextchar}} -% \begin{macro}{\@AtAddToTocList,\@@AtAddToTocList} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % Action to be done, when adding a toc-file of a known owner. The first % optional argument is the owner. The second, mandatory argument is the % action. While doing the action \cs{@currext} will be the extension of the @@ -386,23 +403,16 @@ % the general hook). But the individual hook will not be processed for % toc-files without any owner! % \begin{macrocode} -\newcommand*{\AtAddToTocList}{% - \kernel@ifnextchar [%] - \@@AtAddToTocList\@AtAddToTocList -} -\newcommand*{\@AtAddToTocList}{% - \ifx\@currname\@empty - \def\reserved@a{\@@AtAddToTocList[]}% - \else - \edef\reserved@a{\noexpand\@@AtAddToTocList[\@currname.\@currext]}% - \fi - \reserved@a -} -\newcommand*{\@@AtAddToTocList}[1][]{% - \@ifundefined{tb@#1@add@hook}{\@namedef{tb@#1@add@hook}{}}{}% - \expandafter\g@addto@macro\csname tb@#1@add@hook\endcsname +\NewDocumentCommand\AtAddToTocList{o}{% + \edef\reserved@a{\tb@optowner{#1}}% + \@ifundefined{tb@\reserved@a @add@hook}% + {\@namedef{tb@\reserved@a @add@hook}{}}% + {}% + \expandafter\g@addto@macro\csname tb@\reserved@a @add@hook\endcsname } % \end{macrocode} +% \begin{macro}[noprint]{\@AtAddToTocList,\@@AtAddToTocList} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % @@ -461,117 +471,104 @@ % \begin{command}{\removefromtoclist} % \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by % \cs{kernel@ifnextchar}} -% \begin{macro}{\scr@removefromtoclist,\@removefromtoclist} % \changes{v3.22}{2016/09/06}{missing \cs{global} added} -% \changes{v3.28}{2019/11/22}{\cs{@removefromtoclist} renamed to -% \cs{scr@removefromtoclist}} -% \begin{macro}{\scr@@removefromtoclist,\@@removefromtoclist} -% \changes{v3.22}{2016/09/06}{missing \cs{global} added} -% \changes{v3.28}{2019/11/22}{\cs{@@removefromtoclist} renamed to -% \cs{scr@removefromtoclist}} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % This command will remove an extension from the list of toc-files. If the % first, optional argument is given, the extension will only be removed, if % it was added by the given owner. NOTE: An empty first argument is not the % same like omitting the first argument! % \begin{macrocode} -\newcommand*{\removefromtoclist}{% - \kernel@ifnextchar [%] - \scr@removefromtoclist\scr@@removefromtoclist -} -\newcommand*{\scr@removefromtoclist}[2][]{% - \begingroup - \let\tb@oldlist\tb@listoftocs - \def\do##1##2{% - \edef\reserved@a{##1}% - \ifx\reserved@a\reserved@b - \begingroup - \edef\@currext{##2}% - \edef\reserved@b{#1}% - \ifx\@currext\reserved@b - \else - \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% - \fi - \endgroup - \else - \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% - \fi - }% - \edef\reserved@b{#2}\global\let\tb@listoftocs\@empty - \tb@oldlist - \endgroup -} -\newcommand*{\scr@@removefromtoclist}[1]{% +\NewDocumentCommand\removefromtoclist{om}{% \begingroup \let\tb@oldlist\tb@listoftocs + \edef\reserved@b{#2}% + \global\let\tb@listoftocs\empty \def\do##1##2{% \edef\reserved@a{##1}% \ifx\reserved@a\reserved@b + \IfValueT{#1}{% + \begingroup + \edef\@currext{##2}% + \edef\reserved@b{#1}% + \ifx\@currext\reserved@b + \else + \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% + \fi + \endgroup + }% \else \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% \fi }% - \edef\reserved@b{#1}\global\let\tb@listoftocs\@empty \tb@oldlist \endgroup } % \end{macrocode} -% \end{macro} +% \begin{macro}[noprint]{\scr@removefromtoclist,\@removefromtoclist, +% \scr@@removefromtoclist,\@@removefromtoclist} +% \changes{v3.28}{2019/11/22}{\cs{@removefromtoclist} renamed to +% \cs{scr@removefromtoclist}} +% \changes{v3.28}{2019/11/22}{\cs{@@removefromtoclist} renamed to +% \cs{scr@removefromtoclist}} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % % \begin{command}{\doforeachtocfile} -% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by -% \cs{kernel@ifnextchar}} -% \begin{macro}{\@doforeachtocfile,\@@doforeachtocfile} % \changes{v3.09}{2011/03/01}{\cs{@currext} defined using \cs{edef} instead % of \cs{def}} +% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by +% \cs{kernel@ifnextchar}} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % This command does the second, mandatory argument for each toc-file at the % list of toc-files. If the first, optional argument was given this will be % done only for the toc-files of that owner. NOTE: An empty first argument % is not the same like omitting the first argument! -% % While processing the second argument \cs{@currext} is the extension of % the toc-file. The second argument will be processed with increased group % level! -% % See \cs{addtoeachtocfile} for an example of usage of % \cs{doforeachtocfile}. % \begin{macrocode} -\newcommand{\doforeachtocfile}{% - \kernel@ifnextchar [%] - \@doforeachtocfile\@@doforeachtocfile -} -\newcommand{\@doforeachtocfile}[2][]{% - \def\do##1##2{% - \edef\reserved@a{#1}\edef\reserved@b{##2}\ifx\reserved@a\reserved@b - \edef\@currext{##1}#2% - \fi - }% - \edef\reserved@a{% - \noexpand\tb@listoftocs - \noexpand\def\noexpand\@currext{\@currext}% - }\reserved@a - \let\do\relax -} -\newcommand{\@@doforeachtocfile}[1]{% - \def\do##1##2{% - \edef\@currext{##1}#1% +\NewDocumentCommand\doforeachtocfile{o+m}{% + \IfValueTF{#1}{% + \def\do##1##2{% + \edef\reserved@a{#1}\edef\reserved@b{##2}% + \ifx\reserved@a\reserved@b \edef\@currext{##1}#2\fi + }% + }{% + \def\do##1##2{\edef\@currext{##1}#2}% }% \edef\reserved@a{% \noexpand\tb@listoftocs \noexpand\def\noexpand\@currext{\@currext}% }\reserved@a - \let\do\relax +% \end{macrocode} +% \changes{v3.41}{2023/05/16}{don't \cs{let}\cs{do}\cs{relax}} +% Former versions of \KOMAScript{} have used |\let\do\relax| to undefined +% \cs{do} after the walk-through. But some packages like \pkg{dynkin-diagrams} +% have had problems using \cs{renewcommand} instead of \cs{def} or \cs{let} to +% change \cs{do}. So from version 3.41 \KOMAScript{} has changed this to +% |\let\do\noexpand|, because this is the default of \LaTeX{} after +% |\begin{document}|. However, this is only a workaround for a +% workaround. Best would be to remove the final change of \cs{do}. But this +% could also break packages. +% \begin{macrocode} + \let\do\noexpand } % \end{macrocode} +% \begin{macro}[noprint]{\@doforeachtocfile,\@@doforeachtocfile} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % % \begin{command}{\addtoeachtocfile} % \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by % \cs{kernel@ifnextchar}} -% \begin{macro}{\@addtoeachtocfile,\@@addtoeachtocfile} -% \changes{v3.03b}{2009/06/08}{typo fix at usage of \cs{doforeachtocfile}} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % This command calls \cs{addtocontents} with the section, mandatory % argument for each toc-file at the list of toc-files. If the first, % optional argument was given this will be done only for the toc-files of @@ -579,18 +576,14 @@ % the first argument! And don't forget to protect the commands, that should % not be expanded, at the mandatory argument. % \begin{macrocode} -\newcommand{\addtoeachtocfile}{% - \kernel@ifnextchar [%] - \@addtoeachtocfile\@@addtoeachtocfile -} -\newcommand{\@addtoeachtocfile}[2][]{% +\NewDocumentCommand\addtoeachtocfile{o+m}{% \doforeachtocfile[{#1}]{\addtocontents{\@currext}{#2}}% } -\newcommand{\@@addtoeachtocfile}[1]{% - \doforeachtocfile{\addtocontents{\@currext}{#1}}% -} %</body> % \end{macrocode} +% \begin{macro}[noprint]{\@addtoeachtocfile,\@@addtoeachtocfile} +% \changes{v3.03b}{2009/06/08}{typo fix at usage of \cs{doforeachtocfile}} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % @@ -602,22 +595,19 @@ % \begin{command}{\addcontentslinetoeachtocfile} % \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by % \cs{kernel@ifnextchar}} -% \begin{macro}{\@addcontentslinetoeachtocfile,\@@addcontentslinetoeachtocfile} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % Something like a combination of \cs{addtoeachtocfile} and % \cs{addcontentsline}. % \begin{macrocode} %<*body> -\newcommand{\addcontentslinetoeachtocfile}{% - \kernel@ifnextchar [%] - \@addcontentslinetoeachtocfile\@@addcontentslinetoeachtocfile -} -\newcommand{\@addcontentslinetoeachtocfile}[3][]{% - \doforeachtocfile[{#1}]{\addcontentsline{\@currext}{#2}{#3}}% -} -\newcommand{\@@addcontentslinetoeachtocfile}[2]{% - \doforeachtocfile{\addcontentsline{\@currext}{#1}{#2}}% -} +\NewDocumentCommand\addcontentslinetoeachtocfile{omm}{% + \doforeachtocfile[{#1}]{\addcontentsline{\@currext}{#2}{#3}}% +} % \end{macrocode} +% \begin{macro}[noprint]{\@addcontentslinetoeachtocfile, +% \@@addcontentslinetoeachtocfile} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % @@ -625,20 +615,14 @@ % \changes{v3.12}{2013/09/24}{added} % \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by % \cs{kernel@ifnextchar}} -% \begin{macro}{\@addxcontentsline} -% \changes{v3.12}{2013/09/24}{added} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % This will be used instead of \cs{addcontentsline} to generate numbered or % not numbered entries to a toc-file. First argument is the toc-file, second % the entry type, e.g., |chapter|, the third is the entry number or empty and % the fourth and last is the entry text. % \begin{macrocode} -\newcommand*{\addxcontentsline}[2]{% - \kernel@ifnextchar [%] - {\@addxcontentsline{#1}{#2}}% - {\@addxcontentsline{#1}{#2}[]}% -} -\newcommand*{\@addxcontentsline}{} -\def\@addxcontentsline#1#2[#3]#4{% +\NewDocumentCommand\addxcontentsline{mmO{}m}{% \scr@ifundefinedorrelax{add#2#1entry}{% \tocbasic@addxcontentsline{#1}{#2}{#3}{#4}% }{% @@ -646,6 +630,10 @@ }% } % \end{macrocode} +% \begin{macro}[noprint]{\@addxcontentsline} +% \changes{v3.12}{2013/09/24}{added} +% \changes{v3.41}{2023/06/28}{removed} +% \end{macro} % \begin{command}{\nonumberline} % \changes{v3.12}{2013/09/24}{added} % Either \cs{relax} or \cs{numberline} depending on the feature @@ -654,21 +642,20 @@ \newcommand*{\nonumberline}{}% % \end{macrocode} % \end{command} -% \begin{command}{\addxcontentsline} +% \begin{macro}{\tocbasic@addxcontentsline} % This may be used to either use a heading type command or the general default % one. You are not allowed to use it in the definition of a heading type % command like \cs{addchaptertocentry}! You may use % \cs{tocbasic@addxcontentsline} at the definition of those commands. % \begin{macrocode} \newcommand*{\tocbasic@addxcontentsline}[4]{% - \if\relax\detokenize{#3}\relax + \IfArgIsEmpty{#3}{% \addcontentsline{#1}{#2}{\protect\nonumberline#4}% - \else + }{% \addcontentsline{#1}{#2}{\protect\numberline{#3}#4}% - \fi + }% } % \end{macrocode} -% \end{command} % \end{macro} % \end{command} % @@ -676,42 +663,22 @@ % \changes{v3.12}{2013/09/24}{added} % \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by % \cs{kernel@ifnextchar}} -% \begin{macro}{\@addxcontentslinetoeachtocfile, -% \@@addxcontentslinetoeachtocfile} -% \changes{v3.12}{2013/09/24}{added} -% \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by -% \cs{kernel@ifnextchar}} -% \begin{macro}{\@@@addxcontentslinetoeachtocfile, -% \@@@@addxcontentslinetoeachtocfile} -% \changes{v3.12}{2013/09/24}{added} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % Similar to \cs{addcontentslinetoeachtocfile} using % \cs{addxcontentsline} instead of \cs{addcontentsline}. % \begin{macrocode} -\newcommand{\addxcontentslinetoeachtocfile}{% - \kernel@ifnextchar [%] - \@addxcontentslinetoeachtocfile\@@addxcontentslinetoeachtocfile -} -\newcommand{\@addxcontentslinetoeachtocfile}[2][]{% - \kernel@ifnextchar [%] - {\@@@addxcontentslinetoeachtocfile[{#1}]{#2}}% - {\@@@addxcontentslinetoeachtocfile[{#1}]{#2}[]} -} -\newcommand*{\@@@addxcontentslinetoeachtocfile}{} -\def\@@@addxcontentslinetoeachtocfile[#1]#2[#3]#4{% - \doforeachtocfile[{#1}]{\addxcontentsline{\@currext}{#2}[#3]{#4}}% -} -\newcommand{\@@addxcontentslinetoeachtocfile}[1]{% - \kernel@ifnextchar [%] - {\@@@@addxcontentslinetoeachtocfile{#1}}% - {\@@@@addxcontentslinetoeachtocfile{#1}[]}% -} -\newcommand*{\@@@@addxcontentslinetoeachtocfile}{} -\def\@@@@addxcontentslinetoeachtocfile#1[#2]#3{% - \doforeachtocfile{\addxcontentsline{\@currext}{#1}[{#2}]{#3}}% +\NewDocumentCommand\addxcontentslinetoeachtocfile{omom}{% + \doforeachtocfile[{#1}]{\addxcontentsline{\@currext}{#2}[{#3}]{#4}} } %</body> % \end{macrocode} -% \end{macro} +% \begin{macro}[noprint]{\@addxcontentslinetoeachtocfile, +% \@@addxcontentslinetoeachtocfile, +% \@@@addxcontentslinetoeachtocfile, +% \@@@@addxcontentslinetoeachtocfile} +% \changes{v3.12}{2013/09/24}{added} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % @@ -810,7 +777,10 @@ \g@addto@macro\tocbasic@@before@hook{#2}% \else \@ifundefined{tb@#1@before@hook}{% -%<trace> \PackageInfo{tocbasic}{defining new hook before starting `#1'}% +%<*trace> + \PackageInfo{tocbasic}{defining new hook before starting + \IfArgIsEmpty{#1}{any toc}{`#1'}}% +%</trace> \expandafter\global\expandafter\let\csname tb@#1@before@hook\endcsname \@empty }{}% @@ -822,7 +792,10 @@ \g@addto@macro\tocbasic@@after@hook{#2}% \else \@ifundefined{tb@#1@after@hook}{% -%<trace> \PackageInfo{tocbasic}{defining new hook after starting `#1'}% +%<*trace> + \PackageInfo{tocbasic}{defining new hook after starting + \IfArgIsEmpty{#1}{any toc}{`#1'}}% +%</trace> \expandafter\global\expandafter\let\csname tb@#1@after@hook\endcsname \@empty }{}% @@ -933,23 +906,19 @@ % \end{command} % % \begin{command}{\listofeachtoc} +% \changes{v3.03b}{2009/06/08}{typo fix at usage of \cs{doforeachtocfile}} % \changes{v3.20}{2016/04/12}{\cs{@ifnextchar} replaced by % \cs{kernel@ifnextchar}} -% \begin{macro}{\@listofeachtoc,\@@listofeachtoc} -% \changes{v3.03b}{2009/06/08}{typo fix at usage of \cs{doforeachtocfile}} +% \changes{v3.41}{2023/06/28}{using \cs{NewDocumentCommand} to not need all +% the helpers} % Another example of using \cs{doforeachtocfile}. % \begin{macrocode} -\newcommand*{\listofeachtoc}{% - \kernel@ifnextchar [%] - \@listofeachtoc\@@listofeachtoc -} -\newcommand{\@listofeachtoc}[1][]{% +\NewDocumentCommand\listofeachtoc{o}{% \doforeachtocfile[{#1}]{\listoftoc{\@currext}}% } -\newcommand{\@@listofeachtoc}[1]{% - \doforeachtocfile{\listoftoc{\@currext}}% -} % \end{macrocode} +% \begin{macro}[noprint]{\@listofeachtoc,\@@listofeachtoc} +% \changes{v3.41}{2023/06/28}{removed} % \end{macro} % \end{command} % @@ -1103,7 +1072,10 @@ % \begin{macrocode} \newcommand{\BeforeTOCHead}[2][]{% \@ifundefined{tb@#1@beforehead@hook}{% -%<trace> \PackageInfo{tocbasic}{defining new hook before heading of `#1'}% +%<*trace> + \PackageInfo{tocbasic}{defining new hook before heading of + \IfArgIsEmpty{#1}{each toc}{`#1'}}% +%</trace> \expandafter\global\expandafter\let\csname tb@#1@beforehead@hook\endcsname \@empty }{}% @@ -1111,7 +1083,10 @@ } \newcommand{\AfterTOCHead}[2][]{% \@ifundefined{tb@#1@afterhead@hook}{% -%<trace> \PackageInfo{tocbasic}{defining new hook after heading of `#1'}% +%<*trace> + \PackageInfo{tocbasic}{defining new hook after heading of + \IfArgIsEmpty{#1}{each toc}{`#1'}}% +%</trace> \expandafter\global\expandafter\let\csname tb@#1@afterhead@hook\endcsname \@empty }{}% @@ -1198,6 +1173,7 @@ % \changes{v3.28}{2019/11/19}{\cs{iftocfeature} renamed to \cs{Iftocfeature}} % We need a test for the features % \begin{macrocode} +%<*deprecated> \providecommand*{\iftocfeature}{% \PackageWarning{tocbasic}{Usage of deprecated command `\string\iftocfeature'.\MessageBreak @@ -1207,6 +1183,7 @@ }% \Iftocfeature } +%</deprecated> \newcommand*{\Iftocfeature}[2]{% \scr@ifundefinedorrelax{tocbasic@#1@feature@#2}{% \expandafter\@secondoftwo diff --git a/Master/texmf-dist/tex/latex/koma-script/DIN.lco b/Master/texmf-dist/tex/latex/koma-script/DIN.lco index 1de954540cd..f44228d7071 100644 --- a/Master/texmf-dist/tex/latex/koma-script/DIN.lco +++ b/Master/texmf-dist/tex/latex/koma-script/DIN.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/DIN5008A.lco b/Master/texmf-dist/tex/latex/koma-script/DIN5008A.lco index a2e03b11d70..944e5186430 100644 --- a/Master/texmf-dist/tex/latex/koma-script/DIN5008A.lco +++ b/Master/texmf-dist/tex/latex/koma-script/DIN5008A.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/DIN5008B.lco b/Master/texmf-dist/tex/latex/koma-script/DIN5008B.lco index 698157322e3..ffa8a1da652 100644 --- a/Master/texmf-dist/tex/latex/koma-script/DIN5008B.lco +++ b/Master/texmf-dist/tex/latex/koma-script/DIN5008B.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/DINmtext.lco b/Master/texmf-dist/tex/latex/koma-script/DINmtext.lco index 9733e067e3d..84365e1fabf 100644 --- a/Master/texmf-dist/tex/latex/koma-script/DINmtext.lco +++ b/Master/texmf-dist/tex/latex/koma-script/DINmtext.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/KOMAold.lco b/Master/texmf-dist/tex/latex/koma-script/KOMAold.lco index 8a336036da5..8a1e86bf845 100644 --- a/Master/texmf-dist/tex/latex/koma-script/KOMAold.lco +++ b/Master/texmf-dist/tex/latex/koma-script/KOMAold.lco @@ -41,7 +41,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -63,7 +63,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/KakuLL.lco b/Master/texmf-dist/tex/latex/koma-script/KakuLL.lco index ea458071332..66cea582665 100644 --- a/Master/texmf-dist/tex/latex/koma-script/KakuLL.lco +++ b/Master/texmf-dist/tex/latex/koma-script/KakuLL.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: japanlco.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: Kaku,LATE,LOW,head) @@ -71,7 +71,7 @@ L% L% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script Japanese letter-class-option] \providecommand*\LCOWarningNoLine[2]{% \LCOWarning{#1}{#2\@gobble}% diff --git a/Master/texmf-dist/tex/latex/koma-script/NF.lco b/Master/texmf-dist/tex/latex/koma-script/NF.lco index b77449c9c1c..d6007e636e6 100644 --- a/Master/texmf-dist/tex/latex/koma-script/NF.lco +++ b/Master/texmf-dist/tex/latex/koma-script/NF.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/NipponEH.lco b/Master/texmf-dist/tex/latex/koma-script/NipponEH.lco index e59ae462143..ea4af7f3e3f 100644 --- a/Master/texmf-dist/tex/latex/koma-script/NipponEH.lco +++ b/Master/texmf-dist/tex/latex/koma-script/NipponEH.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: japanlco.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: Ni,EARLY,HIGH,head) @@ -71,7 +71,7 @@ E% H% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script Japanese letter-class-option] \providecommand*\LCOWarningNoLine[2]{% \LCOWarning{#1}{#2\@gobble}% diff --git a/Master/texmf-dist/tex/latex/koma-script/NipponEL.lco b/Master/texmf-dist/tex/latex/koma-script/NipponEL.lco index a06e9d5eea3..3454aa524a3 100644 --- a/Master/texmf-dist/tex/latex/koma-script/NipponEL.lco +++ b/Master/texmf-dist/tex/latex/koma-script/NipponEL.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: japanlco.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: Ni,EARLY,LOW,head) @@ -71,7 +71,7 @@ E% L% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script Japanese letter-class-option] \providecommand*\LCOWarningNoLine[2]{% \LCOWarning{#1}{#2\@gobble}% diff --git a/Master/texmf-dist/tex/latex/koma-script/NipponLH.lco b/Master/texmf-dist/tex/latex/koma-script/NipponLH.lco index 941a890e2bc..d83d79dc8e9 100644 --- a/Master/texmf-dist/tex/latex/koma-script/NipponLH.lco +++ b/Master/texmf-dist/tex/latex/koma-script/NipponLH.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: japanlco.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: Ni,LATE,HIGH,head) @@ -71,7 +71,7 @@ L% H% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script Japanese letter-class-option] \providecommand*\LCOWarningNoLine[2]{% \LCOWarning{#1}{#2\@gobble}% diff --git a/Master/texmf-dist/tex/latex/koma-script/NipponLL.lco b/Master/texmf-dist/tex/latex/koma-script/NipponLL.lco index 5e634e3fe13..20497be7241 100644 --- a/Master/texmf-dist/tex/latex/koma-script/NipponLL.lco +++ b/Master/texmf-dist/tex/latex/koma-script/NipponLL.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: japanlco.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: Ni,LATE,LOW,head) @@ -71,7 +71,7 @@ L% L% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script Japanese letter-class-option] \providecommand*\LCOWarningNoLine[2]{% \LCOWarning{#1}{#2\@gobble}% diff --git a/Master/texmf-dist/tex/latex/koma-script/NipponRL.lco b/Master/texmf-dist/tex/latex/koma-script/NipponRL.lco index 2269e9e31fa..15ca5788154 100644 --- a/Master/texmf-dist/tex/latex/koma-script/NipponRL.lco +++ b/Master/texmf-dist/tex/latex/koma-script/NipponRL.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: japanlco.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: Ni,RIGHT,LOW,head) @@ -71,7 +71,7 @@ R% L% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script Japanese letter-class-option] \providecommand*\LCOWarningNoLine[2]{% \LCOWarning{#1}{#2\@gobble}% diff --git a/Master/texmf-dist/tex/latex/koma-script/SN.lco b/Master/texmf-dist/tex/latex/koma-script/SN.lco index 02edbf2b1ae..a62f7332090 100644 --- a/Master/texmf-dist/tex/latex/koma-script/SN.lco +++ b/Master/texmf-dist/tex/latex/koma-script/SN.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/SNleft.lco b/Master/texmf-dist/tex/latex/koma-script/SNleft.lco index 1903a8e6972..f9e23642a36 100644 --- a/Master/texmf-dist/tex/latex/koma-script/SNleft.lco +++ b/Master/texmf-dist/tex/latex/koma-script/SNleft.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/UScommercial9.lco b/Master/texmf-dist/tex/latex/koma-script/UScommercial9.lco index 7c148f8d6f4..e69d559e056 100644 --- a/Master/texmf-dist/tex/latex/koma-script/UScommercial9.lco +++ b/Master/texmf-dist/tex/latex/koma-script/UScommercial9.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/UScommercial9DW.lco b/Master/texmf-dist/tex/latex/koma-script/UScommercial9DW.lco index 24a4ed18e96..69a88f18e2f 100644 --- a/Master/texmf-dist/tex/latex/koma-script/UScommercial9DW.lco +++ b/Master/texmf-dist/tex/latex/koma-script/UScommercial9DW.lco @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) diff --git a/Master/texmf-dist/tex/latex/koma-script/float.hak b/Master/texmf-dist/tex/latex/koma-script/float.hak index f12462e7bc6..ee0ea9e7f42 100644 --- a/Master/texmf-dist/tex/latex/koma-script/float.hak +++ b/Master/texmf-dist/tex/latex/koma-script/float.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,16 +62,16 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{float.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (hacking package float)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \scr@ifexpected{\newfloat}{% \long\def\newfloat#1#2#3{\@namedef{ext@#1}{#3} \let\float@do=\relax diff --git a/Master/texmf-dist/tex/latex/koma-script/floatrow.hak b/Master/texmf-dist/tex/latex/koma-script/floatrow.hak index 53025020f63..48eb7568414 100644 --- a/Master/texmf-dist/tex/latex/koma-script/floatrow.hak +++ b/Master/texmf-dist/tex/latex/koma-script/floatrow.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,16 +62,16 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{floatrow.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (hacking package floatrow)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \scr@ifexpected{\DeclareNewFloatType}{% \long\def\DeclareNewFloatType#1#2{\def\FB@captype{#1}% \expandafter\edef\csname ftype@#1\endcsname{\the\c@float@type}% diff --git a/Master/texmf-dist/tex/latex/koma-script/hyperref.hak b/Master/texmf-dist/tex/latex/koma-script/hyperref.hak index ea9906bb54c..14a8b433e9c 100644 --- a/Master/texmf-dist/tex/latex/koma-script/hyperref.hak +++ b/Master/texmf-dist/tex/latex/koma-script/hyperref.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,16 +62,16 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{hyperref.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (hacking package hyperref)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \scr@ifexpected\@schapter{% \def\@schapter#1{% \H@old@schapter{#1}% diff --git a/Master/texmf-dist/tex/latex/koma-script/listings.hak b/Master/texmf-dist/tex/latex/koma-script/listings.hak index bddb9081e77..3c13953e6d4 100644 --- a/Master/texmf-dist/tex/latex/koma-script/listings.hak +++ b/Master/texmf-dist/tex/latex/koma-script/listings.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,22 +62,36 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{listings.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (hacking package listings)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \newcommand*{\scr@do@hack@listings}{% \RequirePackage{tocbasic}% \addtotoclist[float]{lol}% \setuptoc{lol}{chapteratlist}% \PackageInfo{scrhack}{redefining \string\lstlistoflistings}% \renewcommand*{\lstlistoflistings}{\listoftoc[{\lstlistlistingname}]{lol}}% + \providecommand*{\ext@lstlisting}{lol}% + \@tempswafalse + \xpatchcmd\lst@MakeCaption + {\addcontentsline{lol}}% + {\addcontentsline{\ext@lstlisting}}% + {\PackageInfo{scrhack}{patching \string\lst@MakeCaption}\@tempswatrue}% + {\PackageWarning{scrhack}{cannot patch \string\lst@MakeCaption}}% + \@whilesw\if@tempswa\fi{% + \xpatchcmd\lst@MakeCaption + {\addcontentsline{lol}}% + {\addcontentsline{\ext@lstlisting}}% + {}% + {\@tempswafalse}% + }% \AtBeginDocument{% \scr@ifexpected{\float@addtolists}{% \def\float@addtolists##1{\addtocontents{lol}{##1}}% diff --git a/Master/texmf-dist/tex/latex/koma-script/lscape.hak b/Master/texmf-dist/tex/latex/koma-script/lscape.hak index c9e4c5f8875..ae5e175728e 100644 --- a/Master/texmf-dist/tex/latex/koma-script/lscape.hak +++ b/Master/texmf-dist/tex/latex/koma-script/lscape.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,16 +62,16 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{lscape.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (hacking package lscape)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \xpatchcmd{\landscape}{\textheight=\vsize}{% \if@scrhack@lscape \scrh@LT@textheight=\vsize diff --git a/Master/texmf-dist/tex/latex/koma-script/nomencl.hak b/Master/texmf-dist/tex/latex/koma-script/nomencl.hak index f3adeb123ae..6e99a43d9da 100644 --- a/Master/texmf-dist/tex/latex/koma-script/nomencl.hak +++ b/Master/texmf-dist/tex/latex/koma-script/nomencl.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,16 +62,16 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{nomencl.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (hacking package nomencl)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \RequirePackage{tocbasic} \@ifpackagelater{nomencl}{2019/01/01}{% \PackageInfo{scrhack}{only `tocbasic' loaded for `nomencl'}% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls b/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls index 436c632d1ad..bd3ae7023bc 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls @@ -84,7 +84,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -106,7 +106,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@clsextension}{\@clsextension} \AtBeginDocument{% @@ -119,16 +119,16 @@ article% } \ProvidesClass{\KOMAClassName}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script document class (\ClassName)% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] %%% From File: $Id: scrkernel-listsof.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: prepare) \RequirePackage{tocbasic}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script ] \addtotoclist[ToC]{toc} \Ifstr{\ext@toc}{toc}{}{% @@ -136,9 +136,9 @@ \expandafter[\expandafter T\expandafter o\expandafter C\expandafter ]% \expandafter{\ext@toc}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: prepare) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: prepare) \newcommand*{\scr@dotchangeatdocument}[1]{% \ClassError{\KOMAClassName}{% @@ -199,7 +199,7 @@ \newcommand*{\size@subparagraph}{} \newcommand*{\scr@fnt@subparagraph}{\size@subparagraph} \newcommand*{\sectfont}{\normalcolor\maybesffamily\bfseries} -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: init) \newcommand* {\scr@compatibility}{\scr@v@last} @@ -287,10 +287,11 @@ \@namedef{scr@v@3.38}{20} \@namedef{scr@v@3.39}{20} \@namedef{scr@v@3.40}{20} -\@namedef{scr@v@last}{20} +\@namedef{scr@v@3.41}{21} +\@namedef{scr@v@last}{21} %%% From File: $Id: scrkernel-typearea.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: init) -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \newif\if@scr@emulatestandardclasses \let\scr@emulatestandardclassestrue\relax @@ -925,9 +926,9 @@ \KOMA@ifkey{abstract}{@abstrt} \KOMA@DeclareDeprecatedOption{abstracton}{abstract=true} \KOMA@DeclareDeprecatedOption{abstractoff}{abstract=false} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: option) \KOMA@key{numbers}{% \KOMA@set@ncmdkey{numbers}{@tempa}{% @@ -1143,7 +1144,7 @@ \KOMA@DeclareDeprecatedOption{bigheadings}{headings=big} \KOMA@DeclareDeprecatedOption{normalheadings}{headings=normal} \KOMA@DeclareDeprecatedOption{smallheadings}{headings=small} -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: option) \KOMA@ifkey{headsepline}{@hsl}% \KOMA@kav@add{\KOMAClassFileName}{headsepline}{false} @@ -1250,7 +1251,7 @@ \KOMA@DeclareDeprecatedOption{cleardoubleempty}{cleardoublepage=empty} \KOMA@DeclareDeprecatedOption{cleardoubleplain}{cleardoublepage=plain} \KOMA@DeclareDeprecatedOption{cleardoublestandard}{cleardoublepage=current} -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \newif\if@captionabove\@captionabovefalse \newif\if@tablecaptionabove\@tablecaptionabovefalse @@ -1858,7 +1859,7 @@ \KOMA@DeclareStandardOption{openbib}{bibliography=openstyle} \KOMA@DeclareDeprecatedOption{bibtotoc}{bibliography=totoc} \KOMA@DeclareDeprecatedOption{bibtotocnumbered}{bibliography=totocnumbered} -%%% From File: $Id: scrkernel-index.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-index.dtx 4052 2023-05-05 11:41:51Z kohm $ %%% (run: option) \newcommand*{\idx@@heading}{% \ifidx@leveldown @@ -1867,6 +1868,25 @@ \expandafter\section \fi*% } +\newcommand*{\idx@@forcemark}[1]{% + \ifidx@leveldown + \begingroup + \value{secnumdepth}=-\maxdimen + \subsectionmark{#1}% + \endgroup + \else + \@mkdouble{\MakeMarkcase{#1}}% + \fi +} +\newcommand*{\idx@@forcemarknumbered}[1]{% + \ifidx@leveldown + \subsectionmark{#1}% + \else + \sectionmark{#1}% + \fi +} +\newcommand*{\idx@@mark}{} +\let\idx@@mark\idx@@forcemark \newif\ifidx@leveldown \KOMA@key{index}{% \KOMA@set@ncmdkey{index}{@tempa}{% @@ -1894,6 +1914,7 @@ \expandafter\section \fi*% }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -1905,11 +1926,12 @@ \KOMA@kav@add{\KOMAClassFileName}{index}{toc}% \renewcommand*{\idx@@heading}{% \ifidx@leveldown - \expandafter\subsection\expandafter* + \expandafter\expandafter\expandafter\subsection\expandafter*% \else \expandafter\addsec \fi }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -1926,6 +1948,7 @@ \expandafter\section \fi }% + \let\idx@@mark\idx@@forcemarknumbered \or \KOMA@kav@remove{\KOMAClassFileName}{index}{leveldown}% \KOMA@kav@remove{\KOMAClassFileName}{index}{standardlevel}% @@ -1945,7 +1968,7 @@ \KOMA@DeclareDeprecatedOption{idxtotoc}{index=totoc} %%% From File: $Id: scrkernel-listsandtabulars.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: execoption) \KOMAExecuteOptions{numbers=autoendperiod} %%% From File: $Id: scrkernel-miscellaneous.dtx 4032 2023-04-17 09:45:11Z kohm $ @@ -1955,7 +1978,7 @@ headings=big% } \KOMAProcessOptions\relax -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \AtBeginDocument{% \begingroup @@ -3153,10 +3176,10 @@ \newcommand*\abstractname{Abstract} \providecaptionname{american,australian,british,canadian,english,newzealand,% UKenglish,ukenglish,USenglish,usenglish}\abstractname{Abstract} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: body) \let\numberline\scr@numberline -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,part) \CloneTOCEntryStyle{tocline}{part} \TOCEntryStyleStartInitCode{part}{% @@ -3170,7 +3193,7 @@ \expandafter\providecommand\expandafter*% \csname scr@tso@#1@beforeskip\endcsname{2.25em \@plus\p@}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,section) \CloneTOCEntryStyle{tocline}{section} \TOCEntryStyleStartInitCode{section}{% @@ -3189,17 +3212,17 @@ \expandafter\providecommand\expandafter*% \csname scr@tso@#1@beforeskip\endcsname{1.0em \@plus\p@}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,subsection) \CloneTOCEntryStyle{tocline}{subsection} \TOCEntryStyleStartInitCode{subsection}{% \expandafter\providecommand% \csname scr@tso@#1@linefill\endcsname{\TOCLineLeaderFill\relax}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,default) \CloneTOCEntryStyle{subsection}{default} -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: body) \BeforeClosingMainAux{% \if@autodot\if@filesw\immediate\write\@mainaux{% @@ -3662,10 +3685,23 @@ \providecommand*\@currentlabelname{} \FamilyStringKey[.section]{KOMAarg}{tocentry}{\@currenttocentry} \FamilyStringKey[.section]{KOMAarg}{head}{\@currentheadentry} +\IfLTXAtLeastTF{2020/10/01}{% + \NewHook{\KOMAClassName/option/section/reference/fallback}% +}{}% \DefineFamilyKey[.section]{KOMAarg}{reference}{% \scr@ifundefinedorrelax{NR@gettitle}{% \scr@ifundefinedorrelax{GetTitleString}{% - \def\@currentlabelname{#1}% + \begingroup + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \scr@ifundefinedorrelax{UseHook}{}{% + \UseHook{\KOMAClassName/option/section/reference/fallback}% + }% + \protected@edef\@currentlabelname{#1}% + \expandafter\expandafter\expandafter\endgroup + \expandafter\def\expandafter\@currentlabelname\expandafter{% + \@currentlabelname}% }{% \GetTitleString{#1}% \let\@currentlabelname\GetTitleStringResult @@ -5410,7 +5446,7 @@ \let\scr@mt@saved@sect\relax \fi } -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \newcommand*{\set@tempdima@hw}{% \setlength{\@tempdima}{\textwidth}% @@ -5471,11 +5507,16 @@ \if@twoside\else\hfil\fi}}}}\hss}% \renewcommand*{\sectionmark}[1]{% \if@twoside\expandafter\markboth\else\expandafter\markright\fi - {\MakeMarkcase{\Ifnumbered{section}{\sectionmarkformat}{}##1}}{}}% + {% + \Ifnumbered{section}{\MakeMarkcase{\sectionmarkformat}}{}% + \MakeMarkcase{##1}% + }{}% + }% \renewcommand*{\subsectionmark}[1]{% \if@twoside \markright{% - \MakeMarkcase{\Ifnumbered{subsection}{\subsectionmarkformat}{}##1}% + \Ifnumbered{subsection}{\MakeMarkcase{\subsectionmarkformat}}{}% + \MakeMarkcase{##1}% }% \fi }% @@ -5506,7 +5547,7 @@ \newcommand*{\indexpagestyle}{plain} \pagestyle{plain} \pagenumbering{arabic} -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \providecommand*{\@mkleft}{% \IfActiveMkBoth{\markleft}{\@gobble}% @@ -5517,7 +5558,7 @@ \providecommand{\@mkdouble}[1]{% \@mkboth{#1}{#1}% } -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \newlength{\abovecaptionskip} \newlength{\belowcaptionskip} @@ -5671,15 +5712,20 @@ \dofullc@pfalse\@capbreaktrue } \newcommand*{\setcaphanging}{\dofullc@ptrue\@capbreakfalse} +\expandafter\ifnum\scr@v@is@ge{3.41}% + \newcommand*{\captionnopagebreak}{\nopagebreak} +\else + \newcommand*{\captionnopagebreak}{} +\fi \newcommand{\@makecaption}[2]{% \if@captionabove \vskip\belowcaptionskip \else - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \fi \@@makecaption\@firstofone{#1}{#2}% \if@captionabove - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \else \vskip\belowcaptionskip \fi @@ -6673,7 +6719,7 @@ } \newcommand{\AfterBibliographyPreamble}{\g@addto@macro\bib@before@hook} \newcommand{\AtEndBibliography}{\g@addto@macro\bib@after@hook} -%%% From File: $Id: scrkernel-index.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-index.dtx 4052 2023-05-05 11:41:51Z kohm $ %%% (run: body) \newcommand*{\index@preamble}{} \let\index@preamble=\relax @@ -6681,14 +6727,7 @@ \newcommand*{\idx@heading}{% \twocolumn[% \idx@@heading{\indexname}]% - \ifidx@leveldown - \begingroup - \c@secnumdepth=-\maxdimen - \subsectionmark{\indexname}% - \endgroup - \else - \@mkdouble{\MakeMarkcase{\indexname}}% - \fi + \idx@@mark{\indexname}% } \newenvironment{theindex}{% \if@twocolumn diff --git a/Master/texmf-dist/tex/latex/koma-script/scrarticle.cls b/Master/texmf-dist/tex/latex/koma-script/scrarticle.cls index 23e9905d71c..2d9b3800c52 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrarticle.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrarticle.cls @@ -38,7 +38,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -60,7 +60,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@clsextension}{\@clsextension} \AtBeginDocument{% @@ -75,7 +75,7 @@ \newcommand*{\KOMALongClassFileName}{\KOMALongClassName.\@clsextension} \edef\KOMALongClassFileName{\KOMALongClassFileName} \ProvidesClass{\KOMALongClassName}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script document class (\ClassName)% ] \let\ClassName\relax diff --git a/Master/texmf-dist/tex/latex/koma-script/scrbase.sty b/Master/texmf-dist/tex/latex/koma-script/scrbase.sty index 74c01b8380c..23b1c3208c7 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrbase.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrbase.sty @@ -44,7 +44,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -66,19 +66,19 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% \let\scr@pkgextension\@pkgextension } -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: prepare) \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{% scrbase% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (% KOMA-Script-independent @@ -304,7 +304,7 @@ \@for\CurrentOption:=\@raw@classoptionslist\do{% \scr@trim@spaces\CurrentOption \ifx\CurrentOption\@empty\else - \@ifundefined{ds@\CurrentOption}{% + \@ifundefined{ds@\expandafter\detokenize\expandafter{\CurrentOption}}{% \scr@ifprocess@curroption{#1}{#2}{% \@expandtwoargs\@removeelement{% \expandafter\@remove@eq@value\CurrentOption=\@nil}% @@ -349,7 +349,7 @@ \else \let\CurrentOption\reserved@a \fi - \@ifundefined{ds@\CurrentOption}{% + \@ifundefined{ds@\expandafter\detokenize\expandafter{\CurrentOption}}{% \@use@ption \scr@ifprocess@curroption{#1}{#2}{}\default@ds }\@use@ption @@ -597,7 +597,7 @@ \long\def\l@addto@macro#1#2{% \edef#1{\unexpanded\expandafter{#1#2}}% }% -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: option) \DefineFamily{KOMA} \DefineFamilyMember{KOMA} @@ -611,7 +611,7 @@ \FamilyProcessOptions{KOMA}\relax %%% From File: $Id: scrkernel-language.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: body) \newcommand*{\XdivY}[2]{% \numexpr ( #1 + #2 / 2 ) / #2 - 1\relax diff --git a/Master/texmf-dist/tex/latex/koma-script/scrbook.cls b/Master/texmf-dist/tex/latex/koma-script/scrbook.cls index c452b8a4fa4..978a437f953 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrbook.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrbook.cls @@ -84,7 +84,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -106,7 +106,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@clsextension}{\@clsextension} \AtBeginDocument{% @@ -119,16 +119,16 @@ book% } \ProvidesClass{\KOMAClassName}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script document class (\ClassName)% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] %%% From File: $Id: scrkernel-listsof.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: prepare) \RequirePackage{tocbasic}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script ] \AtAddToTocList[\@currname.\@currext]{\setuptoc{\@currext}{onecolumn}}% \AtAddToTocList[ToC]{\setuptoc{\@currext}{onecolumn}}% @@ -139,9 +139,9 @@ \expandafter{\ext@toc}% } \AtAddToTocList[float]{\setuptoc{\@currext}{onecolumn}}% -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: prepare) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: prepare) \newif\if@openright \@openrighttrue @@ -228,7 +228,7 @@ \newcommand*{\size@subparagraph}{} \newcommand*{\scr@fnt@subparagraph}{\size@subparagraph} \newcommand*{\sectfont}{\normalcolor\maybesffamily\bfseries} -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: init) \newcommand* {\scr@compatibility}{\scr@v@last} @@ -316,10 +316,11 @@ \@namedef{scr@v@3.38}{20} \@namedef{scr@v@3.39}{20} \@namedef{scr@v@3.40}{20} -\@namedef{scr@v@last}{20} +\@namedef{scr@v@3.41}{21} +\@namedef{scr@v@last}{21} %%% From File: $Id: scrkernel-typearea.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: init) -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \newif\if@scr@emulatestandardclasses \let\scr@emulatestandardclassestrue\relax @@ -950,9 +951,9 @@ }{titlepage}{\if@titlepage true\else false\fi} \KOMA@DeclareStandardOption% {notitlepage}{titlepage=false} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: option) \KOMA@key{open}{% \KOMA@set@ncmdkey{open}{@tempa}{% @@ -1340,7 +1341,7 @@ \KOMA@DeclareDeprecatedOption{bigheadings}{headings=big} \KOMA@DeclareDeprecatedOption{normalheadings}{headings=normal} \KOMA@DeclareDeprecatedOption{smallheadings}{headings=small} -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: option) \KOMA@ifkey{headsepline}{@hsl}% \KOMA@kav@add{\KOMAClassFileName}{headsepline}{false} @@ -1447,7 +1448,7 @@ \KOMA@DeclareDeprecatedOption{cleardoubleempty}{cleardoublepage=empty} \KOMA@DeclareDeprecatedOption{cleardoubleplain}{cleardoublepage=plain} \KOMA@DeclareDeprecatedOption{cleardoublestandard}{cleardoublepage=current} -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \newif\if@captionabove\@captionabovefalse \newif\if@tablecaptionabove\@tablecaptionabovefalse @@ -2103,7 +2104,7 @@ \KOMA@DeclareStandardOption{openbib}{bibliography=openstyle} \KOMA@DeclareDeprecatedOption{bibtotoc}{bibliography=totoc} \KOMA@DeclareDeprecatedOption{bibtotocnumbered}{bibliography=totocnumbered} -%%% From File: $Id: scrkernel-index.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-index.dtx 4052 2023-05-05 11:41:51Z kohm $ %%% (run: option) \newcommand*{\idx@@heading}{% \ifidx@leveldown @@ -2112,6 +2113,22 @@ \expandafter\chapter \fi*% } +\newcommand*{\idx@@forcemark}[1]{% + \ifidx@leveldown + \addsecmark{#1}% + \else + \@mkdouble{\MakeMarkcase{#1}}% + \fi +} +\newcommand*{\idx@@forcemarknumbered}[1]{% + \ifidx@leveldown + \sectionmark{#1}% + \else + \chaptermark{#1}% + \fi +} +\newcommand*{\idx@@mark}{} +\let\idx@@mark\idx@@forcemark \newif\ifidx@leveldown \KOMA@key{index}{% \KOMA@set@ncmdkey{index}{@tempa}{% @@ -2139,6 +2156,7 @@ \expandafter\chapter \fi*% }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -2155,6 +2173,7 @@ \expandafter\addchap \fi }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -2171,6 +2190,7 @@ \expandafter\chapter \fi }% + \let\idx@@mark\idx@@forcemarknumbered \or \KOMA@kav@remove{\KOMAClassFileName}{index}{leveldown}% \KOMA@kav@remove{\KOMAClassFileName}{index}{standardlevel}% @@ -2190,7 +2210,7 @@ \KOMA@DeclareDeprecatedOption{idxtotoc}{index=totoc} %%% From File: $Id: scrkernel-listsandtabulars.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: execoption) \KOMAExecuteOptions{headings=openright} \KOMAExecuteOptions{numbers=autoendperiod} @@ -2201,7 +2221,7 @@ headings=big% } \KOMAProcessOptions\relax -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \AtBeginDocument{% \begingroup @@ -3371,10 +3391,10 @@ \newcommand*{\scr@fnt@title}{\titlefont}% \newcommand*{\subject@font}{\normalfont\normalcolor\bfseries\Large}% \newcommand*{\scr@fnt@subject}{\subject@font}% -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: body) \let\numberline\scr@numberline -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,part) \CloneTOCEntryStyle{tocline}{part} \TOCEntryStyleStartInitCode{part}{% @@ -3388,7 +3408,7 @@ \expandafter\providecommand\expandafter*% \csname scr@tso@#1@beforeskip\endcsname{2.25em \@plus\p@}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,chapter) \CloneTOCEntryStyle{tocline}{chapter} \TOCEntryStyleStartInitCode{chapter}{% @@ -3408,17 +3428,17 @@ \expandafter\providecommand\expandafter*% \csname scr@tso@#1@beforeskip\endcsname{1.0em \@plus\p@}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,section) \CloneTOCEntryStyle{tocline}{section} \TOCEntryStyleStartInitCode{section}{% \expandafter\providecommand% \csname scr@tso@#1@linefill\endcsname{\TOCLineLeaderFill\relax}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,default) \CloneTOCEntryStyle{section}{default} -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: body) \BeforeClosingMainAux{% \if@autodot\if@filesw\immediate\write\@mainaux{% @@ -3881,10 +3901,23 @@ \providecommand*\@currentlabelname{} \FamilyStringKey[.section]{KOMAarg}{tocentry}{\@currenttocentry} \FamilyStringKey[.section]{KOMAarg}{head}{\@currentheadentry} +\IfLTXAtLeastTF{2020/10/01}{% + \NewHook{\KOMAClassName/option/section/reference/fallback}% +}{}% \DefineFamilyKey[.section]{KOMAarg}{reference}{% \scr@ifundefinedorrelax{NR@gettitle}{% \scr@ifundefinedorrelax{GetTitleString}{% - \def\@currentlabelname{#1}% + \begingroup + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \scr@ifundefinedorrelax{UseHook}{}{% + \UseHook{\KOMAClassName/option/section/reference/fallback}% + }% + \protected@edef\@currentlabelname{#1}% + \expandafter\expandafter\expandafter\endgroup + \expandafter\def\expandafter\@currentlabelname\expandafter{% + \@currentlabelname}% }{% \GetTitleString{#1}% \let\@currentlabelname\GetTitleStringResult @@ -6342,7 +6375,7 @@ \let\scr@mt@saved@sect\relax \fi } -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \newcommand*{\set@tempdima@hw}{% \setlength{\@tempdima}{\textwidth}% @@ -6403,17 +6436,20 @@ \if@twoside\else\hfil\fi}}}}\hss}% \renewcommand*{\chaptermark}[1]{% \if@twoside\expandafter\markboth\else\expandafter\markright\fi - {\MakeMarkcase{\Ifnumbered{chapter}{% - \if@mainmatter - \chaptermarkformat - \fi - }{}##1}% + {% + \Ifnumbered{chapter}{% + \if@mainmatter + \MakeMarkcase{\chaptermarkformat}% + \fi + }{}\MakeMarkcase{##1}% }{}% }% \renewcommand*{\sectionmark}[1]{% \if@twoside - \markright{\MakeMarkcase{\Ifnumbered{section}{\sectionmarkformat}{}% - ##1}}% + \markright{% + \Ifnumbered{section}{\MakeMarkcase{\sectionmarkformat}}{}% + \MakeMarkcase{##1}% + }% \fi }% }% @@ -6443,7 +6479,7 @@ \newcommand*{\indexpagestyle}{plain} \pagestyle{headings} \pagenumbering{arabic} -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \providecommand*{\@mkleft}{% \IfActiveMkBoth{\markleft}{\@gobble}% @@ -6454,7 +6490,7 @@ \providecommand{\@mkdouble}[1]{% \@mkboth{#1}{#1}% } -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \newlength{\abovecaptionskip} \newlength{\belowcaptionskip} @@ -6608,15 +6644,20 @@ \dofullc@pfalse\@capbreaktrue } \newcommand*{\setcaphanging}{\dofullc@ptrue\@capbreakfalse} +\expandafter\ifnum\scr@v@is@ge{3.41}% + \newcommand*{\captionnopagebreak}{\nopagebreak} +\else + \newcommand*{\captionnopagebreak}{} +\fi \newcommand{\@makecaption}[2]{% \if@captionabove \vskip\belowcaptionskip \else - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \fi \@@makecaption\@firstofone{#1}{#2}% \if@captionabove - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \else \vskip\belowcaptionskip \fi @@ -7619,21 +7660,17 @@ } \newcommand{\AfterBibliographyPreamble}{\g@addto@macro\bib@before@hook} \newcommand{\AtEndBibliography}{\g@addto@macro\bib@after@hook} -%%% From File: $Id: scrkernel-index.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-index.dtx 4052 2023-05-05 11:41:51Z kohm $ %%% (run: body) \newcommand*{\index@preamble}{} \let\index@preamble=\relax \newcommand{\setindexpreamble}[1]{\def\index@preamble{#1}} \newcommand*{\idx@heading}{% - \if@openright\cleardoublepage\else\clearpage\fi% + \ifidx@leveldown\else\if@openright\cleardoublepage\else\clearpage\fi\fi \twocolumn[% \@chaptertolistsfalse \idx@@heading{\indexname}]% - \ifidx@leveldown - \addsecmark{\indexname}% - \else - \@mkdouble{\MakeMarkcase{\indexname}}% - \fi + \idx@@mark{\indexname}% } \newenvironment{theindex}{% \if@twocolumn diff --git a/Master/texmf-dist/tex/latex/koma-script/scrdate.sty b/Master/texmf-dist/tex/latex/koma-script/scrdate.sty index 6ccecfd6ae1..64eeb1a8cf4 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrdate.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrdate.sty @@ -43,7 +43,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -65,7 +65,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% @@ -74,11 +74,11 @@ %%% From File: $Id: scrtime.dtx 4032 2023-04-17 09:45:11Z kohm $ \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{scrdate}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (day of the week)% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] %%% From File: $Id: scrtime.dtx 4032 2023-04-17 09:45:11Z kohm $ diff --git a/Master/texmf-dist/tex/latex/koma-script/scrextend.sty b/Master/texmf-dist/tex/latex/koma-script/scrextend.sty index b0c0db4cc74..7a8a9a9d391 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrextend.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrextend.sty @@ -78,7 +78,7 @@ }% \expandafter\endinput \fi -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -100,7 +100,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% @@ -109,7 +109,7 @@ %%% From File: $Id: scrextend.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: prepare) \ProvidesPackage{scrextend}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (extend other classes with features of KOMA-Script classes)% ] \newcommand*{\scr@ext@activate}[1]{% @@ -133,13 +133,13 @@ \expandafter\g@addto@macro\csname scr@ext@activate@#1\endcsname }% } -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: prepare) \newcommand*{\sectfont}{\normalcolor\maybesffamily\bfseries} -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: init) \providecommand* {\scr@compatibility}{\scr@v@last} @@ -227,7 +227,8 @@ \@namedef{scr@v@3.38}{20} \@namedef{scr@v@3.39}{20} \@namedef{scr@v@3.40}{20} -\@namedef{scr@v@last}{20} +\@namedef{scr@v@3.41}{21} +\@namedef{scr@v@last}{21} %%% From File: $Id: scrextend.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) \KOMA@key{extendedfeature}{% @@ -252,7 +253,7 @@ \def\FamilyKeyState{Option `extendedfeature' too late}% }% } -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \KOMA@key{version}[last]{% \scr@ifundefinedorrelax{scr@v@#1}{% @@ -535,9 +536,9 @@ \KOMA@DeclareStandardOption% [scrextend]% {notitlepage}{titlepage=false} -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: option) \KOMA@key{cleardoublepage}{% \begingroup @@ -621,7 +622,7 @@ {\pagestyle{#1}\cleardoublestandardpage}} \newcommand*{\cleardoubleemptypage}{\cleardoublepageusingstyle{empty}} \newcommand*{\cleardoubleplainpage}{\cleardoublepageusingstyle{plain}} -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) %%% From File: $Id: scrkernel-footnotes.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) @@ -696,12 +697,12 @@ \relax} %%% From File: $Id: scrkernel-listsandtabulars.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: execoption) %%% From File: $Id: scrkernel-miscellaneous.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: execoption) \KOMAProcessOptions\relax -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \AtBeginDocument{% \begingroup @@ -1516,7 +1517,7 @@ \newcommand*{\scr@fnt@title}{\titlefont}% \newcommand*{\subject@font}{\normalfont\normalcolor\bfseries\Large}% \newcommand*{\scr@fnt@subject}{\subject@font}% -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: body) \newcommand*{\scr@fnt@disposition}{\sectfont} \aliaskomafont{sectioning}{disposition} @@ -1627,9 +1628,9 @@ {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}% } \providecommand*{\scr@endstrut}{\unskip\ifhmode\nobreak\strut\fi} -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) %%% From File: $Id: scrkernel-footnotes.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: body) diff --git a/Master/texmf-dist/tex/latex/koma-script/scrfontsizes.sty b/Master/texmf-dist/tex/latex/koma-script/scrfontsizes.sty index c6f6f368225..7de61ad9163 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrfontsizes.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrfontsizes.sty @@ -42,7 +42,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -64,7 +64,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% @@ -73,7 +73,7 @@ %%% From File: $Id: scrkernel-fonts.dtx 4034 2023-04-20 08:03:46Z kohm $ %%% (run: identify) \ProvidesPackage{scrfontsizes}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (font size file generator)] %%% From File: $Id: scrkernel-fonts.dtx 4034 2023-04-20 08:03:46Z kohm $ %%% (run: option) diff --git a/Master/texmf-dist/tex/latex/koma-script/scrhack.sty b/Master/texmf-dist/tex/latex/koma-script/scrhack.sty index 5d0bb9b214f..b0d4b05ed65 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrhack.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrhack.sty @@ -43,7 +43,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -65,22 +65,22 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% \let\scr@pkgextension\@pkgextension } -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ %%% using: package,identify \ProvidesPackage{scrhack}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (hacking other packages)% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ %%% using: package,option \KOMA@ifkey{hyperref}{@scrhack@hyperref}% \KOMAExecuteOptions{hyperref=true}% @@ -101,7 +101,7 @@ \KOMA@ifkey{standardsections}{@scrhack@standardsections} \KOMAExecuteOptions{standardsections=false} \KOMAProcessOptions\relax -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ %%% using: package,body \newcommand{\scr@ifexpected}[2]{% \begingroup diff --git a/Master/texmf-dist/tex/latex/koma-script/scrjura.sty b/Master/texmf-dist/tex/latex/koma-script/scrjura.sty index d107a6c9d9f..f09f5f8796b 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrjura.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrjura.sty @@ -44,15 +44,15 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrjura.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrjura.dtx 4062 2023-06-24 15:55:11Z kohm $ %%% (run: identify) \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{scrjura}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (for jurists) ] -%%% From File: $Id: scrjura.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrjura.dtx 4062 2023-06-24 15:55:11Z kohm $ %%% (run: init) \@ifpackageloaded{hyperref}{% \PackageError{scrjura}{Package hyperref already loaded}{% @@ -70,7 +70,7 @@ numwidth=2em, level=\maxdimen ]{default}{cpar} -%%% From File: $Id: scrjura.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrjura.dtx 4062 2023-06-24 15:55:11Z kohm $ %%% (run: options) \KOMA@ifkey{contract}{@documentcontract} \IfLTXAtLeastTF{2020/10/01}{% @@ -281,10 +281,10 @@ \KOMA@DeclareDeprecatedOption[scrjura]{parcitename}{ref=parlong} \KOMA@DeclareDeprecatedOption[scrjura]{sentencecitename}{ref=sentencelong} } -%%% From File: $Id: scrjura.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrjura.dtx 4062 2023-06-24 15:55:11Z kohm $ %%% (run: postoptions) \KOMAProcessOptions\relax -%%% From File: $Id: scrjura.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrjura.dtx 4062 2023-06-24 15:55:11Z kohm $ %%% (run: body) \providecommand*{\DeprecatedParagraph}{% \PackageError{scrjura}{modification of old document needed}{% @@ -529,9 +529,9 @@ \newcommand*{\contract@paragraph@font}{\usekomafont{Clause}% \@hangfrom} \newcounter{@AbsClause} -\newcommand*{\theH@AbsClause}{P-\arabic{@AbsClause}} -\newcommand*{\theHClause}{\theH@AbsClause} -\newcommand*{\theHSubClause}{\theH@AbsClause} +\def\theH@AbsClause{P-\arabic{@AbsClause}} +\def\theHClause{\theH@AbsClause} +\def\theHSubClause{\theH@AbsClause} \newcommand*{\contract@paragraph}[1]{% \stepcounter{\scrjura@env@type AbsoluteClause}% \ManualPar\parnumbertrue @@ -560,6 +560,7 @@ \protect\@nameuse{\scrjura@env@type @Clauseformat}{\contract@number}% }% \protected@edef\@currentlabel{\theClause}% + \def\@currentcounter{Clause}% \fi \stepcounter{@AbsClause}% \begingroup\expandafter\expandafter\expandafter\endgroup @@ -618,6 +619,7 @@ \endgroup \protected@edef\theSubClause{\theClause\contract@number}% \protected@edef\@currentlabel{\theSubClause}% + \def\@currentcounter{SubClause}% \fi \stepcounter{@AbsClause}% \begingroup\expandafter\expandafter\expandafter\endgroup @@ -755,7 +757,7 @@ \newcommand*{\scrjura@@usetype}[1]{} \newcounter{par} \renewcommand*{\thepar}{\arabic{par}} -\newcommand*{\theHpar}{\theH@AbsClause-\Roman{par}} +\def\theHpar{\theH@AbsClause-\Roman{par}} \newcommand*{\parformat}{(\thepar)} \newcommand*{\parformatseparation}{\nobreakspace} \newkomafont{parnumber}{} @@ -1000,7 +1002,7 @@ } \newcounter{sentence}[par] \renewcommand*{\thesentence}{\arabic{sentence}} -\newcommand*{\theHsentence}{\theHpar-\arabic{sentence}} +\def\theHsentence{\theHpar-\arabic{sentence}} \scr@ifundefinedorrelax{labelformat}{% \renewcommand*{\p@sentence}{\expandafter\p@@sentence} \newcommand*{\p@@sentence}[1]{\p@par{{\par@cite{\thepar}}% @@ -1119,7 +1121,7 @@ }% \fi } -%%% From File: $Id: scrjura.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrjura.dtx 4062 2023-06-24 15:55:11Z kohm $ %%% (run: final) %%% From File: $Id: scrlogo.dtx 4032 2023-04-17 09:45:11Z kohm $ \RequirePackage{scrlogo} diff --git a/Master/texmf-dist/tex/latex/koma-script/scrkbase.sty b/Master/texmf-dist/tex/latex/koma-script/scrkbase.sty index 68cf4ab1291..8a564281db9 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrkbase.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrkbase.sty @@ -44,7 +44,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -66,19 +66,19 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% \let\scr@pkgextension\@pkgextension } -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: prepare) \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{% scrkbase% }[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (% KOMA-Script-dependent @@ -242,12 +242,12 @@ } \newcommand*{\KOMAProcessOptions}{\FamilyProcessOptions{KOMA}} \@onlypreamble\KOMAProcessOptions -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: option) \KOMAProcessOptions\relax %%% From File: $Id: scrkernel-fonts.dtx 4034 2023-04-20 08:03:46Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: body) \newcommand*{\KOMAExecuteOptions}[1][\@currname.\@currext]{% \Ifstrstart{#1}{.}{% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlayer-notecolumn.sty b/Master/texmf-dist/tex/latex/koma-script/scrlayer-notecolumn.sty index 9e00e98f1f2..86838a940b1 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlayer-notecolumn.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlayer-notecolumn.sty @@ -66,7 +66,7 @@ 2023/04/17 v0.3.4032 KOMA-Script package (end user interface for scrlayer)] -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: init) \RequirePackage{scrlayer} \scr@ifundefinedorrelax{scrlayer@AtEndOfPackage}{% @@ -110,14 +110,14 @@ }% \batchmode\csname @@end\endcsname\end \fi -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: options) \KOMA@key{markcase}{% \begingroup \KOMA@set@ncmdkey{markcase}{reserved@a}{% - {upper}{0},{lower}{1},{used}{2},% - {ignoreuppercase}{3},{nouppercase}{3},% - {ignoreupper}{3},{noupper}{3}% + {upper}{0},{lower}{1},{title}{2},{used}{3},% + {ignoreuppercase}{4},{nouppercase}{4},% + {ignoreupper}{4},{noupper}{4}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed \aftergroup\FamilyKeyStateProcessed @@ -130,6 +130,15 @@ \aftergroup\MakeLowercase \aftergroup\scrlayer@forceignoreuppercasefalse \or + \scr@ifundefinedorrelax{MakeTitlecase}{% + \PackageWarning{scrlayer}{`markcase=title' ignored because + \string\MakeTitlecase\space not available}% + \aftergroup\MakeMarkcase + }{% + \aftergroup\MakeTitlecase + }% + \aftergroup\scrlayer@forceignoreuppercasefalse + \or \aftergroup\@firstofone \aftergroup\scrlayer@forceignoreuppercasefalse \else @@ -258,7 +267,7 @@ %%% (run: options) \KOMA@ifkey{autoclearnotecolumns}{slnc@autoclearnotecolumns} \slnc@autoclearnotecolumnstrue -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \KOMAProcessOptions\relax \expandafter\let diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty b/Master/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty index 47832412bad..722452297f4 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlayer-scrpage.sty @@ -49,10 +49,10 @@ %%% (run: identify) \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{scrlayer-scrpage}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (end user interface for scrlayer)] -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: init) \RequirePackage{scrlayer} \scr@ifundefinedorrelax{scrlayer@AtEndOfPackage}{% @@ -76,15 +76,15 @@ {pagestyleset=KOMA-Script}% }% } -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: options) \KOMA@key{markcase}{% \scrlayer@AtEndOfPackage{% \begingroup \KOMA@set@ncmdkey{markcase}{reserved@a}{% - {upper}{0},{lower}{1},{used}{2},% - {ignoreuppercase}{3},{nouppercase}{3},% - {ignoreupper}{3},{noupper}{3}% + {upper}{0},{lower}{1},{title}{2},{used}{3},% + {ignoreuppercase}{4},{nouppercase}{4},% + {ignoreupper}{4},{noupper}{4}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed \aftergroup\FamilyKeyStateProcessed @@ -97,6 +97,15 @@ \aftergroup\MakeLowercase \aftergroup\scrlayer@forceignoreuppercasefalse \or + \scr@ifundefinedorrelax{MakeTitlecase}{% + \PackageWarning{scrlayer}{`markcase=title' ignored because + \string\MakeTitlecase\space not available}% + \aftergroup\MakeMarkcase + }{% + \aftergroup\MakeTitlecase + }% + \aftergroup\scrlayer@forceignoreuppercasefalse + \or \aftergroup\@firstofone \aftergroup\scrlayer@forceignoreuppercasefalse \else @@ -635,7 +644,7 @@ \KOMA@ifkey{hmode}{sls@leavevmode} \KOMA@ifkey{autoenlargeheadfoot}{sls@autoenlarge} \KOMAExecuteOptions{autoenlargeheadfoot=true} -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \KOMAProcessOptions\relax \expandafter\let diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty b/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty index 9390ab5ca25..399e38813e1 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlayer.sty @@ -43,14 +43,14 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: identify) \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{scrlayer}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (defining layers and page styles)] -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: init) \newcommand*{\scrlayer@@inherited@options@cslist}{} \newcommand*{\scrlayer@@add@inherited@option}[1]{% @@ -145,14 +145,14 @@ \@namedef{scrlayer@deprecated@reported@for@#1}{\string #2}% }{}% } -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: options) \KOMA@key{markcase}{% \begingroup \KOMA@set@ncmdkey{markcase}{reserved@a}{% - {upper}{0},{lower}{1},{used}{2},% - {ignoreuppercase}{3},{nouppercase}{3},% - {ignoreupper}{3},{noupper}{3}% + {upper}{0},{lower}{1},{title}{2},{used}{3},% + {ignoreuppercase}{4},{nouppercase}{4},% + {ignoreupper}{4},{noupper}{4}% }{#1}% \ifx\FamilyKeyState\FamilyKeyStateProcessed \aftergroup\FamilyKeyStateProcessed @@ -165,6 +165,15 @@ \aftergroup\MakeLowercase \aftergroup\scrlayer@forceignoreuppercasefalse \or + \scr@ifundefinedorrelax{MakeTitlecase}{% + \PackageWarning{scrlayer}{`markcase=title' ignored because + \string\MakeTitlecase\space not available}% + \aftergroup\MakeMarkcase + }{% + \aftergroup\MakeTitlecase + }% + \aftergroup\scrlayer@forceignoreuppercasefalse + \or \aftergroup\@firstofone \aftergroup\scrlayer@forceignoreuppercasefalse \else @@ -189,9 +198,11 @@ \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{upper}% \else\ifx\MakeMarkcase\MakeLowercase \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{lower}% - \else\ifx\MakeMarkcase\scr@ignoreuppercase - \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{ignoreuppercase}% -\fi\fi\fi\fi + \else\ifx\MakeMarkcase\MakeTitlecase + \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{title}% + \else\ifx\MakeMarkcase\scr@ignoreuppercase + \KOMA@kav@replacevalue{scrlayer.sty}{markcase}{ignoreuppercase}% +\fi\fi\fi\fi\fi \DeclareRobustCommand*{\scrlayer@ignoreuppercase}[1]{% \begingroup \let\uppercase\@firstofone @@ -330,7 +341,7 @@ \scrlayer@@add@inherited@option{forceoverwrite} \KOMA@ifkey{autoremoveinterfaces}{scrlayer@autoremoveinterfaces} \scrlayer@@add@inherited@option{autoremoveinterfaces} -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \KOMAProcessOptions\relax \newcommand*{\rightfirstmark}{\expandafter\@rightmark\firstmark\@empty\@empty} @@ -470,11 +481,11 @@ \expandafter\endgroup \if@tempswa \@mkright{% - \MakeMarkcase{% - \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax - \else\if@mainmatter \csname #1markformat\endcsname\fi\fi - ##1% - }% + \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #1markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% \fi }% @@ -489,11 +500,11 @@ \expandafter\@mkdouble \fi {% - \MakeMarkcase{% - \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax - \else\if@mainmatter \csname #1markformat\endcsname\fi\fi - ##1% - }% + \ifnum \c@secnumdepth<\numexpr \csname #1numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #1markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }{}% }% }{}% @@ -509,14 +520,12 @@ = \numexpr \csname #2numdepth\endcsname +0\relax \expandafter\def\csname #2mark\endcsname##1{% \@mkdouble{% - \MakeMarkcase{% - \ifnum \c@secnumdepth<\numexpr - \csname #2numdepth\endcsname +0\relax - \else - \if@mainmatter \csname #2markformat\endcsname\fi - \fi - ##1% - }% + \ifnum \c@secnumdepth<\numexpr + \csname #2numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #2markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% }% \else @@ -528,25 +537,23 @@ \expandafter\endgroup \if@tempswa \@mkleft{% - \MakeMarkcase{% - \ifnum \c@secnumdepth - < \numexpr\csname #1numdepth\endcsname +0\relax - \else - \if@mainmatter \csname #1markformat\endcsname\fi - \fi - ##1% - }% + \ifnum \c@secnumdepth + < \numexpr\csname #1numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #1markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% \fi }% \expandafter\def\csname #2mark\endcsname##1{% \@mkboth{}{% - \MakeMarkcase{% - \ifnum \c@secnumdepth - < \numexpr \csname #2numdepth\endcsname +0\relax - \else\if@mainmatter \csname #2markformat\endcsname\fi\fi - ##1% - }% + \ifnum \c@secnumdepth + < \numexpr \csname #2numdepth\endcsname +0\relax + \else + \if@mainmatter \MakeMarkcase{\csname #2markformat\endcsname}\fi + \fi + \MakeMarkcase{##1}% }% }% \fi @@ -2356,7 +2363,7 @@ \@ifundefined{scrlayer@#1@onremove}{\@namedef{scrlayer@#1@onremove}{}}{}% \expandafter\l@addto@macro\csname scrlayer@#1@onremove\endcsname{#2}% } -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: final) \DeclareNewPageStyleByLayers{@everystyle@}{} \RedeclarePageStyleByLayers{empty}{} diff --git a/Master/texmf-dist/tex/latex/koma-script/scrletter.cls b/Master/texmf-dist/tex/latex/koma-script/scrletter.cls index c5e86eb155d..f303d672c09 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrletter.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrletter.cls @@ -38,7 +38,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -60,7 +60,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@clsextension}{\@clsextension} \AtBeginDocument{% @@ -75,7 +75,7 @@ \newcommand*{\KOMALongClassFileName}{\KOMALongClassName.\@clsextension} \edef\KOMALongClassFileName{\KOMALongClassFileName} \ProvidesClass{\KOMALongClassName}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script document class (\ClassName)% ] \let\ClassName\relax diff --git a/Master/texmf-dist/tex/latex/koma-script/scrletter.sty b/Master/texmf-dist/tex/latex/koma-script/scrletter.sty index 00b3f4e161c..622fb816bf8 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrletter.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrletter.sty @@ -62,7 +62,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -84,17 +84,17 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% \let\scr@pkgextension\@pkgextension } \ProvidesPackage{scrletter}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script letter package extending any KOMA-Script class% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] %%% From File: $Id: scrkernel-miscellaneous.dtx 4032 2023-04-17 09:45:11Z kohm $ @@ -242,7 +242,7 @@ because of unknown paper size.% }% } -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: option) %%% From File: $Id: scrkernel-notepaper.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) @@ -1870,7 +1870,7 @@ Internal macro `\string\@addtoplength' is deprecated.\MessageBreak Please use `\string\addtoplength' instead}% \addtoplength} -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \newcommand*{% \letterpagemark diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook-3.34.sty b/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook-3.34.sty index d1332a62201..be28704e714 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook-3.34.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook-3.34.sty @@ -41,7 +41,7 @@ %% %%% From File: $Id: scrlfile-hook.dtx$ \ProvidesPackage{scrlfile-hook-3.34}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (using LaTeX hooks)] \@ifundefined{IfFormatAtLeastTF}{% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty b/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty index 6b8cc5463b1..ed3b81a451f 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlfile-hook.sty @@ -41,7 +41,7 @@ %% %%% From File: $Id: scrlfile-hook.dtx$ \ProvidesPackage{scrlfile-hook}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (using LaTeX hooks)] \@ifundefined{IfFormatAtLeastTF}{% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty b/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty index 36ab96cc9c3..b5046e193cb 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlfile-patcholdlatex.sty @@ -41,7 +41,7 @@ %% %%% From File: $Id: scrlfile-patcholdlatex.dtx 3874 2022-06-05 10:38:02Z kohm $ \ProvidesPackage{scrlfile-patcholdlatex}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (patching old LaTeX kernels)] \@ifundefined{IfFormatAtLeastTF}{}{% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty b/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty index fce24cb991c..3dfa9be6ae2 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlfile.sty @@ -41,7 +41,7 @@ %% %%% From File: $Id: scrlfile.dtx 4032 2023-04-17 09:45:11Z kohm $ \ProvidesPackage{scrlfile}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (file load hooks)] \@ifundefined{IfFormatAtLeastTF}{% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlogo.sty b/Master/texmf-dist/tex/latex/koma-script/scrlogo.sty index ff099c5fc5e..d8397b31618 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlogo.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrlogo.sty @@ -40,7 +40,7 @@ %% %%% From File: $Id: scrlogo.dtx 4032 2023-04-17 09:45:11Z kohm $ \ProvidesPackage{scrlogo}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (logo)] \@ifundefined{KOMAScript}{% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrlttr2.cls b/Master/texmf-dist/tex/latex/koma-script/scrlttr2.cls index e0f755a422b..3b4f674a440 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrlttr2.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrlttr2.cls @@ -73,7 +73,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -95,7 +95,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@clsextension}{\@clsextension} \AtBeginDocument{% @@ -108,13 +108,13 @@ letter% } \ProvidesClass{\KOMAClassName}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script document class (\ClassName)% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: init) \newcommand* {\scr@compatibility}{\scr@v@last} @@ -202,10 +202,11 @@ \@namedef{scr@v@3.38}{20} \@namedef{scr@v@3.39}{20} \@namedef{scr@v@3.40}{20} -\@namedef{scr@v@last}{20} +\@namedef{scr@v@3.41}{21} +\@namedef{scr@v@last}{21} %%% From File: $Id: scrkernel-typearea.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: init) -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \KOMA@key{version}[last]{% \scr@ifundefinedorrelax{scr@v@#1}{% @@ -821,7 +822,7 @@ \KOMA@DeclareDeprecatedOption{parindent}{parskip=false} \KOMA@kav@add{\KOMAClassFileName}{parskip}{false} \KOMA@kav@add{\KOMAClassFileName}{parskip}{absolute} -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: option) \KOMA@ifkey{headsepline}{@hsl}% \KOMA@kav@add{\KOMAClassFileName}{headsepline}{false} @@ -928,7 +929,7 @@ \KOMA@DeclareDeprecatedOption{cleardoubleempty}{cleardoublepage=empty} \KOMA@DeclareDeprecatedOption{cleardoubleplain}{cleardoublepage=plain} \KOMA@DeclareDeprecatedOption{cleardoublestandard}{cleardoublepage=current} -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) %%% From File: $Id: scrkernel-footnotes.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) @@ -1567,7 +1568,7 @@ parskip=false,% } \KOMAProcessOptions\relax -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \AtBeginDocument{% \begingroup @@ -3488,7 +3489,7 @@ \@lowpenalty = 51 \@medpenalty =151 \@highpenalty =301 -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \newcommand*{\set@tempdima@hw}{% \setlength{\@tempdima}{\textwidth}% @@ -3585,7 +3586,7 @@ } \pagestyle{plain} \pagenumbering{arabic} -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) %%% From File: $Id: scrkernel-footnotes.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: body) diff --git a/Master/texmf-dist/tex/latex/koma-script/scrreport.cls b/Master/texmf-dist/tex/latex/koma-script/scrreport.cls index 5d111382a6f..cb85666c92e 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrreport.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrreport.cls @@ -38,7 +38,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -60,7 +60,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@clsextension}{\@clsextension} \AtBeginDocument{% @@ -75,7 +75,7 @@ \newcommand*{\KOMALongClassFileName}{\KOMALongClassName.\@clsextension} \edef\KOMALongClassFileName{\KOMALongClassFileName} \ProvidesClass{\KOMALongClassName}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script document class (\ClassName)% ] \let\ClassName\relax diff --git a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls index a53f9683906..9d4d0622269 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls @@ -84,7 +84,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -106,7 +106,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@clsextension}{\@clsextension} \AtBeginDocument{% @@ -119,16 +119,16 @@ report% } \ProvidesClass{\KOMAClassName}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script document class (\ClassName)% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] %%% From File: $Id: scrkernel-listsof.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: prepare) \RequirePackage{tocbasic}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script ] \AtAddToTocList[\@currname.\@currext]{\setuptoc{\@currext}{onecolumn}}% \AtAddToTocList[ToC]{\setuptoc{\@currext}{onecolumn}}% @@ -139,9 +139,9 @@ \expandafter{\ext@toc}% } \AtAddToTocList[float]{\setuptoc{\@currext}{onecolumn}}% -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: prepare) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: prepare) \newif\if@openright \@openrightfalse @@ -228,7 +228,7 @@ \newcommand*{\size@subparagraph}{} \newcommand*{\scr@fnt@subparagraph}{\size@subparagraph} \newcommand*{\sectfont}{\normalcolor\maybesffamily\bfseries} -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: init) \newcommand* {\scr@compatibility}{\scr@v@last} @@ -316,10 +316,11 @@ \@namedef{scr@v@3.38}{20} \@namedef{scr@v@3.39}{20} \@namedef{scr@v@3.40}{20} -\@namedef{scr@v@last}{20} +\@namedef{scr@v@3.41}{21} +\@namedef{scr@v@last}{21} %%% From File: $Id: scrkernel-typearea.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: init) -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \newif\if@scr@emulatestandardclasses \let\scr@emulatestandardclassestrue\relax @@ -954,9 +955,9 @@ \KOMA@ifkey{abstract}{@abstrt} \KOMA@DeclareDeprecatedOption{abstracton}{abstract=true} \KOMA@DeclareDeprecatedOption{abstractoff}{abstract=false} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: option) \KOMA@key{open}{% \KOMA@set@ncmdkey{open}{@tempa}{% @@ -1344,7 +1345,7 @@ \KOMA@DeclareDeprecatedOption{bigheadings}{headings=big} \KOMA@DeclareDeprecatedOption{normalheadings}{headings=normal} \KOMA@DeclareDeprecatedOption{smallheadings}{headings=small} -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: option) \KOMA@ifkey{headsepline}{@hsl}% \KOMA@kav@add{\KOMAClassFileName}{headsepline}{false} @@ -1451,7 +1452,7 @@ \KOMA@DeclareDeprecatedOption{cleardoubleempty}{cleardoublepage=empty} \KOMA@DeclareDeprecatedOption{cleardoubleplain}{cleardoublepage=plain} \KOMA@DeclareDeprecatedOption{cleardoublestandard}{cleardoublepage=current} -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \newif\if@captionabove\@captionabovefalse \newif\if@tablecaptionabove\@tablecaptionabovefalse @@ -2107,7 +2108,7 @@ \KOMA@DeclareStandardOption{openbib}{bibliography=openstyle} \KOMA@DeclareDeprecatedOption{bibtotoc}{bibliography=totoc} \KOMA@DeclareDeprecatedOption{bibtotocnumbered}{bibliography=totocnumbered} -%%% From File: $Id: scrkernel-index.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-index.dtx 4052 2023-05-05 11:41:51Z kohm $ %%% (run: option) \newcommand*{\idx@@heading}{% \ifidx@leveldown @@ -2116,6 +2117,22 @@ \expandafter\chapter \fi*% } +\newcommand*{\idx@@forcemark}[1]{% + \ifidx@leveldown + \addsecmark{#1}% + \else + \@mkdouble{\MakeMarkcase{#1}}% + \fi +} +\newcommand*{\idx@@forcemarknumbered}[1]{% + \ifidx@leveldown + \sectionmark{#1}% + \else + \chaptermark{#1}% + \fi +} +\newcommand*{\idx@@mark}{} +\let\idx@@mark\idx@@forcemark \newif\ifidx@leveldown \KOMA@key{index}{% \KOMA@set@ncmdkey{index}{@tempa}{% @@ -2143,6 +2160,7 @@ \expandafter\chapter \fi*% }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -2159,6 +2177,7 @@ \expandafter\addchap \fi }% + \let\idx@@mark\idx@@forcemark \or \KOMA@kav@remove{\KOMAClassFileName}{toc}{noindex}% \KOMA@kav@remove{\KOMAClassFileName}{toc}{indexnumbered}% @@ -2175,6 +2194,7 @@ \expandafter\chapter \fi }% + \let\idx@@mark\idx@@forcemarknumbered \or \KOMA@kav@remove{\KOMAClassFileName}{index}{leveldown}% \KOMA@kav@remove{\KOMAClassFileName}{index}{standardlevel}% @@ -2194,7 +2214,7 @@ \KOMA@DeclareDeprecatedOption{idxtotoc}{index=totoc} %%% From File: $Id: scrkernel-listsandtabulars.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: option) -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: execoption) \KOMAExecuteOptions{headings=openany} \KOMAExecuteOptions{numbers=autoendperiod} @@ -2205,7 +2225,7 @@ headings=big% } \KOMAProcessOptions\relax -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \AtBeginDocument{% \begingroup @@ -3404,10 +3424,10 @@ \newcommand*\abstractname{Abstract} \providecaptionname{american,australian,british,canadian,english,newzealand,% UKenglish,ukenglish,USenglish,usenglish}\abstractname{Abstract} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: body) \let\numberline\scr@numberline -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,part) \CloneTOCEntryStyle{tocline}{part} \TOCEntryStyleStartInitCode{part}{% @@ -3421,7 +3441,7 @@ \expandafter\providecommand\expandafter*% \csname scr@tso@#1@beforeskip\endcsname{2.25em \@plus\p@}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,chapter) \CloneTOCEntryStyle{tocline}{chapter} \TOCEntryStyleStartInitCode{chapter}{% @@ -3441,17 +3461,17 @@ \expandafter\providecommand\expandafter*% \csname scr@tso@#1@beforeskip\endcsname{1.0em \@plus\p@}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,section) \CloneTOCEntryStyle{tocline}{section} \TOCEntryStyleStartInitCode{section}{% \expandafter\providecommand% \csname scr@tso@#1@linefill\endcsname{\TOCLineLeaderFill\relax}% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: class,style,default) \CloneTOCEntryStyle{section}{default} -%%% From File: $Id: scrkernel-sections.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-sections.dtx 4069 2023-06-29 08:55:54Z kohm $ %%% (run: body) \BeforeClosingMainAux{% \if@autodot\if@filesw\immediate\write\@mainaux{% @@ -3914,10 +3934,23 @@ \providecommand*\@currentlabelname{} \FamilyStringKey[.section]{KOMAarg}{tocentry}{\@currenttocentry} \FamilyStringKey[.section]{KOMAarg}{head}{\@currentheadentry} +\IfLTXAtLeastTF{2020/10/01}{% + \NewHook{\KOMAClassName/option/section/reference/fallback}% +}{}% \DefineFamilyKey[.section]{KOMAarg}{reference}{% \scr@ifundefinedorrelax{NR@gettitle}{% \scr@ifundefinedorrelax{GetTitleString}{% - \def\@currentlabelname{#1}% + \begingroup + \let\label\@gobble + \let\index\@gobble + \let\glossary\@gobble + \scr@ifundefinedorrelax{UseHook}{}{% + \UseHook{\KOMAClassName/option/section/reference/fallback}% + }% + \protected@edef\@currentlabelname{#1}% + \expandafter\expandafter\expandafter\endgroup + \expandafter\def\expandafter\@currentlabelname\expandafter{% + \@currentlabelname}% }{% \GetTitleString{#1}% \let\@currentlabelname\GetTitleStringResult @@ -6342,7 +6375,7 @@ \let\scr@mt@saved@sect\relax \fi } -%%% From File: $Id: scrkernel-pagestyles.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-pagestyles.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \newcommand*{\set@tempdima@hw}{% \setlength{\@tempdima}{\textwidth}% @@ -6403,15 +6436,18 @@ \if@twoside\else\hfil\fi}}}}\hss}% \renewcommand*{\chaptermark}[1]{% \if@twoside\expandafter\markboth\else\expandafter\markright\fi - {\MakeMarkcase{\Ifnumbered{chapter}{% - \chaptermarkformat - }{}##1}% + {% + \Ifnumbered{chapter}{% + \MakeMarkcase{\chaptermarkformat}% + }{}\MakeMarkcase{##1}% }{}% }% \renewcommand*{\sectionmark}[1]{% \if@twoside - \markright{\MakeMarkcase{\Ifnumbered{section}{\sectionmarkformat}{}% - ##1}}% + \markright{% + \Ifnumbered{section}{\MakeMarkcase{\sectionmarkformat}}{}% + \MakeMarkcase{##1}% + }% \fi }% }% @@ -6441,7 +6477,7 @@ \newcommand*{\indexpagestyle}{plain} \pagestyle{plain} \pagenumbering{arabic} -%%% From File: $Id: scrlayer.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrlayer.dtx 4058 2023-06-16 08:32:27Z kohm $ %%% (run: body) \providecommand*{\@mkleft}{% \IfActiveMkBoth{\markleft}{\@gobble}% @@ -6452,7 +6488,7 @@ \providecommand{\@mkdouble}[1]{% \@mkboth{#1}{#1}% } -%%% From File: $Id: scrkernel-floats.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-floats.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) \newlength{\abovecaptionskip} \newlength{\belowcaptionskip} @@ -6606,15 +6642,20 @@ \dofullc@pfalse\@capbreaktrue } \newcommand*{\setcaphanging}{\dofullc@ptrue\@capbreakfalse} +\expandafter\ifnum\scr@v@is@ge{3.41}% + \newcommand*{\captionnopagebreak}{\nopagebreak} +\else + \newcommand*{\captionnopagebreak}{} +\fi \newcommand{\@makecaption}[2]{% \if@captionabove \vskip\belowcaptionskip \else - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \fi \@@makecaption\@firstofone{#1}{#2}% \if@captionabove - \vskip\abovecaptionskip + \captionnopagebreak\vskip\abovecaptionskip\captionnopagebreak \else \vskip\belowcaptionskip \fi @@ -7617,21 +7658,17 @@ } \newcommand{\AfterBibliographyPreamble}{\g@addto@macro\bib@before@hook} \newcommand{\AtEndBibliography}{\g@addto@macro\bib@after@hook} -%%% From File: $Id: scrkernel-index.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-index.dtx 4052 2023-05-05 11:41:51Z kohm $ %%% (run: body) \newcommand*{\index@preamble}{} \let\index@preamble=\relax \newcommand{\setindexpreamble}[1]{\def\index@preamble{#1}} \newcommand*{\idx@heading}{% - \if@openright\cleardoublepage\else\clearpage\fi% + \ifidx@leveldown\else\if@openright\cleardoublepage\else\clearpage\fi\fi \twocolumn[% \@chaptertolistsfalse \idx@@heading{\indexname}]% - \ifidx@leveldown - \addsecmark{\indexname}% - \else - \@mkdouble{\MakeMarkcase{\indexname}}% - \fi + \idx@@mark{\indexname}% } \newenvironment{theindex}{% \if@twocolumn diff --git a/Master/texmf-dist/tex/latex/koma-script/scrsize10pt.clo b/Master/texmf-dist/tex/latex/koma-script/scrsize10pt.clo index 274485d436a..2e849d1cad0 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrsize10pt.clo +++ b/Master/texmf-dist/tex/latex/koma-script/scrsize10pt.clo @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-fonts.dtx 4034 2023-04-20 08:03:46Z kohm $ %%% (run: 10pt) diff --git a/Master/texmf-dist/tex/latex/koma-script/scrsize11pt.clo b/Master/texmf-dist/tex/latex/koma-script/scrsize11pt.clo index 26accced973..ae05792619a 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrsize11pt.clo +++ b/Master/texmf-dist/tex/latex/koma-script/scrsize11pt.clo @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-fonts.dtx 4034 2023-04-20 08:03:46Z kohm $ %%% (run: 11pt) diff --git a/Master/texmf-dist/tex/latex/koma-script/scrsize12pt.clo b/Master/texmf-dist/tex/latex/koma-script/scrsize12pt.clo index 9f91c3b9fb8..0474d0a3aac 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrsize12pt.clo +++ b/Master/texmf-dist/tex/latex/koma-script/scrsize12pt.clo @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,7 +62,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-fonts.dtx 4034 2023-04-20 08:03:46Z kohm $ \ProvidesFile{% diff --git a/Master/texmf-dist/tex/latex/koma-script/scrtime.sty b/Master/texmf-dist/tex/latex/koma-script/scrtime.sty index 492b45e80aa..64a6cfc7e37 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrtime.sty +++ b/Master/texmf-dist/tex/latex/koma-script/scrtime.sty @@ -43,7 +43,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -65,7 +65,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% @@ -74,11 +74,11 @@ %%% From File: $Id: scrtime.dtx 4032 2023-04-17 09:45:11Z kohm $ \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{scrtime}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (time of LaTeX run)% ] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] %%% From File: $Id: scrtime.dtx 4032 2023-04-17 09:45:11Z kohm $ diff --git a/Master/texmf-dist/tex/latex/koma-script/setspace.hak b/Master/texmf-dist/tex/latex/koma-script/setspace.hak index cd540b213e9..6210ac4367c 100644 --- a/Master/texmf-dist/tex/latex/koma-script/setspace.hak +++ b/Master/texmf-dist/tex/latex/koma-script/setspace.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,16 +62,16 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{setspace.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (hacking package setspace)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \scr@ifexpected{\onehalfspacing}{% \long\def\onehalfspacing{% \setstretch{1.25}% default diff --git a/Master/texmf-dist/tex/latex/koma-script/standardsections.hak b/Master/texmf-dist/tex/latex/koma-script/standardsections.hak index adae0e26d47..eeda00dbe44 100644 --- a/Master/texmf-dist/tex/latex/koma-script/standardsections.hak +++ b/Master/texmf-dist/tex/latex/koma-script/standardsections.hak @@ -40,7 +40,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -62,15 +62,15 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \ProvidesFile{standardsections.hak}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script scrhack part (defining standard LaTeX class section headings)% ] -%%% From File: $Id: scrhack.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrhack.dtx 4063 2023-06-28 08:28:26Z kohm $ \PackageWarningNoLine{scrhack}{% You are loosing every kind of support because of\MessageBreak using the dangerous standard classes sections hack!\MessageBreak diff --git a/Master/texmf-dist/tex/latex/koma-script/tocbasic.sty b/Master/texmf-dist/tex/latex/koma-script/tocbasic.sty index 73626234af0..10050bf0f1b 100644 --- a/Master/texmf-dist/tex/latex/koma-script/tocbasic.sty +++ b/Master/texmf-dist/tex/latex/koma-script/tocbasic.sty @@ -6,10 +6,9 @@ %% %% tocbasic.dtx (with options: `package,identify') %% tocbasic.dtx (with options: `package,prepare') -%% scrkernel-tocstyle.dtx (with options: `package,prepare') %% tocbasic.dtx (with options: `package,option') -%% scrkernel-tocstyle.dtx (with options: `package,option') -%% tocbasic.dtx (with options: `package,body') +%% tocbasic.dtx (with options: `package,execoption') +%% tocbasic.dtx (with options: `package,body,deprecated') %% scrkernel-tocstyle.dtx (with options: `package,body') %% scrkernel-tocstyle.dtx (with options: `package,style,gobble') %% scrkernel-tocstyle.dtx (with options: `package,style,dottedtocline') @@ -53,26 +52,27 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: tocbasic.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: tocbasic.dtx 4067 2023-06-28 14:37:03Z kohm $ %%% (run: identify) \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{tocbasic}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (handling toc-files)% ] -%%% From File: $Id: tocbasic.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: tocbasic.dtx 4067 2023-06-28 14:37:03Z kohm $ %%% (run: prepare) -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ -%%% (run: prepare) -%%% From File: $Id: tocbasic.dtx 4032 2023-04-17 09:45:11Z kohm $ +\RequirePackage{scrbase} +\scr@ifundefinedorrelax{NewDocumentCommand}{% + \RequirePackage{xparse}[2018-04-12]% +}{} +%%% From File: $Id: tocbasic.dtx 4067 2023-06-28 14:37:03Z kohm $ %%% (run: option) +%%% From File: $Id: tocbasic.dtx 4067 2023-06-28 14:37:03Z kohm $ +%%% (run: execoption) \ProcessOptions\relax -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ -%%% (run: option) -%%% From File: $Id: tocbasic.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: tocbasic.dtx 4067 2023-06-28 14:37:03Z kohm $ %%% (run: body) -\RequirePackage{scrbase} \AfterPackage*{multitoc}{% \@ifpackagelater{multitoc}{2022/02/10}{}{% \PackageWarningNoLine{tocbasic}{% @@ -116,19 +116,17 @@ \if@tempswa\aftergroup\@firstoftwo\else\aftergroup\@secondoftwo\fi \endgroup } -\newcommand*{\addtotoclist}{% - \kernel@ifnextchar [%] - \scr@@addtotoclist\scr@addtotoclist -} -\newcommand*{\scr@addtotoclist}{% - \ifx\@currname\@empty - \def\reserved@a{\scr@@addtotoclist[]}% - \else - \edef\reserved@a{\noexpand\scr@@addtotoclist[\@currname.\@currext]}% - \fi - \reserved@a +\newcommand*{\tb@optowner}[1]{% + \IfValueTF{#1}{% + #1% + }{% + \ifx\@currname\@empty\else + \@currname.\@currext% + \fi + }% } -\newcommand*{\scr@@addtotoclist}[2][]{% +\NewDocumentCommand\addtotoclist{om}{% + \edef\reserved@b{\tb@optowner{#1}}% \Ifattoclist{#2}{% \PackageError{tocbasic}{% file extension `#2' cannot be used twice @@ -142,15 +140,15 @@ }% }{% \begingroup - \protected@edef\reserved@a{% + \edef\reserved@a{% \noexpand\g@addto@macro\noexpand\tb@listoftocs{% - \noexpand\do{#2}{#1}}}\reserved@a + \noexpand\do{#2}{\reserved@b}}}\reserved@a \endgroup - \ifx\relax #1\relax\else - \@ifundefined{tb@#1@add@hook}{}{% + \ifx\reserved@b\@empty\else + \@ifundefined{tb@\reserved@b @add@hook}{}{% \edef\reserved@a{% \noexpand\def\noexpand\@currext{#2}% - \noexpand\@nameuse{tb@#1@add@hook}% + \noexpand\@nameuse{tb@\reserved@b @add@hook}% \noexpand\def\noexpand\@currext{\@currext}% }\reserved@a }% @@ -170,21 +168,12 @@ \reserved@a } \newcommand*{\categoryoftoc}{\owneroftoc} -\newcommand*{\AtAddToTocList}{% - \kernel@ifnextchar [%] - \@@AtAddToTocList\@AtAddToTocList -} -\newcommand*{\@AtAddToTocList}{% - \ifx\@currname\@empty - \def\reserved@a{\@@AtAddToTocList[]}% - \else - \edef\reserved@a{\noexpand\@@AtAddToTocList[\@currname.\@currext]}% - \fi - \reserved@a -} -\newcommand*{\@@AtAddToTocList}[1][]{% - \@ifundefined{tb@#1@add@hook}{\@namedef{tb@#1@add@hook}{}}{}% - \expandafter\g@addto@macro\csname tb@#1@add@hook\endcsname +\NewDocumentCommand\AtAddToTocList{o}{% + \edef\reserved@a{\tb@optowner{#1}}% + \@ifundefined{tb@\reserved@a @add@hook}% + {\@namedef{tb@\reserved@a @add@hook}{}}% + {}% + \expandafter\g@addto@macro\csname tb@\reserved@a @add@hook\endcsname } \newcommand*{\tocbasic@extend@babel}[1]{% \Iftocfeature{#1}{nobabel}{% @@ -219,99 +208,53 @@ }% } \AtAddToTocList[]{\expandafter\tocbasic@extend@babel\expandafter{\@currext}} -\newcommand*{\removefromtoclist}{% - \kernel@ifnextchar [%] - \scr@removefromtoclist\scr@@removefromtoclist -} -\newcommand*{\scr@removefromtoclist}[2][]{% +\NewDocumentCommand\removefromtoclist{om}{% \begingroup \let\tb@oldlist\tb@listoftocs + \edef\reserved@b{#2}% + \global\let\tb@listoftocs\empty \def\do##1##2{% \edef\reserved@a{##1}% \ifx\reserved@a\reserved@b - \begingroup - \edef\@currext{##2}% - \edef\reserved@b{#1}% - \ifx\@currext\reserved@b - \else - \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% - \fi - \endgroup + \IfValueT{#1}{% + \begingroup + \edef\@currext{##2}% + \edef\reserved@b{#1}% + \ifx\@currext\reserved@b + \else + \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% + \fi + \endgroup + }% \else \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% \fi }% - \edef\reserved@b{#2}\global\let\tb@listoftocs\@empty \tb@oldlist \endgroup } -\newcommand*{\scr@@removefromtoclist}[1]{% - \begingroup - \let\tb@oldlist\tb@listoftocs +\NewDocumentCommand\doforeachtocfile{o+m}{% + \IfValueTF{#1}{% \def\do##1##2{% - \edef\reserved@a{##1}% - \ifx\reserved@a\reserved@b - \else - \g@addto@macro\tb@listoftocs{\do{##1}{##2}}% - \fi + \edef\reserved@a{#1}\edef\reserved@b{##2}% + \ifx\reserved@a\reserved@b \edef\@currext{##1}#2\fi }% - \edef\reserved@b{#1}\global\let\tb@listoftocs\@empty - \tb@oldlist - \endgroup -} -\newcommand{\doforeachtocfile}{% - \kernel@ifnextchar [%] - \@doforeachtocfile\@@doforeachtocfile -} -\newcommand{\@doforeachtocfile}[2][]{% - \def\do##1##2{% - \edef\reserved@a{#1}\edef\reserved@b{##2}\ifx\reserved@a\reserved@b - \edef\@currext{##1}#2% - \fi - }% - \edef\reserved@a{% - \noexpand\tb@listoftocs - \noexpand\def\noexpand\@currext{\@currext}% - }\reserved@a - \let\do\relax -} -\newcommand{\@@doforeachtocfile}[1]{% - \def\do##1##2{% - \edef\@currext{##1}#1% + }{% + \def\do##1##2{\edef\@currext{##1}#2}% }% \edef\reserved@a{% \noexpand\tb@listoftocs \noexpand\def\noexpand\@currext{\@currext}% }\reserved@a - \let\do\relax -} -\newcommand{\addtoeachtocfile}{% - \kernel@ifnextchar [%] - \@addtoeachtocfile\@@addtoeachtocfile + \let\do\noexpand } -\newcommand{\@addtoeachtocfile}[2][]{% +\NewDocumentCommand\addtoeachtocfile{o+m}{% \doforeachtocfile[{#1}]{\addtocontents{\@currext}{#2}}% } -\newcommand{\@@addtoeachtocfile}[1]{% - \doforeachtocfile{\addtocontents{\@currext}{#1}}% +\NewDocumentCommand\addcontentslinetoeachtocfile{omm}{% + \doforeachtocfile[{#1}]{\addcontentsline{\@currext}{#2}{#3}}% } -\newcommand{\addcontentslinetoeachtocfile}{% - \kernel@ifnextchar [%] - \@addcontentslinetoeachtocfile\@@addcontentslinetoeachtocfile -} -\newcommand{\@addcontentslinetoeachtocfile}[3][]{% - \doforeachtocfile[{#1}]{\addcontentsline{\@currext}{#2}{#3}}% -} -\newcommand{\@@addcontentslinetoeachtocfile}[2]{% - \doforeachtocfile{\addcontentsline{\@currext}{#1}{#2}}% -} -\newcommand*{\addxcontentsline}[2]{% - \kernel@ifnextchar [%] - {\@addxcontentsline{#1}{#2}}% - {\@addxcontentsline{#1}{#2}[]}% -} -\newcommand*{\@addxcontentsline}{} -\def\@addxcontentsline#1#2[#3]#4{% +\NewDocumentCommand\addxcontentsline{mmO{}m}{% \scr@ifundefinedorrelax{add#2#1entry}{% \tocbasic@addxcontentsline{#1}{#2}{#3}{#4}% }{% @@ -320,33 +263,14 @@ } \newcommand*{\nonumberline}{}% \newcommand*{\tocbasic@addxcontentsline}[4]{% - \if\relax\detokenize{#3}\relax + \IfArgIsEmpty{#3}{% \addcontentsline{#1}{#2}{\protect\nonumberline#4}% - \else + }{% \addcontentsline{#1}{#2}{\protect\numberline{#3}#4}% - \fi -} -\newcommand{\addxcontentslinetoeachtocfile}{% - \kernel@ifnextchar [%] - \@addxcontentslinetoeachtocfile\@@addxcontentslinetoeachtocfile -} -\newcommand{\@addxcontentslinetoeachtocfile}[2][]{% - \kernel@ifnextchar [%] - {\@@@addxcontentslinetoeachtocfile[{#1}]{#2}}% - {\@@@addxcontentslinetoeachtocfile[{#1}]{#2}[]} -} -\newcommand*{\@@@addxcontentslinetoeachtocfile}{} -\def\@@@addxcontentslinetoeachtocfile[#1]#2[#3]#4{% - \doforeachtocfile[{#1}]{\addxcontentsline{\@currext}{#2}[#3]{#4}}% -} -\newcommand{\@@addxcontentslinetoeachtocfile}[1]{% - \kernel@ifnextchar [%] - {\@@@@addxcontentslinetoeachtocfile{#1}}% - {\@@@@addxcontentslinetoeachtocfile{#1}[]}% + }% } -\newcommand*{\@@@@addxcontentslinetoeachtocfile}{} -\def\@@@@addxcontentslinetoeachtocfile#1[#2]#3{% - \doforeachtocfile{\addxcontentsline{\@currext}{#1}[{#2}]{#3}}% +\NewDocumentCommand\addxcontentslinetoeachtocfile{omom}{% + \doforeachtocfile[{#1}]{\addxcontentsline{\@currext}{#2}[{#3}]{#4}} } \newcommand*{\tocbasic@starttoc}[1]{% \begingroup @@ -478,16 +402,9 @@ }% } \newcommand*{\listofname}{List of} -\newcommand*{\listofeachtoc}{% - \kernel@ifnextchar [%] - \@listofeachtoc\@@listofeachtoc -} -\newcommand{\@listofeachtoc}[1][]{% +\NewDocumentCommand\listofeachtoc{o}{% \doforeachtocfile[{#1}]{\listoftoc{\@currext}}% } -\newcommand{\@@listofeachtoc}[1]{% - \doforeachtocfile{\listoftoc{\@currext}}% -} \providecommand*{\ext@toc}{toc} \newcommand*{\tocbasic@listhead}[1]{% \@ifundefined{tocbasic@listhead@\@currext}{% @@ -1095,7 +1012,7 @@ }% } \newcommand*{\tb@nt@autofloattype}{16} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: body) \newcommand*{\scr@numberline}[1]{% \numberline@box{% @@ -1587,12 +1504,13 @@ \do{#2}{#3}{#4}{#5}% }% } -\newcommand{\TOCEntryStyleInitCode}[1]{% - \scr@ifundefinedorrelax{scr@dte@#1@init}{% - \expandafter\providecommand\expandafter*% - \csname scr@dte@#1@init\endcsname[1]% +\NewDocumentCommand\TOCEntryStyleInitCode{sm}{% + \IfBooleanT{#1}{\expandafter\let\csname scr@dte@#2@init\endcsname\relax}% + \scr@ifundefinedorrelax{scr@dte@#2@init}{% + \expandafter\newcommand\expandafter*% + \csname scr@dte@#2@init\endcsname[1]% }{% - \expandafter\l@addto@macro@a\csname scr@dte@#1@init\endcsname + \expandafter\l@addto@macro@a\csname scr@dte@#2@init\endcsname }% } \newcommand{\TOCEntryStyleStartInitCode}[1]{% @@ -1635,6 +1553,16 @@ } \newcommand*{\DeclareTOCStyleEntry}[3][]{% \scr@ifundefinedorrelax{scr@dte@def@l@#2}{% + \IfFileExists{tocbasic-tocstyle-#2.def}{% + \edef\reserved@a{% + \unexpanded{% + \makeatletter + \input{tocbasic-tocstyle-#2.def}% + \catcode`\@=}\the\catcode`\@\relax + }\reserved@a + }{}% + }{}% + \scr@ifundefinedorrelax{scr@dte@def@l@#2}{% \PackageError{tocbasic}{toc entry style `#2' undefined}{% Somebody told me to define toc entry `#3' with style `#2',\MessageBreak but I do not know style `#2'.\MessageBreak @@ -1731,7 +1659,7 @@ \TOC@EntryEndHook{##1}% }% }% - \TOCEntryStyleInitCode{#1}{% + \TOCEntryStyleInitCode*{#1}{% \DefineTOCEntryNumberOption{level}{}{tocdepth}{toc entry level}% #2% }% @@ -1747,10 +1675,10 @@ \providecommand*\@pnumwidth{1.55em} \providecommand*\@tocrmarg {2.55em} \providecommand*\@dotsep {4.5} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: style,gobble) \DeclareTOCEntryStyle{gobble}{}% -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: style,dottedtocline) \DeclareTOCEntryStyle{dottedtocline}[{% \DefineTOCEntryLengthOption{indent}% @@ -1894,7 +1822,7 @@ {\@nameuse{scr@tso@#1@numwidth}}{##1}{##2}% }% } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: style,undottedtocline) \DeclareTOCEntryStyle{undottedtocline}[{% \DefineTOCEntryLengthOption{indent}% @@ -2064,7 +1992,7 @@ \endgroup \fi } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: style, largetocline) \DeclareTOCEntryStyle{largetocline}[{% \DefineTOCEntryLengthOption{indent}% @@ -2185,7 +2113,7 @@ \endgroup \fi } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: style,tocline) \DeclareTOCEntryStyle{tocline}[{% \DefineTOCEntryLengthOption{beforeskip}% @@ -2726,7 +2654,7 @@ \mkern \@dotsep mu\hbox{#1}\mkern \@dotsep mu$}\hfill } -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: style,toctext) \DeclareTOCEntryStyle{toctext}[{% \DefineTOCEntryLengthOption{beforeskip}% @@ -2978,10 +2906,10 @@ \newcommand*{\scr@dte@toctext@raggedright}{} \newcommand*{\scr@dte@toctext@parend}{} \newcommand*{\scr@dte@toctext@lastend}{} -%%% From File: $Id: scrkernel-tocstyle.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 4060 2023-06-20 08:59:01Z kohm $ %%% (run: style,dottedtocline) \CloneTOCEntryStyle{dottedtocline}{default} -%%% From File: $Id: tocbasic.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: tocbasic.dtx 4067 2023-06-28 14:37:03Z kohm $ %%% (run: exit) \AtBeginDocument{% \@ifundefined{MakeMarkcase}{% diff --git a/Master/texmf-dist/tex/latex/koma-script/typearea.sty b/Master/texmf-dist/tex/latex/koma-script/typearea.sty index ba8924b70a1..b9792f414d9 100644 --- a/Master/texmf-dist/tex/latex/koma-script/typearea.sty +++ b/Master/texmf-dist/tex/latex/koma-script/typearea.sty @@ -48,7 +48,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -70,7 +70,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup \providecommand*{\scr@pkgextension}{\@pkgextension} \AtBeginDocument{% @@ -80,13 +80,13 @@ %%% (run: identify) \NeedsTeXFormat{LaTeX2e}[1995/06/01] \ProvidesPackage{typearea}[% - 2023/04/24 v3.40 KOMA-Script + 2023/07/07 v3.41 KOMA-Script package (type area)] -%%% From File: $Id: scrkernel-basics.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-basics.dtx 4051 2023-04-26 16:01:28Z kohm $ %%% (run: load) \RequirePackage{scrkbase}[\KOMAScriptVersion] -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: init) \providecommand* {\scr@compatibility}{\scr@v@last} @@ -175,13 +175,14 @@ \@namedef{scr@v@3.38}{20} \@namedef{scr@v@3.39}{20} \@namedef{scr@v@3.40}{20} -\@namedef{scr@v@last}{20} +\@namedef{scr@v@3.41}{21} +\@namedef{scr@v@last}{21} %%% From File: $Id: scrkernel-typearea.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: init) \providecommand\ta@divlist{{}{}{}{}{}{}{}{}{}{8}{10}{12}} \providecommand\ta@divlistelse{1} \newcommand*{\@lastdiv}{\z@}\let\@lastdiv\relax -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: option) \KOMA@key{version}[last]{% \scr@ifundefinedorrelax{scr@v@#1}{% @@ -1044,7 +1045,7 @@ \KOMAExecuteOptions{twoside=false} \fi \KOMAProcessOptions\relax -%%% From File: $Id: scrkernel-compatibility.dtx 4032 2023-04-17 09:45:11Z kohm $ +%%% From File: $Id: scrkernel-compatibility.dtx 4054 2023-05-10 14:35:36Z kohm $ %%% (run: body) %%% From File: $Id: scrkernel-typearea.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: body) diff --git a/Master/texmf-dist/tex/latex/koma-script/visualize.lco b/Master/texmf-dist/tex/latex/koma-script/visualize.lco index bab504f4c72..8be3cbbd097 100644 --- a/Master/texmf-dist/tex/latex/koma-script/visualize.lco +++ b/Master/texmf-dist/tex/latex/koma-script/visualize.lco @@ -41,7 +41,7 @@ %% find a complete unmodified copy of LaTeX2e at %% <http://mirror.ctan.org/tex-archive/macros/latex/base/>. %% -%%% From File: $Id: scrkernel-version.dtx 4038 2023-04-24 07:06:57Z kohm $ +%%% From File: $Id: scrkernel-version.dtx 4070 2023-07-07 07:08:40Z kohm $ \begingroup \catcode`\@11\relax \ifx\KOMAScriptVersion\undefined @@ -63,7 +63,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2023/04/24 v3.40 KOMA-Script}% + \@CheckKOMAScriptVersion{2023/07/07 v3.41 KOMA-Script}% \endgroup %%% From File: $Id: scrkernel-letterclassoptions.dtx 4032 2023-04-17 09:45:11Z kohm $ %%% (run: head) |