summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-11-23 03:01:10 +0000
committerNorbert Preining <norbert@preining.info>2022-11-23 03:01:10 +0000
commit815cebb06d1054b263303b39da2b399828b116c3 (patch)
tree057b1c00ff0fd80e37b126da4fd2f425e7cd679a
parentd8e47184a9a1a04b1aa016bb4a56d066b8940805 (diff)
CTAN sync 202211230301
-rw-r--r--FILES.byname271
-rw-r--r--FILES.byname.gzbin2484161 -> 2483980 bytes
-rw-r--r--FILES.last07days547
-rw-r--r--biblio/ctan-bibdata/ctan.bib22
-rw-r--r--biblio/ctan-bibdata/ctan.pdfbin3624442 -> 3624138 bytes
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx2
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdfbin221331 -> 221455 bytes
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx2
-rw-r--r--fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdfbin222907 -> 222986 bytes
-rw-r--r--fonts/kpfonts-otf/doc/unimath-kpfonts.pdfbin1821068 -> 1821068 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Bold.otfbin198208 -> 199264 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Light.otfbin460680 -> 463904 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Regular.otfbin434344 -> 437568 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Sans.otfbin282092 -> 284020 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMath-Semibold.otfbin198900 -> 199956 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Bold.otfbin57924 -> 57976 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otfbin65136 -> 65188 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Italic.otfbin66440 -> 66492 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpMono-Regular.otfbin59056 -> 59108 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Bold.otfbin132240 -> 132992 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otfbin142852 -> 143604 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Italic.otfbin132988 -> 133740 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Light.otfbin130484 -> 131236 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otfbin135328 -> 136080 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Regular.otfbin131132 -> 131884 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-Semibold.otfbin129496 -> 130248 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otfbin140484 -> 141236 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Bold.otfbin103128 -> 103876 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otfbin111128 -> 111876 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Italic.otfbin111088 -> 111836 bytes
-rw-r--r--fonts/kpfonts-otf/fonts/KpSans-Regular.otfbin102556 -> 103304 bytes
-rw-r--r--fonts/kpfonts-otf/tex/KpSans.fontspec3
-rw-r--r--fonts/kpfonts-otf/tex/kpfonts-otf.sty6
-rw-r--r--macros/latex/contrib/lwarp/README.txt2
-rw-r--r--macros/latex/contrib/lwarp/lwarp.dtx834
-rw-r--r--macros/latex/contrib/lwarp/lwarp.ins3
-rw-r--r--macros/latex/contrib/lwarp/lwarp.pdfbin3191275 -> 3303971 bytes
-rwxr-xr-xmacros/latex/contrib/lwarp/lwarpmk.lua2
-rw-r--r--macros/latex/contrib/se2thesis/CHANGELOG.md7
-rw-r--r--macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdfbin1134618 -> 1138744 bytes
-rw-r--r--macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex8
-rw-r--r--macros/latex/contrib/se2thesis/se2thesis.dtx18
-rw-r--r--macros/latex/contrib/se2thesis/se2thesis.pdfbin381789 -> 381335 bytes
-rw-r--r--macros/luatex/generic/lua-widow-control/CHANGELOG.md20
-rw-r--r--macros/luatex/generic/lua-widow-control/README.md4
-rw-r--r--macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty4
-rw-r--r--macros/luatex/generic/lua-widow-control/lua-widow-control.lua824
-rw-r--r--macros/luatex/generic/lua-widow-control/lua-widow-control.opm12
-rw-r--r--macros/luatex/generic/lua-widow-control/lua-widow-control.pdfbin508349 -> 579606 bytes
-rw-r--r--macros/luatex/generic/lua-widow-control/lua-widow-control.sty43
-rw-r--r--macros/luatex/generic/lua-widow-control/lua-widow-control.tex32
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-manual.bib27
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-manual.mkxl2
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-manual.tex159
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-zpravodaj-figure.ctx161
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-zpravodaj.bib237
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-zpravodaj.ltx1720
-rw-r--r--macros/luatex/generic/lua-widow-control/lwc-zpravodaj.pdfbin0 -> 377831 bytes
-rw-r--r--macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl86
-rw-r--r--macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx23
-rw-r--r--macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdfbin391526 -> 519495 bytes
-rw-r--r--macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdfbin39206 -> 44146 bytes
-rw-r--r--macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex48
-rw-r--r--macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex36
-rw-r--r--support/TeX4ht/source/ChangeLog11
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex26
-rw-r--r--systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl7
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb252
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.md52
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha5122
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc14
-rw-r--r--systems/texlive/tlnet/tlpkg/texlive.tlpdb.xzbin2430944 -> 2431712 bytes
-rw-r--r--timestamp2
73 files changed, 4050 insertions, 1431 deletions
diff --git a/FILES.byname b/FILES.byname
index 345f76e555..120d7094ca 100644
--- a/FILES.byname
+++ b/FILES.byname
@@ -2035,12 +2035,12 @@
2022/09/23 | 1673 | biblio/citation-style-language/README.md
2022/09/23 | 11958 | biblio/citation-style-language/vancouver.csl
2022/09/23 | 591448 | biblio/citation-style-language.zip
-2022/11/21 | 1678 | biblio/ctan-bibdata/biblatex-ctan/ctan.bbx
+2022/11/22 | 1678 | biblio/ctan-bibdata/biblatex-ctan/ctan.bbx
2022/10/08 | 127 | biblio/ctan-bibdata/biblatex-ctan/ctan.cbx
-2022/11/21 | 2747264 | biblio/ctan-bibdata/ctan.bib
-2022/11/21 | 3624254 | biblio/ctan-bibdata/ctan.pdf
+2022/11/22 | 2747264 | biblio/ctan-bibdata/ctan.bib
+2022/11/22 | 3624442 | biblio/ctan-bibdata/ctan.pdf
2022/10/08 | 1415 | biblio/ctan-bibdata/README
-2022/11/21 | 4017795 | biblio/ctan-bibdata.zip
+2022/11/22 | 4016830 | biblio/ctan-bibdata.zip
2022/02/06 | 3110 | biblio/pbibtex/pbibtex-base/cpp.awk
2022/02/06 | 1009 | biblio/pbibtex/pbibtex-base/generate.sh
2022/02/06 | 22422 | biblio/pbibtex/pbibtex-base/jabbrv.bst
@@ -5414,7 +5414,7 @@
1990/10/02 | 5440 | dviware/vutex/vaxvms.hlp
1990/10/02 | 812 | dviware/vutex/vaxvms.ins
1990/10/02 | 127576 | dviware/vutex/vutex.web
-2022/11/21 | 186387 | FILES.last07days
+2022/11/22 | 186435 | FILES.last07days
2021/07/24 | 1139410 | fonts/aboensis/Aboensis.glyphs
2021/07/24 | 18907382 | fonts/aboensis/aboensis.pdf
2021/07/24 | 137860 | fonts/aboensis/Aboensis-Regular.otf
@@ -61970,40 +61970,40 @@
2006/08/15 | 320 | fonts/kpfonts/latex/ujkpsyc.fd
2006/09/05 | 335 | fonts/kpfonts/latex/ujkpsyd.fd
2008/11/11 | 345 | fonts/kpfonts/latex/ujkpsydw.fd
-2022/11/10 | 33313 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
-2022/11/10 | 221331 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
-2022/11/10 | 35681 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
-2022/11/10 | 222907 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
-2022/11/10 | 16827 | fonts/kpfonts-otf/doc/unimath-kpfonts.ltx
-2022/11/10 | 1821068 | fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
-2022/11/10 | 198208 | fonts/kpfonts-otf/fonts/KpMath-Bold.otf
-2022/11/10 | 460680 | fonts/kpfonts-otf/fonts/KpMath-Light.otf
-2022/11/10 | 434344 | fonts/kpfonts-otf/fonts/KpMath-Regular.otf
-2022/11/10 | 282092 | fonts/kpfonts-otf/fonts/KpMath-Sans.otf
-2022/11/10 | 198900 | fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
-2022/11/10 | 65136 | fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
-2022/11/10 | 57924 | fonts/kpfonts-otf/fonts/KpMono-Bold.otf
-2022/11/10 | 66440 | fonts/kpfonts-otf/fonts/KpMono-Italic.otf
-2022/11/10 | 59056 | fonts/kpfonts-otf/fonts/KpMono-Regular.otf
-2022/11/10 | 142852 | fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
-2022/11/10 | 132240 | fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
-2022/11/10 | 132988 | fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
-2022/11/10 | 135328 | fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
-2022/11/10 | 130484 | fonts/kpfonts-otf/fonts/KpRoman-Light.otf
-2022/11/10 | 131132 | fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
-2022/11/10 | 140484 | fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
-2022/11/10 | 129496 | fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
-2022/11/10 | 111128 | fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
-2022/11/10 | 103128 | fonts/kpfonts-otf/fonts/KpSans-Bold.otf
-2022/11/10 | 111088 | fonts/kpfonts-otf/fonts/KpSans-Italic.otf
-2022/11/10 | 102556 | fonts/kpfonts-otf/fonts/KpSans-Regular.otf
-2022/11/10 | 8321 | fonts/kpfonts-otf/README.md
-2022/11/10 | 18871 | fonts/kpfonts-otf/tex/kpfonts-otf.sty
-2022/11/10 | 480 | fonts/kpfonts-otf/tex/KpLight.fontspec
-2022/11/10 | 185 | fonts/kpfonts-otf/tex/KpMono.fontspec
-2022/11/10 | 469 | fonts/kpfonts-otf/tex/KpRoman.fontspec
-2022/11/10 | 287 | fonts/kpfonts-otf/tex/KpSans.fontspec
-2022/11/10 | 4325568 | fonts/kpfonts-otf.zip
+2022/11/22 | 33313 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
+2022/11/22 | 221455 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
+2022/11/22 | 35681 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
+2022/11/22 | 222986 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
+2022/11/22 | 16827 | fonts/kpfonts-otf/doc/unimath-kpfonts.ltx
+2022/11/22 | 1821068 | fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
+2022/11/22 | 199264 | fonts/kpfonts-otf/fonts/KpMath-Bold.otf
+2022/11/22 | 463904 | fonts/kpfonts-otf/fonts/KpMath-Light.otf
+2022/11/22 | 437568 | fonts/kpfonts-otf/fonts/KpMath-Regular.otf
+2022/11/22 | 284020 | fonts/kpfonts-otf/fonts/KpMath-Sans.otf
+2022/11/22 | 199956 | fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
+2022/11/22 | 65188 | fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
+2022/11/22 | 57976 | fonts/kpfonts-otf/fonts/KpMono-Bold.otf
+2022/11/22 | 66492 | fonts/kpfonts-otf/fonts/KpMono-Italic.otf
+2022/11/22 | 59108 | fonts/kpfonts-otf/fonts/KpMono-Regular.otf
+2022/11/22 | 143604 | fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
+2022/11/22 | 132992 | fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
+2022/11/22 | 133740 | fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
+2022/11/22 | 136080 | fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
+2022/11/22 | 131236 | fonts/kpfonts-otf/fonts/KpRoman-Light.otf
+2022/11/22 | 131884 | fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
+2022/11/22 | 141236 | fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
+2022/11/22 | 130248 | fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
+2022/11/22 | 111876 | fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
+2022/11/22 | 103876 | fonts/kpfonts-otf/fonts/KpSans-Bold.otf
+2022/11/22 | 111836 | fonts/kpfonts-otf/fonts/KpSans-Italic.otf
+2022/11/22 | 103304 | fonts/kpfonts-otf/fonts/KpSans-Regular.otf
+2022/11/22 | 8321 | fonts/kpfonts-otf/README.md
+2022/11/22 | 18891 | fonts/kpfonts-otf/tex/kpfonts-otf.sty
+2022/11/22 | 480 | fonts/kpfonts-otf/tex/KpLight.fontspec
+2022/11/22 | 185 | fonts/kpfonts-otf/tex/KpMono.fontspec
+2022/11/22 | 469 | fonts/kpfonts-otf/tex/KpRoman.fontspec
+2022/11/22 | 231 | fonts/kpfonts-otf/tex/KpSans.fontspec
+2022/11/22 | 4337464 | fonts/kpfonts-otf.zip
2022/09/19 | 822 | fonts/kpfonts/README.txt
2022/09/19 | 7354769 | fonts/kpfonts.zip
2010/08/03 | 3884 | fonts/kurier/doc/fonts/kurier/00readme.eng
@@ -190385,7 +190385,7 @@
2012/05/03 | 406018 | install/macros/latex/contrib/lstaddons.tds.zip
2011/03/25 | 10183 | install/macros/latex/contrib/ltxdockit.tds.zip
2021/02/18 | 340623 | install/macros/latex/contrib/luacolor.tds.zip
-2022/07/15 | 4278193 | install/macros/latex/contrib/lwarp.tds.zip
+2022/11/22 | 4383762 | install/macros/latex/contrib/lwarp.tds.zip
2019/11/29 | 336437 | install/macros/latex/contrib/magicnum.tds.zip
2009/09/03 | 125014 | install/macros/latex/contrib/makecmds.tds.zip
2018/08/09 | 330020 | install/macros/latex/contrib/marginnote.tds.zip
@@ -190460,7 +190460,7 @@
2017/08/05 | 166767 | install/macros/latex/contrib/screenplay-pkg.tds.zip
2012/09/24 | 130991 | install/macros/latex/contrib/scrjrnl.tds.zip
2021/11/10 | 657160 | install/macros/latex/contrib/sdaps.tds.zip
-2022/11/08 | 1487741 | install/macros/latex/contrib/se2thesis.tds.zip
+2022/11/22 | 1491160 | install/macros/latex/contrib/se2thesis.tds.zip
2019/12/10 | 544332 | install/macros/latex/contrib/selinput.tds.zip
2022/11/16 | 1514317 | install/macros/latex/contrib/siunitx.tds.zip
2019/10/15 | 315856 | install/macros/latex/contrib/skmath.tds.zip
@@ -190541,7 +190541,7 @@
2022/01/12 | 202258 | install/macros/luatex/generic/luamplib.tds.zip
2022/10/03 | 1974313 | install/macros/luatex/generic/luaotfload.tds.zip
2015/10/04 | 277014 | install/macros/luatex/generic/luatexbase.tds.zip
-2022/08/24 | 844430 | install/macros/luatex/generic/lua-widow-control.tds.zip
+2022/11/22 | 1379474 | install/macros/luatex/generic/lua-widow-control.tds.zip
2020/03/23 | 891718 | install/macros/luatex/latex/arabluatex.tds.zip
2021/11/21 | 970369 | install/macros/luatex/latex/ekdosis.tds.zip
2021/07/17 | 1183440 | install/macros/luatex/latex/emoji.tds.zip
@@ -195157,12 +195157,6 @@
2021/03/03 | 50588 | language/korean/kotex-oblivoir/doc/oblivoir-test.tex
2022/03/31 | 98088 | language/korean/kotex-oblivoir/doc/ob-mathleading-doc.pdf
2022/11/04 | 7101 | language/korean/kotex-oblivoir/doc/ob-mathleading-doc.tex
-2022/03/08 | 256895 | language/korean/kotex-oblivoir.new.../doc/oblivoir-simpledoc.pdf
-2022/03/08 | 100229 | language/korean/kotex-oblivoir.new.../doc/oblivoir-simpledoc.tex
-2022/03/08 | 5574 | language/korean/kotex-oblivoir.new.../tex/memhangul-common/fapapersize.sty
-2022/03/04 | 43844 | language/korean/kotex-oblivoir.new.../tex/memhangul-common/memhangul-common.sty
-2022/03/08 | 3572 | language/korean/kotex-oblivoir.new.../tex/memhangul-common/oblivoir-misc.sty
-2022/03/04 | 16657 | language/korean/kotex-oblivoir.new.../tex/oblivoir-xl.cls
2022/11/04 | 1852 | language/korean/kotex-oblivoir/README
2020/03/14 | 2688 | language/korean/kotex-oblivoir/tex/memhangul-common/10_5.sty
2022/03/08 | 5574 | language/korean/kotex-oblivoir/tex/memhangul-common/fapapersize.sty
@@ -224140,15 +224134,15 @@
1999/06/10 | 980 | macros/latex/contrib/lucold/t1hlos.fd
1999/05/25 | 407 | macros/latex/contrib/lucold/test.tex
2005/04/30 | 25682 | macros/latex/contrib/lucold.zip
-2022/07/15 | 719 | macros/latex/contrib/lwarp/lwarp_baseline_marker.eps
-2022/07/15 | 89 | macros/latex/contrib/lwarp/lwarp_baseline_marker.png
-2022/07/15 | 2846639 | macros/latex/contrib/lwarp/lwarp.dtx
-2022/07/15 | 33607 | macros/latex/contrib/lwarp/lwarp.ins
-2022/07/15 | 29836 | macros/latex/contrib/lwarp/lwarpmk.lua
-2022/07/15 | 3191275 | macros/latex/contrib/lwarp/lwarp.pdf
-2022/07/15 | 2947 | macros/latex/contrib/lwarp/lwarp_tutorial.txt
-2022/07/15 | 1623 | macros/latex/contrib/lwarp/README.txt
-2022/07/15 | 3680451 | macros/latex/contrib/lwarp.zip
+2022/11/22 | 719 | macros/latex/contrib/lwarp/lwarp_baseline_marker.eps
+2022/11/22 | 89 | macros/latex/contrib/lwarp/lwarp_baseline_marker.png
+2022/11/22 | 2849677 | macros/latex/contrib/lwarp/lwarp.dtx
+2022/11/22 | 33823 | macros/latex/contrib/lwarp/lwarp.ins
+2022/11/22 | 29836 | macros/latex/contrib/lwarp/lwarpmk.lua
+2022/11/22 | 3303971 | macros/latex/contrib/lwarp/lwarp.pdf
+2022/11/22 | 2947 | macros/latex/contrib/lwarp/lwarp_tutorial.txt
+2022/11/22 | 1623 | macros/latex/contrib/lwarp/README.txt
+2022/11/22 | 3784579 | macros/latex/contrib/lwarp.zip
2006/09/11 | 4093 | macros/latex/contrib/lyx/sikumuna/article-sikumuna.layout
2006/09/11 | 781 | macros/latex/contrib/lyx/sikumuna/README
2006/09/11 | 1806 | macros/latex/contrib/lyx/sikumuna.zip
@@ -230958,14 +230952,14 @@
2016/05/28 | 3273 | macros/latex/contrib/sduthesis/sduthesis.ins
2016/05/28 | 377608 | macros/latex/contrib/sduthesis/sduthesis.pdf
2016/06/13 | 3196829 | macros/latex/contrib/sduthesis.zip
-2022/11/08 | 1610 | macros/latex/contrib/se2thesis/CHANGELOG.md
-2022/11/08 | 863 | macros/latex/contrib/se2thesis/README.md
-2022/11/08 | 90933 | macros/latex/contrib/se2thesis/se2thesis.dtx
-2022/11/08 | 2466 | macros/latex/contrib/se2thesis/se2thesis.ins
-2022/11/08 | 1134618 | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf
-2022/11/08 | 1732 | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex
-2022/11/08 | 381789 | macros/latex/contrib/se2thesis/se2thesis.pdf
-2022/11/08 | 1474768 | macros/latex/contrib/se2thesis.zip
+2022/11/22 | 1791 | macros/latex/contrib/se2thesis/CHANGELOG.md
+2022/11/22 | 863 | macros/latex/contrib/se2thesis/README.md
+2022/11/22 | 90947 | macros/latex/contrib/se2thesis/se2thesis.dtx
+2022/11/22 | 2466 | macros/latex/contrib/se2thesis/se2thesis.ins
+2022/11/22 | 1138744 | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf
+2022/11/22 | 1856 | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex
+2022/11/22 | 381335 | macros/latex/contrib/se2thesis/se2thesis.pdf
+2022/11/22 | 1478194 | macros/latex/contrib/se2thesis.zip
2010/10/24 | 2193 | macros/latex/contrib/secdot/secdot.ltx
2010/10/24 | 254804 | macros/latex/contrib/secdot/secdot.pdf
2000/07/17 | 2366 | macros/latex/contrib/secdot/secdot.sty
@@ -239520,26 +239514,30 @@
2022/08/17 | 4289 | macros/luatex/generic/luavlna/luavlna.tex
2022/08/17 | 3320 | macros/luatex/generic/luavlna/README.md
2022/08/17 | 104682 | macros/luatex/generic/luavlna.zip
-2022/08/24 | 8458 | macros/luatex/generic/lua-widow-control/CHANGELOG.md
-2022/08/24 | 3022 | macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty
-2022/08/24 | 44463 | macros/luatex/generic/lua-widow-control/lua-widow-control.lua
-2022/08/24 | 1807 | macros/luatex/generic/lua-widow-control/lua-widow-control.opm
-2022/08/24 | 508349 | macros/luatex/generic/lua-widow-control/lua-widow-control.pdf
-2022/08/24 | 9524 | macros/luatex/generic/lua-widow-control/lua-widow-control.sty
-2022/08/24 | 2233 | macros/luatex/generic/lua-widow-control/lua-widow-control.tex
-2022/08/24 | 1404 | macros/luatex/generic/lua-widow-control/lwc-manual.bib
-2022/08/24 | 8676 | macros/luatex/generic/lua-widow-control/lwc-manual.mkxl
-2022/08/24 | 5739 | macros/luatex/generic/lua-widow-control/lwc-manual-samples.tex
-2022/08/24 | 36416 | macros/luatex/generic/lua-widow-control/lwc-manual.tex
-2022/08/24 | 2810 | macros/luatex/generic/lua-widow-control/README.md
-2022/08/24 | 5911 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.bib
-2022/08/24 | 4630 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows-figure.ctx
-2022/08/24 | 61886 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx
-2022/08/24 | 391526 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf
-2022/08/24 | 47183 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows-plot.dat
-2022/08/24 | 32 | macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkiv
-2022/08/24 | 2823 | macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl
-2022/08/24 | 842946 | macros/luatex/generic/lua-widow-control.zip
+2022/11/22 | 9482 | macros/luatex/generic/lua-widow-control/CHANGELOG.md
+2022/11/22 | 3022 | macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty
+2022/11/22 | 55946 | macros/luatex/generic/lua-widow-control/lua-widow-control.lua
+2022/11/22 | 1966 | macros/luatex/generic/lua-widow-control/lua-widow-control.opm
+2022/11/22 | 579606 | macros/luatex/generic/lua-widow-control/lua-widow-control.pdf
+2022/11/22 | 10435 | macros/luatex/generic/lua-widow-control/lua-widow-control.sty
+2022/11/22 | 2716 | macros/luatex/generic/lua-widow-control/lua-widow-control.tex
+2022/11/22 | 2000 | macros/luatex/generic/lua-widow-control/lwc-manual.bib
+2022/11/22 | 8711 | macros/luatex/generic/lua-widow-control/lwc-manual.mkxl
+2022/11/22 | 5739 | macros/luatex/generic/lua-widow-control/lwc-manual-samples.tex
+2022/11/22 | 41933 | macros/luatex/generic/lua-widow-control/lwc-manual.tex
+2022/11/22 | 6038 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj.bib
+2022/11/22 | 4672 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj-figure.ctx
+2022/11/22 | 73718 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj.ltx
+2022/11/22 | 377831 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj.pdf
+2022/11/22 | 2928 | macros/luatex/generic/lua-widow-control/README.md
+2022/11/22 | 5911 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.bib
+2022/11/22 | 4630 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows-figure.ctx
+2022/11/22 | 61999 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx
+2022/11/22 | 519495 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf
+2022/11/22 | 47183 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows-plot.dat
+2022/11/22 | 32 | macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkiv
+2022/11/22 | 4258 | macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl
+2022/11/22 | 1377813 | macros/luatex/generic/lua-widow-control.zip
2021/10/07 | 15321 | macros/luatex/generic/luaxml/luaxml-cssquery.lua
2021/10/07 | 16299 | macros/luatex/generic/luaxml/luaxml-domobject.lua
2021/10/07 | 1357 | macros/luatex/generic/luaxml/luaxml-entities.lua
@@ -250444,12 +250442,12 @@
2016/04/07 | 1332 | macros/xetex/plain/font-change-xetex/README.txt
2016/04/07 | 49842 | macros/xetex/plain/font-change-xetex/tex/macros/font-change-xetex.tex
2016/04/08 | 573199 | macros/xetex/plain/font-change-xetex.zip
-2022/11/06 | 39206 | macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdf
-2022/11/06 | 7160 | macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex
+2022/11/23 | 44146 | macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdf
+2022/11/23 | 9129 | macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex
2022/11/06 | 471 | macros/xetex/plain/unimath-plain-xetex/README.md
2022/11/06 | 42947 | macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-alphafams.tex
-2022/11/06 | 16398 | macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex
-2022/11/06 | 50754 | macros/xetex/plain/unimath-plain-xetex.zip
+2022/11/22 | 17319 | macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex
+2022/11/22 | 56492 | macros/xetex/plain/unimath-plain-xetex.zip
2008/06/20 | 3630 | macros/xetex/plain/xetexfontinfo/aat-info.tex
2008/06/20 | 2631 | macros/xetex/plain/xetexfontinfo/opentype-info.tex
2008/06/20 | 505 | macros/xetex/plain/xetexfontinfo/README
@@ -279865,7 +279863,7 @@
2021/05/03 | 629 | support/TeX4ht/doc/README
2020/08/24 | 358454 | support/TeX4ht/doc/TeX4ht-doc.tex
2021/05/11 | 262 | support/TeX4ht/README
-2022/11/20 | 208372 | support/TeX4ht/source/ChangeLog
+2022/11/21 | 208702 | support/TeX4ht/source/ChangeLog
2021/05/03 | 1375 | support/TeX4ht/source/checklog.lua
2021/05/03 | 1189 | support/TeX4ht/source/common-code.tex
2021/05/03 | 2727 | support/TeX4ht/source/common-info.tex
@@ -279877,7 +279875,7 @@
2021/05/03 | 1121 | support/TeX4ht/source/README
2021/05/03 | 1744 | support/TeX4ht/source/t1fontmake.lua
2021/05/03 | 297 | support/TeX4ht/source/t1fontsample.tex
-2022/11/20 | 1138176 | support/TeX4ht/source/tex4ht-4ht.tex
+2022/11/21 | 1138494 | support/TeX4ht/source/tex4ht-4ht.tex
2021/05/03 | 7127 | support/TeX4ht/source/tex4ht-auto-script.tex
2021/05/16 | 1539 | support/TeX4ht/source/tex4ht-bibtex2.tex
2022/06/05 | 21307 | support/TeX4ht/source/tex4ht-cond4ht.tex
@@ -285195,9 +285193,9 @@
2021/05/18 | 23164 | systems/texlive/tlnet/archive/bnumexpr.source.r59244.tar.xz
2022/01/24 | 343180 | systems/texlive/tlnet/archive/bodegraph.doc.r61719.tar.xz
2022/01/24 | 16008 | systems/texlive/tlnet/archive/bodegraph.r61719.tar.xz
-2022/11/03 | 731560 | systems/texlive/tlnet/archive/bodeplot.doc.r64902.tar.xz
-2022/11/03 | 5548 | systems/texlive/tlnet/archive/bodeplot.r64902.tar.xz
-2022/11/03 | 16832 | systems/texlive/tlnet/archive/bodeplot.source.r64902.tar.xz
+2022/11/22 | 730360 | systems/texlive/tlnet/archive/bodeplot.doc.r65074.tar.xz
+2022/11/22 | 5484 | systems/texlive/tlnet/archive/bodeplot.r65074.tar.xz
+2022/11/22 | 16756 | systems/texlive/tlnet/archive/bodeplot.source.r65074.tar.xz
2022/04/08 | 424416 | systems/texlive/tlnet/archive/bohr.doc.r62977.tar.xz
2022/04/08 | 3652 | systems/texlive/tlnet/archive/bohr.r62977.tar.xz
2019/02/28 | 939068 | systems/texlive/tlnet/archive/boisik.doc.r15878.tar.xz
@@ -286996,9 +286994,9 @@
2019/02/28 | 3156 | systems/texlive/tlnet/archive/docmute.source.r25741.tar.xz
2019/02/28 | 1508 | systems/texlive/tlnet/archive/doc-pictex.doc.r24927.tar.xz
2019/02/28 | 468 | systems/texlive/tlnet/archive/doc-pictex.r24927.tar.xz
-2022/11/11 | 336080 | systems/texlive/tlnet/archive/docshots.doc.r64986.tar.xz
-2022/11/11 | 2736 | systems/texlive/tlnet/archive/docshots.r64986.tar.xz
-2022/11/11 | 7008 | systems/texlive/tlnet/archive/docshots.source.r64986.tar.xz
+2022/11/22 | 336488 | systems/texlive/tlnet/archive/docshots.doc.r65072.tar.xz
+2022/11/22 | 2740 | systems/texlive/tlnet/archive/docshots.r65072.tar.xz
+2022/11/22 | 7048 | systems/texlive/tlnet/archive/docshots.source.r65072.tar.xz
2021/12/31 | 260928 | systems/texlive/tlnet/archive/docsurvey.doc.r61447.tar.xz
2021/12/31 | 548 | systems/texlive/tlnet/archive/docsurvey.r61447.tar.xz
2019/02/28 | 603152 | systems/texlive/tlnet/archive/doctools.doc.r34474.tar.xz
@@ -287854,9 +287852,9 @@
2021/11/09 | 358088 | systems/texlive/tlnet/archive/etl.doc.r60998.tar.xz
2021/11/09 | 4424 | systems/texlive/tlnet/archive/etl.r60998.tar.xz
2021/11/09 | 15532 | systems/texlive/tlnet/archive/etl.source.r60998.tar.xz
-2022/11/19 | 787788 | systems/texlive/tlnet/archive/etoc.doc.r65048.tar.xz
-2022/11/19 | 10988 | systems/texlive/tlnet/archive/etoc.r65048.tar.xz
-2022/11/19 | 97400 | systems/texlive/tlnet/archive/etoc.source.r65048.tar.xz
+2022/11/22 | 854848 | systems/texlive/tlnet/archive/etoc.doc.r65068.tar.xz
+2022/11/22 | 10996 | systems/texlive/tlnet/archive/etoc.r65068.tar.xz
+2022/11/22 | 103456 | systems/texlive/tlnet/archive/etoc.source.r65068.tar.xz
2019/02/28 | 234632 | systems/texlive/tlnet/archive/etoolbox-de.doc.r21906.tar.xz
2019/02/28 | 404 | systems/texlive/tlnet/archive/etoolbox-de.r21906.tar.xz
2020/10/06 | 237928 | systems/texlive/tlnet/archive/etoolbox.doc.r56554.tar.xz
@@ -289279,8 +289277,8 @@
2021/06/02 | 1468 | systems/texlive/tlnet/archive/hvarabic.r59423.tar.xz
2022/06/25 | 1125232 | systems/texlive/tlnet/archive/hvextern.doc.r63711.tar.xz
2022/06/25 | 7136 | systems/texlive/tlnet/archive/hvextern.r63711.tar.xz
-2022/11/08 | 10334624 | systems/texlive/tlnet/archive/hvfloat.doc.r64967.tar.xz
-2022/11/08 | 11976 | systems/texlive/tlnet/archive/hvfloat.r64967.tar.xz
+2022/11/22 | 11546656 | systems/texlive/tlnet/archive/hvfloat.doc.r65069.tar.xz
+2022/11/22 | 12372 | systems/texlive/tlnet/archive/hvfloat.r65069.tar.xz
2019/02/28 | 76336 | systems/texlive/tlnet/archive/hvindex.doc.r46051.tar.xz
2019/02/28 | 1672 | systems/texlive/tlnet/archive/hvindex.r46051.tar.xz
2022/05/09 | 87192 | systems/texlive/tlnet/archive/hvlogos.doc.r63261.tar.xz
@@ -290928,8 +290926,8 @@
2022/03/13 | 2266876 | systems/texlive/tlnet/archive/luajittex.x86_64-darwinlegacy.r62668.tar.xz
2022/03/13 | 3967112 | systems/texlive/tlnet/archive/luajittex.x86_64-linuxmusl.r62668.tar.xz
2022/03/13 | 2766096 | systems/texlive/tlnet/archive/luajittex.x86_64-linux.r62668.tar.xz
-2022/11/18 | 294000 | systems/texlive/tlnet/archive/luakeys.doc.r65041.tar.xz
-2022/11/18 | 9840 | systems/texlive/tlnet/archive/luakeys.r65041.tar.xz
+2022/11/22 | 296820 | systems/texlive/tlnet/archive/luakeys.doc.r65071.tar.xz
+2022/11/22 | 9964 | systems/texlive/tlnet/archive/luakeys.r65071.tar.xz
2019/02/28 | 137620 | systems/texlive/tlnet/archive/lualatex-doc-de.doc.r30474.tar.xz
2019/02/28 | 536 | systems/texlive/tlnet/archive/lualatex-doc-de.r30474.tar.xz
2019/02/28 | 112928 | systems/texlive/tlnet/archive/lualatex-doc.doc.r30473.tar.xz
@@ -292150,9 +292148,9 @@
2019/02/28 | 7064 | systems/texlive/tlnet/archive/niceframe.source.r36086.tar.xz
2019/02/28 | 604 | systems/texlive/tlnet/archive/niceframe-type1.doc.r44671.tar.xz
2019/02/28 | 276328 | systems/texlive/tlnet/archive/niceframe-type1.r44671.tar.xz
-2022/11/16 | 1820004 | systems/texlive/tlnet/archive/nicematrix.doc.r65021.tar.xz
-2022/11/16 | 38336 | systems/texlive/tlnet/archive/nicematrix.r65021.tar.xz
-2022/11/16 | 120844 | systems/texlive/tlnet/archive/nicematrix.source.r65021.tar.xz
+2022/11/22 | 1819820 | systems/texlive/tlnet/archive/nicematrix.doc.r65073.tar.xz
+2022/11/22 | 38344 | systems/texlive/tlnet/archive/nicematrix.r65073.tar.xz
+2022/11/22 | 120840 | systems/texlive/tlnet/archive/nicematrix.source.r65073.tar.xz
2019/02/28 | 2473836 | systems/texlive/tlnet/archive/nicetext.doc.r38914.tar.xz
2019/02/28 | 54740 | systems/texlive/tlnet/archive/nicetext.r38914.tar.xz
2019/02/28 | 28908 | systems/texlive/tlnet/archive/nicetext.source.r38914.tar.xz
@@ -293077,9 +293075,8 @@
2019/02/28 | 317704 | systems/texlive/tlnet/archive/pittetd.doc.r15878.tar.xz
2019/02/28 | 8884 | systems/texlive/tlnet/archive/pittetd.r15878.tar.xz
2019/02/28 | 38588 | systems/texlive/tlnet/archive/pittetd.source.r15878.tar.xz
-2021/01/24 | 154092 | systems/texlive/tlnet/archive/pixelart.doc.r57508.tar.xz
-2021/01/24 | 1580 | systems/texlive/tlnet/archive/pixelart.r57508.tar.xz
-2021/01/24 | 6560 | systems/texlive/tlnet/archive/pixelart.source.r57508.tar.xz
+2022/11/22 | 385852 | systems/texlive/tlnet/archive/pixelart.doc.r65075.tar.xz
+2022/11/22 | 6696 | systems/texlive/tlnet/archive/pixelart.r65075.tar.xz
2019/02/28 | 340 | systems/texlive/tlnet/archive/pkfix.aarch64-linux.r46208.tar.xz
2019/02/28 | 340 | systems/texlive/tlnet/archive/pkfix.amd64-freebsd.r16472.tar.xz
2019/02/28 | 336 | systems/texlive/tlnet/archive/pkfix.amd64-netbsd.r30191.tar.xz
@@ -293342,8 +293339,8 @@
2022/11/04 | 1249676 | systems/texlive/tlnet/archive/profcollege.r64918.tar.xz
2022/04/27 | 134096 | systems/texlive/tlnet/archive/proflabo.doc.r63147.tar.xz
2022/04/27 | 2748 | systems/texlive/tlnet/archive/proflabo.r63147.tar.xz
-2022/11/08 | 1294860 | systems/texlive/tlnet/archive/proflycee.doc.r64967.tar.xz
-2022/11/08 | 22768 | systems/texlive/tlnet/archive/proflycee.r64967.tar.xz
+2022/11/22 | 1428816 | systems/texlive/tlnet/archive/proflycee.doc.r65070.tar.xz
+2022/11/22 | 24020 | systems/texlive/tlnet/archive/proflycee.r65070.tar.xz
2019/02/28 | 49880 | systems/texlive/tlnet/archive/program.doc.r44214.tar.xz
2019/02/28 | 11780 | systems/texlive/tlnet/archive/program.r44214.tar.xz
2019/02/28 | 86236 | systems/texlive/tlnet/archive/progressbar.doc.r33822.tar.xz
@@ -293632,8 +293629,8 @@
2019/02/28 | 90668 | systems/texlive/tlnet/archive/pst-platon.doc.r16538.tar.xz
2019/02/28 | 2788 | systems/texlive/tlnet/archive/pst-platon.r16538.tar.xz
2019/02/28 | 936 | systems/texlive/tlnet/archive/pst-platon.source.r16538.tar.xz
-2021/09/27 | 1375272 | systems/texlive/tlnet/archive/pst-plot.doc.r60620.tar.xz
-2021/09/27 | 22632 | systems/texlive/tlnet/archive/pst-plot.r60620.tar.xz
+2022/11/22 | 1346668 | systems/texlive/tlnet/archive/pst-plot.doc.r65066.tar.xz
+2022/11/22 | 22692 | systems/texlive/tlnet/archive/pst-plot.r65066.tar.xz
2020/01/22 | 2444488 | systems/texlive/tlnet/archive/pst-poker.doc.r53482.tar.xz
2020/01/22 | 347516 | systems/texlive/tlnet/archive/pst-poker.r53482.tar.xz
2019/02/28 | 141292 | systems/texlive/tlnet/archive/pst-poly.doc.r35062.tar.xz
@@ -293642,8 +293639,8 @@
2022/04/08 | 4748 | systems/texlive/tlnet/archive/pst-pulley.r62977.tar.xz
2019/02/28 | 24596 | systems/texlive/tlnet/archive/pst-qtree.doc.r15878.tar.xz
2019/02/28 | 1844 | systems/texlive/tlnet/archive/pst-qtree.r15878.tar.xz
-2021/12/26 | 9152100 | systems/texlive/tlnet/archive/pstricks-add.doc.r61407.tar.xz
-2021/12/26 | 21888 | systems/texlive/tlnet/archive/pstricks-add.r61407.tar.xz
+2022/11/22 | 10578276 | systems/texlive/tlnet/archive/pstricks-add.doc.r65067.tar.xz
+2022/11/22 | 21896 | systems/texlive/tlnet/archive/pstricks-add.r65067.tar.xz
2019/02/28 | 1133128 | systems/texlive/tlnet/archive/pstricks_calcnotes.doc.r34363.tar.xz
2019/02/28 | 512 | systems/texlive/tlnet/archive/pstricks_calcnotes.r34363.tar.xz
2022/10/24 | 7596068 | systems/texlive/tlnet/archive/pstricks.doc.r64797.tar.xz
@@ -295220,14 +295217,14 @@
2022/02/27 | 108804 | systems/texlive/tlnet/archive/tex4ht.amd64-freebsd.r62206.tar.xz
2022/02/27 | 87364 | systems/texlive/tlnet/archive/tex4ht.amd64-netbsd.r62220.tar.xz
2022/04/21 | 69948 | systems/texlive/tlnet/archive/tex4ht.armhf-linux.r63092.tar.xz
-2022/11/21 | 136384 | systems/texlive/tlnet/archive/tex4ht.doc.r65059.tar.xz
+2022/11/22 | 136384 | systems/texlive/tlnet/archive/tex4ht.doc.r65076.tar.xz
2022/03/01 | 58328 | systems/texlive/tlnet/archive/tex4ht.i386-cygwin.r62282.tar.xz
2022/02/27 | 93760 | systems/texlive/tlnet/archive/tex4ht.i386-freebsd.r62206.tar.xz
2022/02/27 | 91280 | systems/texlive/tlnet/archive/tex4ht.i386-linux.r62210.tar.xz
2022/02/27 | 76200 | systems/texlive/tlnet/archive/tex4ht.i386-netbsd.r62220.tar.xz
2022/02/27 | 83964 | systems/texlive/tlnet/archive/tex4ht.i386-solaris.r62206.tar.xz
-2022/11/21 | 952364 | systems/texlive/tlnet/archive/tex4ht.r65059.tar.xz
-2022/11/21 | 1291600 | systems/texlive/tlnet/archive/tex4ht.source.r65059.tar.xz
+2022/11/22 | 952412 | systems/texlive/tlnet/archive/tex4ht.r65076.tar.xz
+2022/11/22 | 1292132 | systems/texlive/tlnet/archive/tex4ht.source.r65076.tar.xz
2022/02/28 | 184748 | systems/texlive/tlnet/archive/tex4ht.universal-darwin.r62258.tar.xz
2022/02/27 | 57768 | systems/texlive/tlnet/archive/tex4ht.win32.r62199.tar.xz
2022/03/01 | 58016 | systems/texlive/tlnet/archive/tex4ht.x86_64-cygwin.r62279.tar.xz
@@ -295481,7 +295478,7 @@
2022/09/13 | 600 | systems/texlive/tlnet/archive/texlive-scripts.amd64-freebsd.r64356.tar.xz
2022/09/13 | 596 | systems/texlive/tlnet/archive/texlive-scripts.amd64-netbsd.r64356.tar.xz
2022/09/13 | 596 | systems/texlive/tlnet/archive/texlive-scripts.armhf-linux.r64356.tar.xz
-2022/11/21 | 423428 | systems/texlive/tlnet/archive/texlive-scripts.doc.r65056.tar.xz
+2022/11/22 | 423432 | systems/texlive/tlnet/archive/texlive-scripts.doc.r65062.tar.xz
2020/01/27 | 916 | systems/texlive/tlnet/archive/texlive-scripts-extra.aarch64-linux.r53577.tar.xz
2020/01/27 | 924 | systems/texlive/tlnet/archive/texlive-scripts-extra.amd64-freebsd.r53577.tar.xz
2020/01/27 | 916 | systems/texlive/tlnet/archive/texlive-scripts-extra.amd64-netbsd.r53577.tar.xz
@@ -295505,7 +295502,7 @@
2022/09/13 | 592 | systems/texlive/tlnet/archive/texlive-scripts.i386-linux.r64356.tar.xz
2022/09/13 | 596 | systems/texlive/tlnet/archive/texlive-scripts.i386-netbsd.r64356.tar.xz
2022/09/13 | 596 | systems/texlive/tlnet/archive/texlive-scripts.i386-solaris.r64356.tar.xz
-2022/11/21 | 113708 | systems/texlive/tlnet/archive/texlive-scripts.r65056.tar.xz
+2022/11/22 | 113712 | systems/texlive/tlnet/archive/texlive-scripts.r65062.tar.xz
2022/09/13 | 580 | systems/texlive/tlnet/archive/texlive-scripts.universal-darwin.r64356.tar.xz
2022/04/19 | 36296 | systems/texlive/tlnet/archive/texlive-scripts.win32.r63068.tar.xz
2022/09/13 | 596 | systems/texlive/tlnet/archive/texlive-scripts.x86_64-cygwin.r64356.tar.xz
@@ -297354,16 +297351,16 @@
2020/07/18 | 47816 | systems/texlive/tlnet/archive/zztex.doc.r55862.tar.xz
2020/07/18 | 101724 | systems/texlive/tlnet/archive/zztex.r55862.tar.xz
2022/07/17 | 124404 | systems/texlive/tlnet/install-tl
-2022/11/21 | 5834857 | systems/texlive/tlnet/install-tl-unx.tar.gz
-2022/11/21 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
-2022/11/21 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
+2022/11/22 | 5834629 | systems/texlive/tlnet/install-tl-unx.tar.gz
+2022/11/22 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
+2022/11/22 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
2021/04/11 | 4945 | systems/texlive/tlnet/install-tl-windows.bat
-2022/11/21 | 20434559 | systems/texlive/tlnet/install-tl-windows.exe
-2022/11/21 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
-2022/11/21 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
-2022/11/21 | 25518547 | systems/texlive/tlnet/install-tl.zip
-2022/11/21 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
-2022/11/21 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
+2022/11/22 | 20434720 | systems/texlive/tlnet/install-tl-windows.exe
+2022/11/22 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
+2022/11/22 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
+2022/11/22 | 25518548 | systems/texlive/tlnet/install-tl.zip
+2022/11/22 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
+2022/11/22 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
2022/04/03 | 1229 | systems/texlive/tlnet/README.md
2022/04/03 | 0 | systems/texlive/tlnet/TEXLIVE_2022
2022/02/28 | 7791 | systems/texlive/tlnet/tlpkg/gpg/pubring.gpg
@@ -297373,7 +297370,7 @@
2022/02/28 | 1280 | systems/texlive/tlnet/tlpkg/gpg/trustdb.gpg
2022/10/09 | 49938 | systems/texlive/tlnet/tlpkg/installer/config.guess
2010/11/11 | 11651 | systems/texlive/tlnet/tlpkg/installer/COPYING.MinGW-runtime.txt
-2022/11/20 | 7450 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
+2022/11/21 | 7402 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
2022/10/13 | 225403 | systems/texlive/tlnet/tlpkg/installer/curl/curl-ca-bundle.crt
2020/04/15 | 2606592 | systems/texlive/tlnet/tlpkg/installer/curl/curl.exe
2017/04/16 | 2629 | systems/texlive/tlnet/tlpkg/installer/installer-options.txt
@@ -297416,12 +297413,12 @@
2021/05/16 | 20371 | systems/texlive/tlnet/tlpkg/TeXLive/TLCrypto.pm
2021/12/21 | 5429 | systems/texlive/tlnet/tlpkg/TeXLive/TLDownload.pm
2021/12/21 | 27582 | systems/texlive/tlnet/tlpkg/TeXLive/TLPaper.pm
-2022/11/21 | 17871787 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
-2022/11/21 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
+2022/11/22 | 17871130 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
+2022/11/22 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
2022/04/18 | 86658 | systems/texlive/tlnet/tlpkg/TeXLive/TLPDB.pm
-2022/11/21 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
-2022/11/21 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
-2022/11/21 | 2430944 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
+2022/11/22 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
+2022/11/22 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
+2022/11/22 | 2431712 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
2022/09/14 | 58922 | systems/texlive/tlnet/tlpkg/TeXLive/TLPOBJ.pm
2022/10/04 | 42404 | systems/texlive/tlnet/tlpkg/TeXLive/TLPSRC.pm
2021/12/21 | 16130 | systems/texlive/tlnet/tlpkg/TeXLive/TLTREE.pm
@@ -307506,7 +307503,7 @@
2014/07/05 | 611 | systems/win32/yandy/README
2014/07/05 | 1004628 | systems/win32/yandy/yandy-src.tar.xz
2014/07/05 | 1012416 | systems/win32/yandy.zip
-2022/11/22 | 186 | timestamp
+2022/11/23 | 186 | timestamp
2002/08/26 | 61898 | usergrps/dante/antrag.pdf
2002/08/26 | 118217 | usergrps/dante/antrag.ps
2022/02/28 | 917 | usergrps/dante/dtk/doc/beispiel.bib
diff --git a/FILES.byname.gz b/FILES.byname.gz
index 1196063431..0c4ff29b0c 100644
--- a/FILES.byname.gz
+++ b/FILES.byname.gz
Binary files differ
diff --git a/FILES.last07days b/FILES.last07days
index 757cefdb9c..1ec0f2562a 100644
--- a/FILES.last07days
+++ b/FILES.last07days
@@ -1,6 +1,134 @@
+2022/11/23 | 9129 | macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex
+2022/11/23 | 44146 | macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdf
+2022/11/22 | 9964 | systems/texlive/tlnet/archive/luakeys.r65071.tar.xz
+2022/11/22 | 952412 | systems/texlive/tlnet/archive/tex4ht.r65076.tar.xz
+2022/11/22 | 9482 | macros/luatex/generic/lua-widow-control/CHANGELOG.md
+2022/11/22 | 90947 | macros/latex/contrib/se2thesis/se2thesis.dtx
+2022/11/22 | 89 | macros/latex/contrib/lwarp/lwarp_baseline_marker.png
+2022/11/22 | 8711 | macros/luatex/generic/lua-widow-control/lwc-manual.mkxl
+2022/11/22 | 863 | macros/latex/contrib/se2thesis/README.md
+2022/11/22 | 854848 | systems/texlive/tlnet/archive/etoc.doc.r65068.tar.xz
+2022/11/22 | 8321 | fonts/kpfonts-otf/README.md
+2022/11/22 | 73718 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj.ltx
+2022/11/22 | 730360 | systems/texlive/tlnet/archive/bodeplot.doc.r65074.tar.xz
+2022/11/22 | 719 | macros/latex/contrib/lwarp/lwarp_baseline_marker.eps
+2022/11/22 | 7048 | systems/texlive/tlnet/archive/docshots.source.r65072.tar.xz
+2022/11/22 | 6696 | systems/texlive/tlnet/archive/pixelart.r65075.tar.xz
+2022/11/22 | 66492 | fonts/kpfonts-otf/fonts/KpMono-Italic.otf
+2022/11/22 | 65188 | fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
+2022/11/22 | 61999 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx
+2022/11/22 | 6038 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj.bib
+2022/11/22 | 5911 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.bib
+2022/11/22 | 59108 | fonts/kpfonts-otf/fonts/KpMono-Regular.otf
+2022/11/22 | 5834629 | systems/texlive/tlnet/install-tl-unx.tar.gz
+2022/11/22 | 57976 | fonts/kpfonts-otf/fonts/KpMono-Bold.otf
+2022/11/22 | 579606 | macros/luatex/generic/lua-widow-control/lua-widow-control.pdf
+2022/11/22 | 5739 | macros/luatex/generic/lua-widow-control/lwc-manual-samples.tex
+2022/11/22 | 56492 | macros/xetex/plain/unimath-plain-xetex.zip
+2022/11/22 | 55946 | macros/luatex/generic/lua-widow-control/lua-widow-control.lua
+2022/11/22 | 5484 | systems/texlive/tlnet/archive/bodeplot.r65074.tar.xz
+2022/11/22 | 519495 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf
+2022/11/22 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
+2022/11/22 | 480 | fonts/kpfonts-otf/tex/KpLight.fontspec
+2022/11/22 | 47183 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows-plot.dat
+2022/11/22 | 469 | fonts/kpfonts-otf/tex/KpRoman.fontspec
+2022/11/22 | 4672 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj-figure.ctx
+2022/11/22 | 463904 | fonts/kpfonts-otf/fonts/KpMath-Light.otf
+2022/11/22 | 4630 | macros/luatex/generic/lua-widow-control/tb133chernoff-widows-figure.ctx
+2022/11/22 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
+2022/11/22 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
+2022/11/22 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
+2022/11/22 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
+2022/11/22 | 4383762 | install/macros/latex/contrib/lwarp.tds.zip
+2022/11/22 | 437568 | fonts/kpfonts-otf/fonts/KpMath-Regular.otf
+2022/11/22 | 4337464 | fonts/kpfonts-otf.zip
+2022/11/22 | 4258 | macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl
+2022/11/22 | 423432 | systems/texlive/tlnet/archive/texlive-scripts.doc.r65062.tar.xz
+2022/11/22 | 41933 | macros/luatex/generic/lua-widow-control/lwc-manual.tex
+2022/11/22 | 4016830 | biblio/ctan-bibdata.zip
+2022/11/22 | 385852 | systems/texlive/tlnet/archive/pixelart.doc.r65075.tar.xz
+2022/11/22 | 38344 | systems/texlive/tlnet/archive/nicematrix.r65073.tar.xz
+2022/11/22 | 381335 | macros/latex/contrib/se2thesis/se2thesis.pdf
+2022/11/22 | 3784579 | macros/latex/contrib/lwarp.zip
+2022/11/22 | 377831 | macros/luatex/generic/lua-widow-control/lwc-zpravodaj.pdf
+2022/11/22 | 3624442 | biblio/ctan-bibdata/ctan.pdf
+2022/11/22 | 35681 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
+2022/11/22 | 33823 | macros/latex/contrib/lwarp/lwarp.ins
+2022/11/22 | 336488 | systems/texlive/tlnet/archive/docshots.doc.r65072.tar.xz
+2022/11/22 | 33313 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
+2022/11/22 | 3303971 | macros/latex/contrib/lwarp/lwarp.pdf
+2022/11/22 | 32 | macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkiv
+2022/11/22 | 3022 | macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty
+2022/11/22 | 29836 | macros/latex/contrib/lwarp/lwarpmk.lua
+2022/11/22 | 296820 | systems/texlive/tlnet/archive/luakeys.doc.r65071.tar.xz
+2022/11/22 | 2947 | macros/latex/contrib/lwarp/lwarp_tutorial.txt
+2022/11/22 | 2928 | macros/luatex/generic/lua-widow-control/README.md
+2022/11/22 | 2849677 | macros/latex/contrib/lwarp/lwarp.dtx
+2022/11/22 | 284020 | fonts/kpfonts-otf/fonts/KpMath-Sans.otf
+2022/11/22 | 2747264 | biblio/ctan-bibdata/ctan.bib
+2022/11/22 | 2740 | systems/texlive/tlnet/archive/docshots.r65072.tar.xz
+2022/11/22 | 2716 | macros/luatex/generic/lua-widow-control/lua-widow-control.tex
+2022/11/22 | 25518548 | systems/texlive/tlnet/install-tl.zip
+2022/11/22 | 2466 | macros/latex/contrib/se2thesis/se2thesis.ins
+2022/11/22 | 2431712 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
+2022/11/22 | 24020 | systems/texlive/tlnet/archive/proflycee.r65070.tar.xz
+2022/11/22 | 231 | fonts/kpfonts-otf/tex/KpSans.fontspec
+2022/11/22 | 22692 | systems/texlive/tlnet/archive/pst-plot.r65066.tar.xz
+2022/11/22 | 222986 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
+2022/11/22 | 221455 | fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
+2022/11/22 | 21896 | systems/texlive/tlnet/archive/pstricks-add.r65067.tar.xz
+2022/11/22 | 20434720 | systems/texlive/tlnet/install-tl-windows.exe
+2022/11/22 | 2000 | macros/luatex/generic/lua-widow-control/lwc-manual.bib
+2022/11/22 | 199956 | fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
+2022/11/22 | 199264 | fonts/kpfonts-otf/fonts/KpMath-Bold.otf
+2022/11/22 | 1966 | macros/luatex/generic/lua-widow-control/lua-widow-control.opm
+2022/11/22 | 18891 | fonts/kpfonts-otf/tex/kpfonts-otf.sty
+2022/11/22 | 185 | fonts/kpfonts-otf/tex/KpMono.fontspec
+2022/11/22 | 1856 | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex
+2022/11/22 | 1821068 | fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
+2022/11/22 | 1819820 | systems/texlive/tlnet/archive/nicematrix.doc.r65073.tar.xz
+2022/11/22 | 1791 | macros/latex/contrib/se2thesis/CHANGELOG.md
+2022/11/22 | 17871130 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
+2022/11/22 | 17319 | macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex
+2022/11/22 | 16827 | fonts/kpfonts-otf/doc/unimath-kpfonts.ltx
+2022/11/22 | 1678 | biblio/ctan-bibdata/biblatex-ctan/ctan.bbx
+2022/11/22 | 16756 | systems/texlive/tlnet/archive/bodeplot.source.r65074.tar.xz
+2022/11/22 | 1623 | macros/latex/contrib/lwarp/README.txt
+2022/11/22 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
+2022/11/22 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
+2022/11/22 | 1491160 | install/macros/latex/contrib/se2thesis.tds.zip
+2022/11/22 | 1478194 | macros/latex/contrib/se2thesis.zip
+2022/11/22 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
+2022/11/22 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
+2022/11/22 | 143604 | fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
+2022/11/22 | 1428816 | systems/texlive/tlnet/archive/proflycee.doc.r65070.tar.xz
+2022/11/22 | 141236 | fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
+2022/11/22 | 1379474 | install/macros/luatex/generic/lua-widow-control.tds.zip
+2022/11/22 | 1377813 | macros/luatex/generic/lua-widow-control.zip
+2022/11/22 | 136384 | systems/texlive/tlnet/archive/tex4ht.doc.r65076.tar.xz
+2022/11/22 | 136080 | fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
+2022/11/22 | 1346668 | systems/texlive/tlnet/archive/pst-plot.doc.r65066.tar.xz
+2022/11/22 | 133740 | fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
+2022/11/22 | 132992 | fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
+2022/11/22 | 131884 | fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
+2022/11/22 | 131236 | fonts/kpfonts-otf/fonts/KpRoman-Light.otf
+2022/11/22 | 130248 | fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
+2022/11/22 | 1292132 | systems/texlive/tlnet/archive/tex4ht.source.r65076.tar.xz
+2022/11/22 | 12372 | systems/texlive/tlnet/archive/hvfloat.r65069.tar.xz
+2022/11/22 | 120840 | systems/texlive/tlnet/archive/nicematrix.source.r65073.tar.xz
+2022/11/22 | 11546656 | systems/texlive/tlnet/archive/hvfloat.doc.r65069.tar.xz
+2022/11/22 | 1138744 | macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf
+2022/11/22 | 113712 | systems/texlive/tlnet/archive/texlive-scripts.r65062.tar.xz
+2022/11/22 | 111876 | fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
+2022/11/22 | 111836 | fonts/kpfonts-otf/fonts/KpSans-Italic.otf
+2022/11/22 | 10996 | systems/texlive/tlnet/archive/etoc.r65068.tar.xz
+2022/11/22 | 10578276 | systems/texlive/tlnet/archive/pstricks-add.doc.r65067.tar.xz
+2022/11/22 | 10435 | macros/luatex/generic/lua-widow-control/lua-widow-control.sty
+2022/11/22 | 103876 | fonts/kpfonts-otf/fonts/KpSans-Bold.otf
+2022/11/22 | 103456 | systems/texlive/tlnet/archive/etoc.source.r65068.tar.xz
+2022/11/22 | 103304 | fonts/kpfonts-otf/fonts/KpSans-Regular.otf
2022/11/21 | 9985 | graphics/pstricks/contrib/pstricks-add/doc/data/data.data
2022/11/21 | 965661 | macros/latex/contrib/etoc.zip
-2022/11/21 | 952364 | systems/texlive/tlnet/archive/tex4ht.r65059.tar.xz
2022/11/21 | 91105 | graphics/pstricks/contrib/pstricks-add/tex/pstricks-add.tex
2022/11/21 | 894364 | systems/texlive/tlnet/archive/beebe.r65056.tar.xz
2022/11/21 | 890715 | macros/latex/contrib/etoc/etoc.pdf
@@ -9,28 +137,20 @@
2022/11/21 | 794 | macros/luatex/generic/luakeys/luakeys-debug.sty
2022/11/21 | 78074 | macros/latex/contrib/hvfloat/latex/hvfloat.sty
2022/11/21 | 7781 | graphics/pstricks/contrib/pst-plot/Changes
+2022/11/21 | 7402 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
2022/11/21 | 7372289 | macros/latex/contrib/hvfloat/doc/hvfloat.pdf
2022/11/21 | 728 | graphics/pstricks/contrib/pstricks-add/doc/data/matrix2.data
2022/11/21 | 701 | macros/luatex/generic/luakeys/luakeys.tex
2022/11/21 | 639 | graphics/pstricks/contrib/pstricks-add/latex/pstricks-add.sty
-2022/11/21 | 5834857 | systems/texlive/tlnet/install-tl-unx.tar.gz
2022/11/21 | 56349 | macros/luatex/generic/luakeys/luakeys-doc.tex
2022/11/21 | 5597 | macros/luatex/generic/luakeys/README.md
2022/11/21 | 5509 | macros/latex/contrib/etoc/README.md
-2022/11/21 | 48 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
2022/11/21 | 4561 | graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.bib
-2022/11/21 | 455 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
-2022/11/21 | 455 | systems/texlive/tlnet/install-tl.zip.sha512.asc
-2022/11/21 | 455 | systems/texlive/tlnet/install-tl-windows.exe.sha512.asc
-2022/11/21 | 455 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512.asc
2022/11/21 | 4518 | macros/latex/contrib/hvfloat/Changes
2022/11/21 | 429 | graphics/pstricks/contrib/pstricks-add/doc/data/dataMul.data
-2022/11/21 | 423428 | systems/texlive/tlnet/archive/texlive-scripts.doc.r65056.tar.xz
2022/11/21 | 421490 | macros/latex/contrib/etoc/etoc.dtx
2022/11/21 | 420 | graphics/pstricks/contrib/pstricks-add/doc/data/demo0.data
-2022/11/21 | 4017795 | biblio/ctan-bibdata.zip
2022/11/21 | 36921 | macros/luatex/generic/luakeys/luakeys.lua
-2022/11/21 | 3624254 | biblio/ctan-bibdata/ctan.pdf
2022/11/21 | 326 | graphics/pstricks/contrib/pstricks-add/doc/data/olympic.tex
2022/11/21 | 311 | graphics/pstricks/contrib/pstricks-add/doc/data/matrix.data
2022/11/21 | 308637 | macros/luatex/generic/luakeys.zip
@@ -39,33 +159,22 @@
2022/11/21 | 2876 | graphics/pstricks/contrib/pstricks-add/doc/data/data3.data
2022/11/21 | 286697 | macros/luatex/generic/luakeys/luakeys-doc.pdf
2022/11/21 | 281 | graphics/pstricks/contrib/pstricks-add/doc/data/matrix1.data
-2022/11/21 | 2747264 | biblio/ctan-bibdata/ctan.bib
-2022/11/21 | 25518547 | systems/texlive/tlnet/install-tl.zip
2022/11/21 | 254876 | graphics/pstricks/contrib/pstricks-add/doc/data/olympic.eps
-2022/11/21 | 2430944 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
2022/11/21 | 2097416 | graphics/pstricks/contrib/pstricks-add/doc/data/contourN.data
-2022/11/21 | 20434559 | systems/texlive/tlnet/install-tl-windows.exe
+2022/11/21 | 208702 | support/TeX4ht/source/ChangeLog
2022/11/21 | 195887 | graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.tex
-2022/11/21 | 17871787 | systems/texlive/tlnet/tlpkg/texlive.tlpdb
-2022/11/21 | 1678 | biblio/ctan-bibdata/biblatex-ctan/ctan.bbx
2022/11/21 | 16673791 | macros/latex/contrib/hvfloat.zip
2022/11/21 | 1647382 | macros/latex/contrib/proflycee.zip
2022/11/21 | 1557968 | graphics/pstricks/contrib/pst-plot.zip
2022/11/21 | 154 | graphics/pstricks/contrib/pstricks-add/doc/data/demo2.data
-2022/11/21 | 153 | systems/texlive/tlnet/install-tl-windows.exe.sha512
-2022/11/21 | 152 | systems/texlive/tlnet/install-tl-unx.tar.gz.sha512
2022/11/21 | 151 | graphics/pstricks/contrib/pstricks-add/doc/data/demo3.data
-2022/11/21 | 145 | systems/texlive/tlnet/install-tl.zip.sha512
-2022/11/21 | 144 | systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
-2022/11/21 | 136384 | systems/texlive/tlnet/archive/tex4ht.doc.r65059.tar.xz
-2022/11/21 | 1291600 | systems/texlive/tlnet/archive/tex4ht.source.r65059.tar.xz
2022/11/21 | 12818133 | graphics/pstricks/contrib/pstricks-add.zip
2022/11/21 | 12448916 | graphics/pstricks/contrib/pstricks-add/doc/pstricks-add-doc.pdf
2022/11/21 | 12340 | graphics/pstricks/contrib/pstricks-add/doc/data/olympic.pdf
2022/11/21 | 121887 | macros/latex/contrib/hvfloat/doc/hvfloat.tex
2022/11/21 | 1200 | graphics/pstricks/contrib/pstricks-add/Changes
2022/11/21 | 1179 | macros/luatex/generic/luakeys/luakeys-debug.tex
-2022/11/21 | 113708 | systems/texlive/tlnet/archive/texlive-scripts.r65056.tar.xz
+2022/11/21 | 1138494 | support/TeX4ht/source/tex4ht-4ht.tex
2022/11/21 | 106121 | graphics/pstricks/contrib/pst-plot/tex/pst-plot.tex
2022/11/20 | 968 | macros/latex/contrib/proflycee/doc/cap.csv
2022/11/20 | 929 | systems/win32/miktex/tm/packages/pr.ini
@@ -78,7 +187,6 @@
2022/11/20 | 77504 | systems/win32/miktex/tm/packages/next/miktex-bibtex-bin-x64-2.9.tar.lzma
2022/11/20 | 770417 | systems/win32/miktex/tm/packages/next/miktex-ptex-bin-x64.tar.lzma
2022/11/20 | 756363 | macros/latex/contrib/nicematrix/nicematrix.dtx
-2022/11/20 | 7450 | systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
2022/11/20 | 74128 | systems/win32/miktex/tm/packages/next/miktex-lzma-bin-x64-2.9.tar.lzma
2022/11/20 | 73975 | systems/win32/miktex/tm/packages/next/miktex-web-bin-x64-2.9.tar.lzma
2022/11/20 | 738301 | macros/latex/contrib/proflycee/doc/ProfLycee-doc.pdf
@@ -156,7 +264,6 @@
2022/11/20 | 21566 | macros/latex/contrib/docshots/docshots.dtx
2022/11/20 | 213918 | systems/win32/miktex/tm/packages/next/miktex-omegaware-bin-x64-2.9.tar.lzma
2022/11/20 | 208694 | systems/win32/miktex/tm/packages/next/miktex-metafont-bin-x64-2.9.tar.lzma
-2022/11/20 | 208372 | support/TeX4ht/source/ChangeLog
2022/11/20 | 203476 | macros/latex/contrib/proflycee/doc/ProfLycee-doc.tex
2022/11/20 | 203374 | systems/win32/miktex/tm/packages/next/miktex-pixman-bin-x64-2.9.tar.lzma
2022/11/20 | 1993403 | macros/latex/contrib/nicematrix.zip
@@ -188,7 +295,6 @@
2022/11/20 | 1162142 | systems/win32/miktex/tm/packages/next/miktex-asymptote-bin-x64-2.9.tar.lzma
2022/11/20 | 115495 | systems/win32/miktex/tm/packages/next/miktex-gregorio-bin-x64-2.9.tar.lzma
2022/11/20 | 115479 | systems/win32/miktex/tm/packages/next/miktex-epstopdf-bin-x64-2.9.tar.lzma
-2022/11/20 | 1138176 | support/TeX4ht/source/tex4ht-4ht.tex
2022/11/20 | 112353 | systems/win32/miktex/tm/packages/next/miktex-gd-bin-x64-2.9.tar.lzma
2022/11/20 | 109534 | systems/win32/miktex/tm/packages/next/miktex-jpeg-bin-x64-2.9.tar.lzma
2022/11/20 | 108674 | systems/win32/miktex/tm/packages/next/miktex-texware-bin-x64-2.9.tar.lzma
@@ -198,8 +304,6 @@
2022/11/20 | 103547 | systems/win32/miktex/tm/packages/next/miktex-lua53-bin-x64-2.9.tar.lzma
2022/11/20 | 103216 | systems/win32/miktex/tm/packages/next/miktex-cweb-bin-x64-2.9.tar.lzma
2022/11/20 | 101799 | systems/win32/miktex/tm/packages/next/miktex-bibtex8bit-bin-x64-2.9.tar.lzma
-2022/11/19 | 97400 | systems/texlive/tlnet/archive/etoc.source.r65048.tar.xz
-2022/11/19 | 787788 | systems/texlive/tlnet/archive/etoc.doc.r65048.tar.xz
2022/11/19 | 6164 | systems/texlive/tlnet/archive/eolang.r65047.tar.xz
2022/11/19 | 489802 | support/latexmk.zip
2022/11/19 | 464216 | support/latexmk/latexmk.pl
@@ -212,9 +316,7 @@
2022/11/19 | 13168 | systems/texlive/tlnet/archive/eolang.source.r65047.tar.xz
2022/11/19 | 1293580 | systems/texlive/tlnet/archive/eolang.doc.r65047.tar.xz
2022/11/19 | 1192157 | info/biblio/typeset.bib
-2022/11/19 | 10988 | systems/texlive/tlnet/archive/etoc.r65048.tar.xz
2022/11/19 | 1002752 | info/biblio/texbook3.bib
-2022/11/18 | 9840 | systems/texlive/tlnet/archive/luakeys.r65041.tar.xz
2022/11/18 | 9344 | macros/latex/contrib/ufrgscca/latex/ufrgscca-ptBR-forms.def
2022/11/18 | 924 | systems/texlive/tlnet/archive/collection-luatex.r65042.tar.xz
2022/11/18 | 9199 | macros/latex/contrib/ufrgscca/latex/ufrgscca-ptBR-coord.def
@@ -248,7 +350,6 @@
2022/11/18 | 3248 | systems/win32/miktex/setup/deb/dists/jammy/universe/binary-amd64/Packages
2022/11/18 | 3168 | systems/texlive/tlnet/archive/lgrmath.r65038.tar.xz
2022/11/18 | 3136720 | systems/texlive/tlnet/archive/memoir.doc.r65040.tar.xz
-2022/11/18 | 294000 | systems/texlive/tlnet/archive/luakeys.doc.r65041.tar.xz
2022/11/18 | 2880 | support/spix/README.md
2022/11/18 | 28623 | macros/latex/contrib/ufrgscca/latex/ufrgscca-coord.sty
2022/11/18 | 2843 | macros/latex/contrib/ufrgscca/latex/ufrgscca-ptBR-core.def
@@ -842,7 +943,6 @@
2022/11/16 | 4008 | fonts/chivo/tfm/Chivo-BlackItalic-lf-ot1.tfm
2022/11/16 | 395618 | graphics/pgf/contrib/pixelart.zip
2022/11/16 | 3884 | graphics/pgf/contrib/bodeplot/README.md
-2022/11/16 | 38336 | systems/texlive/tlnet/archive/nicematrix.r65021.tar.xz
2022/11/16 | 38097 | macros/latex/contrib/siunitx/siunitx-complex.dtx
2022/11/16 | 38090 | systems/mac/mactex/ExtrasFolder.pdf
2022/11/16 | 3687 | macros/latex/contrib/siunitx/siunitx.ins
@@ -1095,7 +1195,6 @@
2022/11/16 | 1820 | fonts/chivo/tfm/Chivo-SemiBoldItalic-osf-t1--base.tfm
2022/11/16 | 1820 | fonts/chivo/tfm/Chivo-SemiBoldItalic-dnom-t1--base.tfm
2022/11/16 | 1820 | fonts/chivo/tfm/Chivo-ExtraLightItalic-numr-t1.tfm
-2022/11/16 | 1820004 | systems/texlive/tlnet/archive/nicematrix.doc.r65021.tar.xz
2022/11/16 | 1816 | fonts/chivo/tfm/Chivo-ThinItalic-sup-t1--base.tfm
2022/11/16 | 1816 | fonts/chivo/tfm/Chivo-ThinItalic-dnom-t1.tfm
2022/11/16 | 1816 | fonts/chivo/tfm/Chivo-Italic-sup-t1--base.tfm
@@ -2070,7 +2169,6 @@
2022/11/16 | 12212 | fonts/chivo/tfm/Chivo-Light-tlf-ot1.tfm
2022/11/16 | 12212 | fonts/chivo/tfm/Chivo-Light-lf-ot1.tfm
2022/11/16 | 1213 | fonts/chivo/README.md
-2022/11/16 | 120844 | systems/texlive/tlnet/archive/nicematrix.source.r65021.tar.xz
2022/11/16 | 11984 | fonts/chivo/tfm/Chivo-ExtraLight-osf-ot1.tfm
2022/11/16 | 11964 | fonts/chivo/tfm/Chivo-ExtraLight-tosf-ot1.tfm
2022/11/16 | 11956 | fonts/chivo/tfm/Chivo-ExtraLight-tlf-ot1.tfm
@@ -2102,384 +2200,3 @@
2022/11/16 | 1049 | graphics/pgf/contrib/pixelart/README.md
2022/11/16 | 103909 | macros/latex/contrib/siunitx/siunitx-unit.dtx
2022/11/16 | 10233 | fonts/yfonts-otf/doc/yfonts-otf.ltx
-2022/11/15 | 99461 | systems/win32/miktex/tm/packages/songproj__doc.tar.lzma
-2022/11/15 | 9926 | macros/luatex/latex/luacas/tex/core/binaryoperation/luacas-product.lua
-2022/11/15 | 9890 | macros/luatex/latex/luacas/tex/core/luacas-functionexpression.lua
-2022/11/15 | 98624 | systems/win32/miktex/tm/packages/crossrefenum__doc.tar.lzma
-2022/11/15 | 980 | systems/texlive/tlnet/archive/collection-plaingeneric.r65016.tar.xz
-2022/11/15 | 97384 | systems/texlive/tlnet/archive/texinfo.r65012.tar.xz
-2022/11/15 | 9708 | macros/luatex/latex/luacas/tex/calculus/luacas-derivativeexpression.lua
-2022/11/15 | 9676 | systems/win32/miktex/tm/packages/songproj__source.tar.lzma
-2022/11/15 | 963670 | systems/win32/miktex/tm/packages/postnotes__doc.tar.lzma
-2022/11/15 | 9634 | macros/luatex/latex/luacas/tex/algebra/luacas-ring.lua
-2022/11/15 | 9605 | macros/luatex/latex/luacas/tex/_lib/luacas-inspect.lua
-2022/11/15 | 9587 | systems/win32/miktex/tm/packages/ydoc.tar.lzma
-2022/11/15 | 957 | macros/luatex/latex/luacas/doc/tutorial/tut3/demotut3.dat
-2022/11/15 | 930 | macros/luatex/latex/luacas/tex/test/expressions/luacas-simplify.lua
-2022/11/15 | 92253 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf
-2022/11/15 | 9217 | systems/win32/miktex/tm/packages/latex-lab-dev.tar.lzma
-2022/11/15 | 92062 | systems/win32/miktex/tm/packages/glossaries.tar.lzma
-2022/11/15 | 91600 | systems/texlive/tlnet/archive/hyperref.r65014.tar.xz
-2022/11/15 | 91107 | systems/win32/miktex/tm/packages/biblatex-gb7714-2015__source.tar.lzma
-2022/11/15 | 91036 | systems/win32/miktex/tm/packages/hyperref.tar.lzma
-2022/11/15 | 902 | macros/luatex/latex/luacas/tex/test/expressions/luacas-equations.lua
-2022/11/15 | 8940 | macros/luatex/latex/luacas/tex/core/luacas-expression.lua
-2022/11/15 | 880731 | systems/win32/miktex/tm/packages/scripture__doc.tar.lzma
-2022/11/15 | 8776 | macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg
-2022/11/15 | 8683203 | systems/win32/miktex/tm/packages/pdfmanagement-testphase__doc.tar.lzma
-2022/11/15 | 8649 | systems/win32/miktex/tm/packages/piton.tar.lzma
-2022/11/15 | 8642200 | systems/win32/miktex/tm/packages/profcollege__doc.tar.lzma
-2022/11/15 | 8622 | macros/luatex/latex/luacas/tex/core/binaryoperation/luacas-sum.lua
-2022/11/15 | 8603099 | systems/win32/miktex/tm/packages/libertinus-type1.tar.lzma
-2022/11/15 | 8576 | systems/win32/miktex/tm/packages/latexdiff__source.tar.lzma
-2022/11/15 | 8536 | macros/luatex/latex/luacas/doc/reference/ref.tex
-2022/11/15 | 8529 | systems/win32/miktex/tm/packages/biblatex-unified.tar.lzma
-2022/11/15 | 847320 | systems/win32/miktex/tm/packages/fancyhdr__doc.tar.lzma
-2022/11/15 | 8392 | systems/win32/miktex/tm/packages/latex-firstaid-dev__source.tar.lzma
-2022/11/15 | 837 | macros/luatex/latex/luacas/tex/test/expressions/luacas-collect.lua
-2022/11/15 | 8379 | systems/win32/miktex/tm/packages/photobook__source.tar.lzma
-2022/11/15 | 835 | macros/luatex/latex/luacas/tex/test/expressions/luacas-rationalexponent.lua
-2022/11/15 | 8315 | macros/luatex/latex/luacas/tex/test/luacas-parser.lua
-2022/11/15 | 827 | macros/luatex/latex/luacas/tex/algebra/luacas-algebra_init.lua
-2022/11/15 | 80632 | systems/win32/miktex/tm/packages/babel-french__source.tar.lzma
-2022/11/15 | 794936 | systems/win32/miktex/tm/packages/lyluatex__doc.tar.lzma
-2022/11/15 | 7876 | macros/luatex/latex/luacas/doc/reference/ref_core/ref_core.tex
-2022/11/15 | 7828 | macros/luatex/latex/luacas/doc/tutorial/tut1/tut1.tex
-2022/11/15 | 7824 | systems/win32/miktex/tm/packages/scripture.tar.lzma
-2022/11/15 | 7738 | macros/luatex/latex/luacas/tex/luacas.sty
-2022/11/15 | 7683 | systems/win32/miktex/tm/packages/cvss__source.tar.lzma
-2022/11/15 | 7656 | macros/latex/contrib/bfh-ci/example/DEMO-BFHSciPoster.tex
-2022/11/15 | 76409 | systems/win32/miktex/tm/packages/latexdiff.tar.lzma
-2022/11/15 | 760471 | macros/luatex/latex/luacas/doc/luacas.pdf
-2022/11/15 | 75410 | systems/win32/miktex/tm/packages/pdfmanagement-testphase.tar.lzma
-2022/11/15 | 7404 | systems/win32/miktex/tm/packages/postnotes.tar.lzma
-2022/11/15 | 7396 | systems/win32/miktex/tm/packages/docshots__source.tar.lzma
-2022/11/15 | 735201 | systems/win32/miktex/tm/packages/l3build__doc.tar.lzma
-2022/11/15 | 7351 | macros/luatex/latex/luacas/doc/reference/ref_calculus/ref_calculus_classes/ref_calculus_classes.tex
-2022/11/15 | 7334 | macros/luatex/latex/luacas/tex/test/polynomials/luacas-polynomial.lua
-2022/11/15 | 7332 | macros/luatex/latex/luacas/tex/algebra/polynomialring/luacas-zassenhausfactoring.lua
-2022/11/15 | 730378 | systems/win32/miktex/tm/packages/bodeplot__doc.tar.lzma
-2022/11/15 | 72836 | systems/win32/miktex/tm/packages/yamlvars__doc.tar.lzma
-2022/11/15 | 717247 | systems/win32/miktex/tm/packages/latex-base-dev__source.tar.lzma
-2022/11/15 | 717125 | systems/win32/miktex/tm/packages/ltxbase__source.tar.lzma
-2022/11/15 | 7158694 | systems/win32/miktex/tm/packages/hvfloat__doc.tar.lzma
-2022/11/15 | 7120 | macros/luatex/latex/luacas/tex/algebra/luacas-sqrtexpression.lua
-2022/11/15 | 7111 | macros/luatex/latex/luacas/tex/algebra/luacas-rational.lua
-2022/11/15 | 697528 | systems/win32/miktex/tm/packages/tabularray__doc.tar.lzma
-2022/11/15 | 6936 | macros/luatex/latex/luacas/tex/test/calculus/luacas-integrals.lua
-2022/11/15 | 682854 | systems/win32/miktex/tm/packages/hep-paper__doc.tar.lzma
-2022/11/15 | 680501 | systems/win32/miktex/tm/packages/ragged2e__doc.tar.lzma
-2022/11/15 | 6636 | macros/luatex/latex/luacas/doc/tutorial/tut.tex
-2022/11/15 | 6610 | macros/luatex/latex/luacas/doc/intro/intro.tex
-2022/11/15 | 655156 | systems/win32/miktex/tm/packages/luacas__doc.tar.lzma
-2022/11/15 | 651587 | systems/win32/miktex/tm/packages/texinfo__source.tar.lzma
-2022/11/15 | 6482 | systems/win32/miktex/tm/packages/yamlvars__source.tar.lzma
-2022/11/15 | 6409 | macros/luatex/latex/luacas/tex/core/binaryoperation/luacas-power.lua
-2022/11/15 | 6373 | macros/latex/contrib/bfh-ci/tex/bfhthesis.cls
-2022/11/15 | 6298 | macros/luatex/latex/luacas/tex/test/expressions/luacas-autosimplify.lua
-2022/11/15 | 6292 | systems/win32/miktex/tm/packages/yamlvars.tar.lzma
-2022/11/15 | 6268 | macros/luatex/latex/luacas/tex/test/polynomials/luacas-polynomialmod.lua
-2022/11/15 | 62433 | systems/win32/miktex/tm/packages/acmart__source.tar.lzma
-2022/11/15 | 62428 | systems/win32/miktex/tm/packages/luacas.tar.lzma
-2022/11/15 | 613965 | systems/win32/miktex/tm/packages/biblatex-unified__doc.tar.lzma
-2022/11/15 | 6105 | macros/luatex/latex/luacas/doc/reference/ref_calculus/ref_calculus.tex
-2022/11/15 | 6048 | systems/win32/miktex/tm/packages/iexec__source.tar.lzma
-2022/11/15 | 6041 | systems/win32/miktex/tm/packages/unimath-plain-xetex.tar.lzma
-2022/11/15 | 602033 | systems/win32/miktex/tm/packages/hep-math__doc.tar.lzma
-2022/11/15 | 601 | macros/luatex/latex/luacas/tex/test/polynomials/luacas-partialfractions.lua
-2022/11/15 | 596472 | systems/win32/miktex/tm/packages/l3kernel__source.tar.lzma
-2022/11/15 | 592147 | systems/win32/miktex/tm/packages/easybook__doc.tar.lzma
-2022/11/15 | 5809 | systems/win32/miktex/tm/packages/luafindfont__source.tar.lzma
-2022/11/15 | 5800 | macros/latex/contrib/bfh-ci/tex/bfhletter.sty
-2022/11/15 | 5768 | macros/luatex/latex/luacas/tex/algebra/luacas-equation.lua
-2022/11/15 | 5764 | systems/win32/miktex/tm/packages/luafindfont.tar.lzma
-2022/11/15 | 57406 | systems/win32/miktex/tm/packages/latex-graphics-dev__source.tar.lzma
-2022/11/15 | 57404 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf
-2022/11/15 | 5739 | systems/win32/miktex/tm/packages/bodeplot.tar.lzma
-2022/11/15 | 571890 | systems/win32/miktex/tm/packages/mathastext__doc.tar.lzma
-2022/11/15 | 5701 | macros/luatex/latex/luacas/tex/calculus/luacas-diffexpression.lua
-2022/11/15 | 5624 | systems/win32/miktex/tm/packages/fancyhdr.tar.lzma
-2022/11/15 | 5622 | macros/luatex/latex/luacas/tex/algebra/polynomialring/luacas-berlekampfactoring.lua
-2022/11/15 | 558 | macros/luatex/latex/luacas/tex/core/binaryoperation/luacas-difference.lua
-2022/11/15 | 5580 | systems/win32/miktex/tm/packages/abraces__source.tar.lzma
-2022/11/15 | 557 | macros/luatex/latex/luacas/tex/core/binaryoperation/luacas-quotient.lua
-2022/11/15 | 556 | macros/luatex/latex/luacas/tex/core/luacas-core_init.lua
-2022/11/15 | 5541 | systems/win32/miktex/tm/packages/hwemoji__source.tar.lzma
-2022/11/15 | 550 | macros/luatex/latex/luacas/tex/test/expressions/luacas-functions.lua
-2022/11/15 | 5494340 | systems/win32/miktex/tm/packages/bib2gls__doc.tar.lzma
-2022/11/15 | 5439 | macros/latex/contrib/projlib/README.md
-2022/11/15 | 54127 | systems/win32/miktex/tm/packages/xetexko.tar.lzma
-2022/11/15 | 537 | macros/luatex/latex/luacas/tex/test/rings/luacas-modulararithmetic.lua
-2022/11/15 | 5313098 | systems/win32/miktex/tm/packages/latex-tools-dev__doc.tar.lzma
-2022/11/15 | 53023 | systems/win32/miktex/tm/packages/mcf2graph__source.tar.lzma
-2022/11/15 | 5283 | macros/luatex/latex/luacas/doc/appendix/luacas.dat
-2022/11/15 | 5267 | systems/win32/miktex/tm/packages/songproj.tar.lzma
-2022/11/15 | 5239 | macros/luatex/latex/luacas/tex/algebra/luacas-logarithm.lua
-2022/11/15 | 523627 | systems/win32/miktex/tm/packages/canoniclayout__doc.tar.lzma
-2022/11/15 | 50805 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf
-2022/11/15 | 504977 | systems/win32/miktex/tm/packages/kotex-oblivoir__doc.tar.lzma
-2022/11/15 | 5043 | macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg
-2022/11/15 | 50347 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf
-2022/11/15 | 502525 | systems/win32/miktex/tm/packages/hep-title__doc.tar.lzma
-2022/11/15 | 502363 | systems/win32/miktex/tm/packages/pgf-periodictable.tar.lzma
-2022/11/15 | 50154 | systems/win32/miktex/tm/packages/textcsc__doc.tar.lzma
-2022/11/15 | 497561 | systems/win32/miktex/tm/packages/hep-text__doc.tar.lzma
-2022/11/15 | 493336 | systems/win32/miktex/tm/packages/cvss__doc.tar.lzma
-2022/11/15 | 491048 | systems/win32/miktex/tm/packages/hep-font__doc.tar.lzma
-2022/11/15 | 4872 | macros/luatex/latex/luacas/tex/algebra/luacas-rootexpression.lua
-2022/11/15 | 48439 | systems/win32/miktex/tm/packages/fancyhdr__source.tar.lzma
-2022/11/15 | 4838159 | systems/win32/miktex/tm/packages/acmart__doc.tar.lzma
-2022/11/15 | 4833 | macros/luatex/latex/luacas/tex/test/luacas-main.lua
-2022/11/15 | 4833 | macros/luatex/latex/luacas/tex/algebra/luacas-integerquotientring.lua
-2022/11/15 | 481958 | systems/win32/miktex/tm/packages/babel-french__doc.tar.lzma
-2022/11/15 | 478290 | systems/win32/miktex/tm/packages/hep-bibliography__doc.tar.lzma
-2022/11/15 | 47529 | systems/win32/miktex/tm/packages/biblatex-gb7714-2015.tar.lzma
-2022/11/15 | 4732710 | systems/win32/miktex/tm/packages/pgf-periodictable__doc.tar.lzma
-2022/11/15 | 4715 | systems/win32/miktex/tm/packages/libgreek.tar.lzma
-2022/11/15 | 468171 | systems/win32/miktex/tm/packages/hep-acronym__doc.tar.lzma
-2022/11/15 | 466771 | systems/win32/miktex/tm/packages/piton__doc.tar.lzma
-2022/11/15 | 4662 | macros/latex/contrib/bfh-ci/README.md
-2022/11/15 | 466293 | systems/win32/miktex/tm/packages/charissil__doc.tar.lzma
-2022/11/15 | 46595 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf
-2022/11/15 | 4645 | macros/luatex/latex/luacas/doc/luacas.tex
-2022/11/15 | 4603 | macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg
-2022/11/15 | 4597 | systems/win32/miktex/tm/packages/mhequ.tar.lzma
-2022/11/15 | 4582 | macros/luatex/latex/luacas/tex/_lib/luacas-table.lua
-2022/11/15 | 4460313 | systems/win32/miktex/tm/packages/hwemoji__doc.tar.lzma
-2022/11/15 | 442985 | macros/latex/contrib/bfh-ci.zip
-2022/11/15 | 43929 | systems/win32/miktex/tm/packages/tuda-ci.tar.lzma
-2022/11/15 | 43742 | systems/win32/miktex/tm/packages/kotex-oblivoir.tar.lzma
-2022/11/15 | 43113 | systems/win32/miktex/tm/packages/acmart.tar.lzma
-2022/11/15 | 4220 | systems/win32/miktex/tm/packages/matrix-skeleton__source.tar.lzma
-2022/11/15 | 4190 | macros/latex/contrib/bfh-ci/tex/bfhcolors.sty
-2022/11/15 | 4171 | macros/latex/contrib/bfh-ci/example/DEMO-BFHFactsheet.tex
-2022/11/15 | 416963 | systems/win32/miktex/tm/packages/hyperref__source.tar.lzma
-2022/11/15 | 41660 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf
-2022/11/15 | 415272 | systems/texlive/tlnet/archive/hyperref.source.r65014.tar.xz
-2022/11/15 | 40924 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf
-2022/11/15 | 4068 | systems/win32/miktex/tm/packages/abraces.tar.lzma
-2022/11/15 | 4057627 | systems/win32/miktex/tm/packages/bidi__doc.tar.lzma
-2022/11/15 | 4054 | macros/luatex/latex/luacas/tex/test/polynomials/luacas-roots.lua
-2022/11/15 | 40542 | macros/latex/contrib/projlib.zip
-2022/11/15 | 396 | macros/luatex/latex/luacas/tex/test/expressions/luacas-substitute.lua
-2022/11/15 | 39490 | systems/win32/miktex/tm/packages/easybook__source.tar.lzma
-2022/11/15 | 3901 | macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo
-2022/11/15 | 3866 | macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty
-2022/11/15 | 38138 | systems/win32/miktex/tm/packages/unimath-plain-xetex__doc.tar.lzma
-2022/11/15 | 3788 | macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg
-2022/11/15 | 37803 | macros/luatex/latex/luacas/doc/reference/ref_algebra/ref_algebra_methods/ref_algebra_methods.tex
-2022/11/15 | 3766 | systems/win32/miktex/tm/packages/matrix-skeleton.tar.lzma
-2022/11/15 | 3753 | macros/luatex/latex/luacas/doc/intro/intropart.tex
-2022/11/15 | 37351 | macros/latex/contrib/frenchmath/frenchmath.dtx
-2022/11/15 | 3729 | systems/win32/miktex/tm/packages/cvss.tar.lzma
-2022/11/15 | 37146 | systems/win32/miktex/tm/packages/kotex-oblivoir__source.tar.lzma
-2022/11/15 | 3682128 | systems/texlive/tlnet/archive/hyperref.doc.r65014.tar.xz
-2022/11/15 | 3678814 | systems/win32/miktex/tm/packages/hyperref__doc.tar.lzma
-2022/11/15 | 3624 | systems/win32/miktex/tm/packages/hep-title.tar.lzma
-2022/11/15 | 36055 | systems/win32/miktex/tm/packages/l3build.tar.lzma
-2022/11/15 | 3598 | systems/win32/miktex/tm/packages/latex-firstaid-dev.tar.lzma
-2022/11/15 | 3571 | systems/win32/miktex/tm/packages/hep-math.tar.lzma
-2022/11/15 | 35636 | systems/win32/miktex/tm/packages/tabularray.tar.lzma
-2022/11/15 | 3544 | systems/texlive/tlnet/archive/matrix-skeleton.r65013.tar.xz
-2022/11/15 | 3543 | macros/latex/contrib/bfh-ci/tex/bfhtranslations-french.trsl
-2022/11/15 | 35250 | systems/win32/miktex/tm/packages/hwemoji.tar.lzma
-2022/11/15 | 3508 | macros/latex/contrib/bfh-ci/tex/bfhtranslations-english.trsl
-2022/11/15 | 3472 | systems/win32/miktex/tm/packages/hep-bibliography.tar.lzma
-2022/11/15 | 3463 | macros/luatex/latex/luacas/tex/core/luacas-symbolexpression.lua
-2022/11/15 | 3459 | systems/win32/miktex/tm/packages/unimath-plain-xetex__source.tar.lzma
-2022/11/15 | 3429 | macros/latex/contrib/bfh-ci/tex/bfhtranslations-german.trsl
-2022/11/15 | 3393 | macros/luatex/latex/luacas/tex/test/rings/luacas-number.lua
-2022/11/15 | 339220 | systems/win32/miktex/tm/packages/luatexko__doc.tar.lzma
-2022/11/15 | 338170 | systems/win32/miktex/tm/packages/docshots__doc.tar.lzma
-2022/11/15 | 3379 | macros/latex/contrib/projlib/ProjLib.ins
-2022/11/15 | 334642 | systems/win32/miktex/tm/packages/iexec__doc.tar.lzma
-2022/11/15 | 333299 | systems/win32/miktex/tm/packages/ydoc__doc.tar.lzma
-2022/11/15 | 332 | macros/luatex/latex/luacas/doc/appendix/versionhistory.tex
-2022/11/15 | 33292 | macros/luatex/latex/luacas/tex/calculus/luacas-integralexpression.lua
-2022/11/15 | 3325 | systems/win32/miktex/tm/packages/mismath.tar.lzma
-2022/11/15 | 32763 | macros/luatex/latex/luacas/doc/reference/ref_core/ref_core_methods/ref_core_methods.tex
-2022/11/15 | 3215 | macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty
-2022/11/15 | 3176 | systems/win32/miktex/tm/packages/ragged2e.tar.lzma
-2022/11/15 | 3176 | systems/win32/miktex/tm/packages/hep-math-font.tar.lzma
-2022/11/15 | 31744 | systems/win32/miktex/tm/packages/piton__source.tar.lzma
-2022/11/15 | 31724 | macros/luatex/latex/luacas/tex/core/luacas-binaryoperation.lua
-2022/11/15 | 3164 | macros/latex/contrib/bfh-ci/tex/bfhpub.cls
-2022/11/15 | 3149 | macros/luatex/latex/luacas/doc/appendix/latexcode.tex
-2022/11/15 | 3148593 | systems/win32/miktex/tm/packages/charissil.tar.lzma
-2022/11/15 | 31430 | systems/win32/miktex/tm/packages/l3build__source.tar.lzma
-2022/11/15 | 31401 | systems/win32/miktex/tm/packages/postnotes__source.tar.lzma
-2022/11/15 | 3103 | macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls
-2022/11/15 | 3091 | macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty
-2022/11/15 | 3067 | macros/luatex/latex/luacas/tex/algebra/polynomialring/luacas-decomposition.lua
-2022/11/15 | 30654 | systems/win32/miktex/tm/packages/srdp-mathematik.tar.lzma
-2022/11/15 | 30559920 | systems/win32/miktex/tm/packages/ltxbase__doc.tar.lzma
-2022/11/15 | 30559056 | systems/win32/miktex/tm/packages/latex-base-dev__doc.tar.lzma
-2022/11/15 | 3038 | systems/win32/miktex/tm/packages/hep-paper.tar.lzma
-2022/11/15 | 3030 | macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty
-2022/11/15 | 301985 | systems/win32/miktex/tm/packages/latexdiff__doc.tar.lzma
-2022/11/15 | 2991 | systems/win32/miktex/tm/packages/canoniclayout.tar.lzma
-2022/11/15 | 2968 | systems/win32/miktex/tm/packages/docshots.tar.lzma
-2022/11/15 | 29330 | systems/win32/miktex/tm/packages/photobook.tar.lzma
-2022/11/15 | 286041 | systems/win32/miktex/tm/packages/pgf-periodictable__source.tar.lzma
-2022/11/15 | 28395 | macros/luatex/latex/luacas/tex/algebra/luacas-polynomialring.lua
-2022/11/15 | 28391 | systems/win32/miktex/tm/packages/lyluatex__source.tar.lzma
-2022/11/15 | 2834 | systems/win32/miktex/tm/packages/luaquotes.tar.lzma
-2022/11/15 | 2831 | systems/win32/miktex/tm/packages/pdflscape.tar.lzma
-2022/11/15 | 281595 | systems/win32/miktex/tm/packages/stealcaps__source.tar.lzma
-2022/11/15 | 2788 | macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg
-2022/11/15 | 277072 | systems/texlive/tlnet/archive/crossrefenum.doc.r65016.tar.xz
-2022/11/15 | 27612 | macros/luatex/latex/luacas/doc/reference/ref_algebra/ref_algebra_classes/ref_algebra_classes.tex
-2022/11/15 | 2732 | macros/luatex/latex/luacas/tex/algebra/luacas-factorialexpression.lua
-2022/11/15 | 2725488 | systems/win32/miktex/tm/packages/simpleicons.tar.lzma
-2022/11/15 | 267955 | systems/win32/miktex/tm/packages/erewhon-math.tar.lzma
-2022/11/15 | 2664 | systems/win32/miktex/tm/packages/mhequ__source.tar.lzma
-2022/11/15 | 2651 | systems/win32/miktex/tm/packages/hep-acronym.tar.lzma
-2022/11/15 | 2645 | systems/win32/miktex/tm/packages/iexec.tar.lzma
-2022/11/15 | 263201 | systems/win32/miktex/tm/packages/latex-firstaid-dev__doc.tar.lzma
-2022/11/15 | 260720 | systems/win32/miktex/tm/packages/xetexko__doc.tar.lzma
-2022/11/15 | 2560 | macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg
-2022/11/15 | 2505297 | systems/win32/miktex/tm/packages/latex-graphics-dev__doc.tar.lzma
-2022/11/15 | 24905 | macros/luatex/latex/luacas/tex/algebra/luacas-integer.lua
-2022/11/15 | 24684 | macros/latex/contrib/bfh-ci/tex/bfhlayout.sty
-2022/11/15 | 243227 | macros/latex/contrib/frenchmath/frenchmath.pdf
-2022/11/15 | 242379 | systems/win32/miktex/tm/packages/abraces__doc.tar.lzma
-2022/11/15 | 2421485 | systems/win32/miktex/tm/packages/latex-amsmath-dev__doc.tar.lzma
-2022/11/15 | 23796 | systems/win32/miktex/tm/packages/unicodefonttable__source.tar.lzma
-2022/11/15 | 23665 | systems/win32/miktex/tm/packages/luatexko.tar.lzma
-2022/11/15 | 2344 | systems/win32/miktex/tm/packages/hep-font.tar.lzma
-2022/11/15 | 2320 | macros/latex/contrib/bfh-ci/example/DEMO-BFHBeamer-Sidebar.tex
-2022/11/15 | 2307 | macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty
-2022/11/15 | 22885 | systems/win32/miktex/tm/packages/proflycee.tar.lzma
-2022/11/15 | 228690 | systems/win32/miktex/tm/packages/ltxbase.tar.lzma
-2022/11/15 | 228203 | systems/win32/miktex/tm/packages/latex-base-dev.tar.lzma
-2022/11/15 | 22674 | systems/win32/miktex/tm/packages/hep-paper__source.tar.lzma
-2022/11/15 | 226007 | systems/win32/miktex/tm/packages/euler-math.tar.lzma
-2022/11/15 | 225898 | macros/latex/contrib/frenchmath.zip
-2022/11/15 | 22452 | systems/win32/miktex/tm/packages/latex-lab-dev__source.tar.lzma
-2022/11/15 | 222 | macros/luatex/latex/luacas/tex/calculus/luacas-calculus_init.lua
-2022/11/15 | 218472 | systems/win32/miktex/tm/packages/xcharter-math.tar.lzma
-2022/11/15 | 2177 | macros/latex/contrib/bfh-ci/tex/bfhfonts.sty
-2022/11/15 | 217062 | systems/win32/miktex/tm/packages/mismath__doc.tar.lzma
-2022/11/15 | 2128983 | systems/win32/miktex/tm/packages/profcollege__source.tar.lzma
-2022/11/15 | 2122 | macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg
-2022/11/15 | 2119 | macros/latex/contrib/bfh-ci/example/DEMO-BFHProjektProposal.tex
-2022/11/15 | 21106 | systems/win32/miktex/tm/packages/scripture__source.tar.lzma
-2022/11/15 | 209483 | macros/latex/contrib/projlib/ProjLib.dtx
-2022/11/15 | 20778 | systems/win32/miktex/tm/packages/hep-math-font__source.tar.lzma
-2022/11/15 | 20732 | systems/win32/miktex/tm/packages/kpfonts-otf__source.tar.lzma
-2022/11/15 | 2072533 | systems/win32/miktex/tm/packages/kpfonts-otf__doc.tar.lzma
-2022/11/15 | 20649 | systems/win32/miktex/tm/packages/unicodefonttable.tar.lzma
-2022/11/15 | 20621 | systems/win32/miktex/tm/packages/hep-math__source.tar.lzma
-2022/11/15 | 20556 | systems/win32/miktex/tm/packages/hep-bibliography__source.tar.lzma
-2022/11/15 | 2039 | macros/latex/contrib/bfh-ci/tex/bfhmodule.sty
-2022/11/15 | 1998 | systems/win32/miktex/tm/packages/hep-text.tar.lzma
-2022/11/15 | 19972 | macros/luatex/latex/luacas/tex/_lib/luacas-pepperfish.lua
-2022/11/15 | 1990160 | systems/win32/miktex/tm/packages/simpleicons__doc.tar.lzma
-2022/11/15 | 1982638 | systems/win32/miktex/tm/packages/erewhon-math__doc.tar.lzma
-2022/11/15 | 19706 | systems/win32/miktex/tm/packages/tabularray__source.tar.lzma
-2022/11/15 | 1951 | macros/luatex/latex/luacas/tex/algebra/luacas-absexpression.lua
-2022/11/15 | 1944172 | systems/win32/miktex/tm/packages/xcharter-math__doc.tar.lzma
-2022/11/15 | 19106 | macros/latex/contrib/projlib/LICENSE
-2022/11/15 | 190693 | systems/win32/miktex/tm/packages/texinfo__doc.tar.lzma
-2022/11/15 | 1902 | macros/luatex/latex/luacas/README.md
-2022/11/15 | 18931 | systems/win32/miktex/tm/packages/hep-title__source.tar.lzma
-2022/11/15 | 1881 | macros/latex/contrib/bfh-ci/example/DEMO-BFHBeamer.tex
-2022/11/15 | 1871534 | systems/win32/miktex/tm/packages/latex-lab-dev__doc.tar.lzma
-2022/11/15 | 1854066 | systems/win32/miktex/tm/packages/concmath-otf__doc.tar.lzma
-2022/11/15 | 18492 | macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls
-2022/11/15 | 1847 | systems/win32/miktex/tm/packages/stealcaps.tar.lzma
-2022/11/15 | 1842 | macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo
-2022/11/15 | 1826494 | systems/win32/miktex/tm/packages/bib2gls.tar.lzma
-2022/11/15 | 18205 | systems/win32/miktex/tm/packages/ydoc__source.tar.lzma
-2022/11/15 | 181891 | systems/win32/miktex/tm/packages/crossrefenum__source.tar.lzma
-2022/11/15 | 18161 | macros/luatex/latex/luacas/doc/tutorial/tut2/tut2.tex
-2022/11/15 | 180278 | systems/win32/miktex/tm/packages/glossaries-extra__source.tar.lzma
-2022/11/15 | 18004 | macros/luatex/latex/luacas/doc/tutorial/tut3/tut3.tex
-2022/11/15 | 1794 | macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo
-2022/11/15 | 1792 | macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo
-2022/11/15 | 17928 | systems/win32/miktex/tm/packages/simpleicons__source.tar.lzma
-2022/11/15 | 1789 | macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo
-2022/11/15 | 17730 | systems/win32/miktex/tm/packages/ragged2e__source.tar.lzma
-2022/11/15 | 1770 | macros/luatex/latex/luacas/tex/algebra/luacas-euclideandomain.lua
-2022/11/15 | 17592 | systems/win32/miktex/tm/packages/libgreek__source.tar.lzma
-2022/11/15 | 17534 | systems/win32/miktex/tm/packages/hep-font__source.tar.lzma
-2022/11/15 | 175041 | systems/win32/miktex/tm/packages/l3kernel.tar.lzma
-2022/11/15 | 17478 | systems/win32/miktex/tm/packages/mathastext.tar.lzma
-2022/11/15 | 17415 | systems/win32/miktex/tm/packages/hep-acronym__source.tar.lzma
-2022/11/15 | 17285 | systems/win32/miktex/tm/packages/bodeplot__source.tar.lzma
-2022/11/15 | 1721800 | systems/win32/miktex/tm/packages/circuitikz__doc.tar.lzma
-2022/11/15 | 1718843 | systems/win32/miktex/tm/packages/bib2gls__source.tar.lzma
-2022/11/15 | 16488 | systems/win32/miktex/tm/packages/mismath__source.tar.lzma
-2022/11/15 | 1641 | macros/luatex/latex/luacas/tex/test/calculus/luacas-derivatives.lua
-2022/11/15 | 16392 | systems/win32/miktex/tm/packages/hep-text__source.tar.lzma
-2022/11/15 | 161942 | systems/win32/miktex/tm/packages/stealcaps__doc.tar.lzma
-2022/11/15 | 161620 | systems/win32/miktex/tm/packages/circuitikz.tar.lzma
-2022/11/15 | 16159 | systems/win32/miktex/tm/packages/easybook.tar.lzma
-2022/11/15 | 16011 | systems/win32/miktex/tm/packages/latex-graphics-dev.tar.lzma
-2022/11/15 | 1594 | macros/luatex/latex/luacas/tex/core/luacas-atomicexpression.lua
-2022/11/15 | 159292 | systems/win32/miktex/tm/packages/libgreek__doc.tar.lzma
-2022/11/15 | 1583 | macros/latex/contrib/bfh-ci/example/DEMO-BFHLetter.tex
-2022/11/15 | 15812 | systems/win32/miktex/tm/packages/biblatex-unified__source.tar.lzma
-2022/11/15 | 1567 | macros/luatex/latex/luacas/tex/algebra/luacas-field.lua
-2022/11/15 | 15621 | systems/win32/miktex/tm/packages/babel-french.tar.lzma
-2022/11/15 | 1555 | macros/luatex/latex/luacas/tex/core/luacas-constantexpression.lua
-2022/11/15 | 1539197 | systems/win32/miktex/tm/packages/euler-math__doc.tar.lzma
-2022/11/15 | 15317095 | systems/win32/miktex/tm/packages/glossaries-extra__doc.tar.lzma
-2022/11/15 | 152732 | systems/texlive/tlnet/archive/matrix-skeleton.doc.r65013.tar.xz
-2022/11/15 | 1518 | macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo
-2022/11/15 | 1508 | macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg
-2022/11/15 | 15076 | macros/latex/contrib/bfh-ci/example/DEMO-BFHPub.tex
-2022/11/15 | 150188 | systems/win32/miktex/tm/packages/proflycee__source.tar.lzma
-2022/11/15 | 150056 | systems/win32/miktex/tm/packages/matrix-skeleton__doc.tar.lzma
-2022/11/15 | 14840 | systems/win32/miktex/tm/packages/lyluatex.tar.lzma
-2022/11/15 | 148276 | systems/win32/miktex/tm/packages/bidi__source.tar.lzma
-2022/11/15 | 147503 | systems/win32/miktex/tm/packages/glossaries__source.tar.lzma
-2022/11/15 | 1464 | macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo
-2022/11/15 | 1463 | macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo
-2022/11/15 | 1457545 | systems/win32/miktex/tm/packages/libertinus-type1__doc.tar.lzma
-2022/11/15 | 14560 | macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty
-2022/11/15 | 1439 | macros/latex/contrib/bfh-ci/example/DEMO-BFHFromaddress.lco
-2022/11/15 | 1438301 | systems/win32/miktex/tm/packages/unicodefonttable__doc.tar.lzma
-2022/11/15 | 142111 | systems/win32/miktex/tm/packages/srdp-mathematik__doc.tar.lzma
-2022/11/15 | 14007 | systems/win32/miktex/tm/packages/erewhon-math__source.tar.lzma
-2022/11/15 | 13963 | macros/luatex/latex/luacas/doc/reference/ref_core/ref_core_classes/ref_core_classes.tex
-2022/11/15 | 13931 | macros/luatex/latex/luacas/doc/reference/ref_calculus/ref_calculus_methods/ref_calculus_methods.tex
-2022/11/15 | 139279 | systems/win32/miktex/tm/packages/pdfmanagement-testphase__source.tar.lzma
-2022/11/15 | 13731 | macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf
-2022/11/15 | 134756 | systems/win32/miktex/tm/packages/photobook__doc.tar.lzma
-2022/11/15 | 134278 | systems/win32/miktex/tm/packages/concmath-otf.tar.lzma
-2022/11/15 | 1340 | fonts/chivo/source/Chivo.ins
-2022/11/15 | 1336 | macros/latex/contrib/bfh-ci/example/DEMO-BFHThesis.tex
-2022/11/15 | 131207 | systems/win32/miktex/tm/packages/bidi.tar.lzma
-2022/11/15 | 1308 | systems/win32/miktex/tm/packages/textcsc.tar.lzma
-2022/11/15 | 12966 | macros/luatex/latex/luacas/tex/test/rings/luacas-conversion.lua
-2022/11/15 | 1292493 | systems/win32/miktex/tm/packages/biblatex-gb7714-2015__doc.tar.lzma
-2022/11/15 | 1271 | macros/luatex/latex/luacas/tex/core/luacas-compoundexpression.lua
-2022/11/15 | 12659 | systems/win32/miktex/tm/packages/xcharter-math__source.tar.lzma
-2022/11/15 | 12540 | systems/win32/miktex/tm/packages/luatexko__source.tar.lzma
-2022/11/15 | 1238610 | systems/win32/miktex/tm/packages/profcollege.tar.lzma
-2022/11/15 | 12231 | systems/win32/miktex/tm/packages/xetexko__source.tar.lzma
-2022/11/15 | 12178 | systems/win32/miktex/tm/packages/hvfloat.tar.lzma
-2022/11/15 | 12129 | macros/luatex/latex/luacas/tex/algebra/luacas-trigexpression.lua
-2022/11/15 | 118744 | systems/win32/miktex/tm/packages/mhequ__doc.tar.lzma
-2022/11/15 | 11793188 | systems/win32/miktex/tm/packages/l3kernel__doc.tar.lzma
-2022/11/15 | 11759 | systems/win32/miktex/tm/packages/crossrefenum.tar.lzma
-2022/11/15 | 11754 | systems/win32/miktex/tm/packages/canoniclayout__source.tar.lzma
-2022/11/15 | 11568 | systems/texlive/tlnet/archive/crossrefenum.r65016.tar.xz
-2022/11/15 | 1154895 | systems/win32/miktex/tm/packages/hep-math-font__doc.tar.lzma
-2022/11/15 | 11472 | macros/luatex/latex/luacas/tex/test/luacas-helper.lua
-2022/11/15 | 1144680 | systems/win32/miktex/tm/packages/proflycee__doc.tar.lzma
-2022/11/15 | 11356 | systems/win32/miktex/tm/packages/concmath-otf__source.tar.lzma
-2022/11/15 | 1132679 | systems/win32/miktex/tm/packages/tuda-ci__doc.tar.lzma
-2022/11/15 | 11056 | systems/win32/miktex/tm/packages/euler-math__source.tar.lzma
-2022/11/15 | 10876 | macros/luatex/latex/luacas/doc/reference/ref_algebra/ref_algebra.tex
-2022/11/15 | 108519 | systems/win32/miktex/tm/packages/luaquotes__doc.tar.lzma
-2022/11/15 | 1080065 | systems/win32/miktex/tm/packages/kpfonts-otf.tar.lzma
-2022/11/15 | 10661771 | systems/win32/miktex/tm/packages/glossaries__doc.tar.lzma
-2022/11/15 | 105742 | systems/win32/miktex/tm/packages/mathastext__source.tar.lzma
-2022/11/15 | 102476 | systems/win32/miktex/tm/packages/texinfo.tar.lzma
-2022/11/15 | 1007 | macros/luatex/latex/luacas/tex/test/expressions/luacas-logarithms.lua
-2022/11/15 | 100614 | systems/win32/miktex/tm/packages/glossaries-extra.tar.lzma
-2022/11/15 | 10047 | systems/win32/miktex/tm/packages/srdp-mathematik__source.tar.lzma
-2022/11/15 | 1004098 | systems/win32/miktex/tm/packages/mcf2graph__doc.tar.lzma
-2022/11/15 | 100074 | systems/win32/miktex/tm/packages/luafindfont__doc.tar.lzma
diff --git a/biblio/ctan-bibdata/ctan.bib b/biblio/ctan-bibdata/ctan.bib
index f3f5880528..e88dd1b6ff 100644
--- a/biblio/ctan-bibdata/ctan.bib
+++ b/biblio/ctan-bibdata/ctan.bib
@@ -1,7 +1,7 @@
%% bib file of all CTAN packages
%% (C) Herbert Voß
%%
-%% created at 22-11-2022, 02:01:21
+%% created at 23-11-2022, 02:01:48
%%
%% This file is provided under the terms of the LPPL v1.3 or
@@ -35803,8 +35803,8 @@
title = {The \texttt{kpfonts-otf} package},
subtitle = {OpenType version of the kpfonts (Type1) designed by Christophe Caignaert},
author = {Daniel Flipo},
- date = {2022-11-10},
- version = {0.46},
+ date = {2022-11-22},
+ version = {0.47},
license = {ofl,lppl1.3},
mirror = {https://mirror.ctan.org/fonts/kpfonts-otf},
url = {https://ctan.org/pkg/kpfonts-otf},
@@ -40603,8 +40603,8 @@
title = {The \texttt{lua-widow-control} package},
subtitle = {Automatically remove widows and orphans from any document},
author = {Max Chernoff},
- date = {2022-08-24},
- version = {2.2.2},
+ date = {2022-11-22},
+ version = {3.0.0},
license = {other-free,cc-by-sa-4},
mirror = {https://mirror.ctan.org/macros/luatex/generic/lua-widow-control},
url = {https://ctan.org/pkg/lua-widow-control},
@@ -41262,8 +41262,8 @@
title = {The \texttt{lwarp} package},
subtitle = {Converts \LaTeX{} to HTML},
author = {Brian Dunn},
- date = {2022-07-15},
- version = {0.908},
+ date = {2022-11-22},
+ version = {0.909},
license = {lppl1.3},
mirror = {https://mirror.ctan.org/macros/latex/contrib/lwarp},
url = {https://ctan.org/pkg/lwarp},
@@ -59887,8 +59887,8 @@
title = {The \texttt{se2thesis} package},
subtitle = {A Thesis Class for the Chair of Software Engineering II at the University of Passau, Germany},
author = {Stephan Lukasczyk},
- date = {2022-11-08},
- version = {1.3.0},
+ date = {2022-11-22},
+ version = {1.3.1},
license = {lppl1.3c},
mirror = {https://mirror.ctan.org/macros/latex/contrib/se2thesis},
url = {https://ctan.org/pkg/se2thesis},
@@ -71933,8 +71933,8 @@
title = {The \texttt{unimath-plain-xetex} package},
subtitle = {OpenType math support in (plain) XeTeX},
author = {Tingxuan Zhang},
- date = {2022-11-16},
- version = {0.0β},
+ date = {2022-11-22},
+ version = {0.0γ},
license = {lppl1.3c},
mirror = {https://mirror.ctan.org/macros/xetex/plain/unimath-plain-xetex},
url = {https://ctan.org/pkg/unimath-plain-xetex},
diff --git a/biblio/ctan-bibdata/ctan.pdf b/biblio/ctan-bibdata/ctan.pdf
index 97ac80294a..010fe21686 100644
--- a/biblio/ctan-bibdata/ctan.pdf
+++ b/biblio/ctan-bibdata/ctan.pdf
Binary files differ
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
index ced8669435..0e9b2e4a28 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.ltx
@@ -41,7 +41,7 @@
\title{Kp-fonts: OpenType version}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.46}
+\newcommand*{\version}{0.47}
\begin{document}
\selectlanguage{british}
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
index 40fc33cb66..9a38bb9c65 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-English.pdf
Binary files differ
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
index 09ea4e292c..c5d7390767 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.ltx
@@ -40,7 +40,7 @@
\title{Kp-fonts version OpenType}
\author{\href{mailto:daniel.flipo@free.fr}{Daniel \textsc{Flipo}}}
-\newcommand*{\version}{0.46}
+\newcommand*{\version}{0.47}
\begin{document}
\maketitle
diff --git a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
index da0c19bac2..b0c2926434 100644
--- a/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
+++ b/fonts/kpfonts-otf/doc/Kpfonts-OTF-Doc-French.pdf
Binary files differ
diff --git a/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf b/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
index d767b66dd0..840c8d4140 100644
--- a/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
+++ b/fonts/kpfonts-otf/doc/unimath-kpfonts.pdf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Bold.otf b/fonts/kpfonts-otf/fonts/KpMath-Bold.otf
index 2978442d80..d6d6e55e5f 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Light.otf b/fonts/kpfonts-otf/fonts/KpMath-Light.otf
index f9875d5966..3430c68a5c 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Light.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Light.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Regular.otf b/fonts/kpfonts-otf/fonts/KpMath-Regular.otf
index 059418084a..af59d0e8fc 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Sans.otf b/fonts/kpfonts-otf/fonts/KpMath-Sans.otf
index fafb63051e..873c020d2c 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Sans.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Sans.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf b/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
index 5fd8318793..0078a74e3f 100644
--- a/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
+++ b/fonts/kpfonts-otf/fonts/KpMath-Semibold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-Bold.otf b/fonts/kpfonts-otf/fonts/KpMono-Bold.otf
index 13aa55494b..d397b751d3 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
index 91170c263e..86c9d8e915 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-BoldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-Italic.otf b/fonts/kpfonts-otf/fonts/KpMono-Italic.otf
index d95fa10bc9..ba85d268a4 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-Italic.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-Italic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpMono-Regular.otf b/fonts/kpfonts-otf/fonts/KpMono-Regular.otf
index 65fa0fc174..264434d458 100644
--- a/fonts/kpfonts-otf/fonts/KpMono-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpMono-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf b/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
index 4a64c4c946..8322220600 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
index d1cc6d8a45..f07d23e3e2 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-BoldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf b/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
index 589bc5eef7..b81bea602c 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Italic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Light.otf b/fonts/kpfonts-otf/fonts/KpRoman-Light.otf
index e0ceca0e0f..5b4dff1ab9 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Light.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Light.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
index 42f5c657d7..948cf2c522 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-LightItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf b/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
index f97fe3d007..fcae74462f 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf b/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
index 40726c8a01..cd8530024d 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-Semibold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf b/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
index 8545049265..84be947e48 100644
--- a/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpRoman-SemiboldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-Bold.otf b/fonts/kpfonts-otf/fonts/KpSans-Bold.otf
index 9e386648cd..65e55d9fc5 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-Bold.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-Bold.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf b/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
index ac9a827ed6..f98890fde0 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-BoldItalic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-Italic.otf b/fonts/kpfonts-otf/fonts/KpSans-Italic.otf
index 8020d08390..2cc9080563 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-Italic.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-Italic.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/fonts/KpSans-Regular.otf b/fonts/kpfonts-otf/fonts/KpSans-Regular.otf
index 5ee33920e6..e93b9484cb 100644
--- a/fonts/kpfonts-otf/fonts/KpSans-Regular.otf
+++ b/fonts/kpfonts-otf/fonts/KpSans-Regular.otf
Binary files differ
diff --git a/fonts/kpfonts-otf/tex/KpSans.fontspec b/fonts/kpfonts-otf/tex/KpSans.fontspec
index 4019353dfa..2ea4f792a1 100644
--- a/fonts/kpfonts-otf/tex/KpSans.fontspec
+++ b/fonts/kpfonts-otf/tex/KpSans.fontspec
@@ -4,6 +4,5 @@
BoldFont = *-Bold,
ItalicFont = *-Italic,
BoldItalicFont = *-BoldItalic,
- SmallCapsFeatures = {Letters=PetiteCaps},
- Ligatures={Common,RequiredOff,RareOff,HistoricOff}
+ SmallCapsFeatures = {Letters=PetiteCaps}
}
diff --git a/fonts/kpfonts-otf/tex/kpfonts-otf.sty b/fonts/kpfonts-otf/tex/kpfonts-otf.sty
index 9fdb53d30b..9cf495371d 100644
--- a/fonts/kpfonts-otf/tex/kpfonts-otf.sty
+++ b/fonts/kpfonts-otf/tex/kpfonts-otf.sty
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}[2019-01-01]
-\def\fileversion{0.46}
-\def\filedate{2022-11-10}
+\def\fileversion{0.47}
+\def\filedate{2022-11-22}
\ProvidesPackage{kpfonts-otf}[\filedate\space\fileversion]
% Ensure luatex or xetex engine
@@ -117,7 +117,7 @@
%% Veryoldstyle
\ifkp@vos
\ifkp@tt
- \defaultfontfeatures+[\ttfamily]{StylisticSet=12}
+ \defaultfontfeatures+[\ttfamily]{StylisticSet=12, Ligatures=Historic}
\fi
\defaultfontfeatures+[KpRoman,KpLight,\sffamily]{%
StylisticSet=12, Ligatures=Historic}
diff --git a/macros/latex/contrib/lwarp/README.txt b/macros/latex/contrib/lwarp/README.txt
index 0ffed5e7a1..ce7ece3bf8 100644
--- a/macros/latex/contrib/lwarp/README.txt
+++ b/macros/latex/contrib/lwarp/README.txt
@@ -1,5 +1,5 @@
-LaTeX lwarp package v0.908 README.txt
+LaTeX lwarp package v0.909 README.txt
Files included are:
diff --git a/macros/latex/contrib/lwarp/lwarp.dtx b/macros/latex/contrib/lwarp/lwarp.dtx
index 8945b5d12d..d2ff6b6e28 100644
--- a/macros/latex/contrib/lwarp/lwarp.dtx
+++ b/macros/latex/contrib/lwarp/lwarp.dtx
@@ -16,7 +16,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{lwarp}
-%<package> [2022/07/13 v0.908 Allows LaTeX to directly produce HTML5 output.]
+%<package> [2022/11/22 v0.909 Allows LaTeX to directly produce HTML5 output.]
%
%<*driver>
\documentclass{ltxdoc}
@@ -91,7 +91,7 @@
\usepackage{ifptex}% *8* remove later
-\usepackage[lwarpmk]{lwarp}
+\usepackage[lwarpmk, warpdisable]{lwarp}
\usepackage[erewhon]{newtxmath}
@@ -219,23 +219,25 @@
-\usepackage[pdftex,bookmarks=true,hidelinks,%
-colorlinks,linkcolor=mylinkcolor,urlcolor=myurlcolor,%
-pageanchor=true,hyperindex=true,hyperfootnotes=false%
-]{hyperref}
+\AtBeginDocument{%
\hypersetup{%
+colorlinks,%
+linkcolor=mylinkcolor,%
+urlcolor=myurlcolor,%
+pageanchor=true,%
+hyperfootnotes=false,%
pdfinfo={%
-Title={LaTeX Lwarp package},%
-Author={Brian Dunn},%
-Subject={LaTeX to HTML conversion},%
-Keywords={LaTeX, HTML, conversion}%
+ Title={LaTeX Lwarp package},%
+ Author={Brian Dunn},%
+ Subject={LaTeX to HTML conversion},%
+ Keywords={LaTeX, HTML, conversion}%
}}
+}
-
-
+\AtEndPreamble{
\usepackage{cleveref}
-
+}
\renewcommand{\partname}{Package}
\renewcommand*{\thepart}{\arabic{part}}
@@ -1366,7 +1368,7 @@ Limitations when using \MathJax\ include:
\item Math appearing inside a lateximage,
\margintag{lateximage}
- and therefore also inside a \tikz\ or \env{picture}
+ and therefore also inside a \TikZ\ or \env{picture}
environment, is rendered as \SVG\ math even if \MathJax
is used in the rest of the document.
@@ -1472,13 +1474,13 @@ as text into \HTML\ for \MathJax\ to interpret,
and \SVG\ display math environments render their contents as \SVG\ images
and use their contents as the \attribute{alt} tag of \HTML\ output.
To do so, the contents are loaded into a macro for reuse.
-In some cases, such as complicated \tikz\ pictures, compilation will fail.
+In some cases, such as complicated \TikZ\ pictures, compilation will fail.
\DescribeMacro{\displaymathother}
When selecting \cs{displaymathother},
it is assumed that the contents are more complicated than ``pure''
math.
-An example is an elaborate \tikz\ picture,
+An example is an elaborate \TikZ\ picture,
\margintag{\MathJax\ unsupported}
which will not render in \MathJax\ and
will not make sense as an \HTML\ \attribute{alt} tag.
@@ -1487,7 +1489,7 @@ In this mode, \MathJax\ is turned off,
math display environments become \SVG\ images, even if \MathJax\ is selected,
and the \HTML\ \attribute{alt} tags become simple messages.
The contents are internally processed as an environment instead of a macro argument,
-so complicated objects such as \tikz\ pictures are more likely to compile successfully.
+so complicated objects such as \TikZ\ pictures are more likely to compile successfully.
}
@@ -1931,7 +1933,7 @@ Avoid using the \cs{includegraphics} \optn{scale} option. Change:
}
\newcommand{\limitssvgimages}{%
-When a math expression, \env{picture}, or \tikz\ environment is added or
+When a math expression, \env{picture}, or \TikZ\ environment is added or
\trouble[adding/removing]{SVG image>out of order}
\trouble{graphics>incorrect>added or removed}
\trouble{image>incorrect>added or removed}
@@ -1939,7 +1941,7 @@ When a math expression, \env{picture}, or \tikz\ environment is added or
removed, the \SVG\ images must be re-created by entering \cmds{lwarpmk limages}
to maintain the proper image-file associations.
Inline \SVG\ math may be hashed and thus not need to be recreated, but
-display math and objects such as \tikz\ may move to new image numbers when
+display math and objects such as \TikZ\ may move to new image numbers when
the document is changed.
Before attempting to create the \SVG\ image files,
@@ -1979,7 +1981,7 @@ an individual file for each math expression.
For inline math, and some other objects, \pkg{lwarp} uses an MD5 hash
on its \LaTeX\ source to combine multiple instances of identical inline expressions
into a single image file,
-but display math and other environments such as \env{picture} and \tikz\ require
+but display math and other environments such as \env{picture} and \TikZ\ require
one image file each.
For a document with a large amount of math,
see \cref{sec:tutorialmathjax} to use \MathJax\ instead.
@@ -3280,7 +3282,7 @@ This boolean may be tested by the user for later use.
%<*package>
% \fi
%
-% \CheckSum{55578}
+% \CheckSum{55554}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -3433,6 +3435,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.906}{2022/06/23}{\ 2022/06/23}
% \changes{v0.907}{2022/07/11}{\ 2022/07/11}
% \changes{v0.908}{2022/07/13}{\ 2022/07/13}
+% \changes{v0.909}{2022/11/22}{\ 2022/11/22}
@@ -3666,6 +3669,16 @@ This boolean may be tested by the user for later use.
% see the end of the Change History on page \pageref{sec:changesend}.
%
% \begin{description}
+% \item[v0.909:] \cs{ref} fix.
+% \begin{itemize}
+% \item Fixed \cs{ref*}, \pkg{beamerarticle}, \pkg{lyluatex}, \pkg{realscripts}.
+% \item Updated \pkg{mismath}, \pkg{nicematrix}, \pkg{pablance},
+% \pkg{pdfpages}, \pkg{simplebnf}, \pkg{tagpdf}.
+% \item The \pkg{lwarp} documentation index is not yet fully updated to the
+% latest \pkg{doc} package changes. Index categories and some
+% hyperlinks are not yet working.
+% \end{itemize}
+% \needspace{2\baselineskip}
% \item[v0.908:] Bug fix.
% \begin{itemize}
% \item Fixed obscure cross-reference issue, seen in some citations.
@@ -5011,14 +5024,14 @@ This boolean may be tested by the user for later use.
% ^^A Each image file is only converted to \SVG\ a single time, and reused if it
% ^^A already exists.
% ^^A Display math and other forms of \SVG\ image such as \env{picture} and
-% ^^A \tikz\ still use individual image files which are recreated each time
+% ^^A \TikZ\ still use individual image files which are recreated each time
% ^^A \cmds{lwarpmk limages} is run.
% ^^A \item Fixes: \SVG\ math and/or \cs{underline} in a sectioning file name.
% ^^A \item Improved \SVG\ display math and tags.
% ^^A \item Improved \SVG\ math and \pkg{siunitx} \attribute{alt} tags.
% ^^A \item Improved \pkg{siunitx} units.
% ^^A \item Fix: \cs{ensuremath} with \MathJax\ now creates a \env{lateximage}.
-% ^^A \item Fix: \cs{centering}, etc. in \SVG\ math, \env{lateximage}, \tikz.
+% ^^A \item Fix: \cs{centering}, etc. in \SVG\ math, \env{lateximage}, \TikZ.
% ^^A \item Fix: Made various macros robust,
% ^^A additionally fixing \pkg{authblk}.\margintag{misc. fixes}
% ^^A \item Fix: \pkg{ntheorem} if neither \optn{standard} nor \optn{amsthm} selected.
@@ -5057,7 +5070,7 @@ This boolean may be tested by the user for later use.
% ^^A multiline contents.
% ^^A \item \env{abstract} now allows an optional name, as required by some classes.
% ^^A \item Fix: Improved spacing, \cs{mbox}, and font sizes
-% ^^A with \SVG\ math, \tikz.\margintag{math}
+% ^^A with \SVG\ math, \TikZ.\margintag{math}
% ^^A \item \pkg{siunitx}: Improved \SVG\ math, fraction compatibility, color output.
% ^^A \item Fix: LOF/LOT links.\margintag{misc. fixes}
% ^^A \item Fix: Virtual page size grouping caused excessive \PDF\ page breaks.
@@ -5700,7 +5713,7 @@ This boolean may be tested by the user for later use.
% ^^A \item \pkg{cleveref} is loaded \cs{AtEndPreamble} for improved reliability.
% ^^A See \cref{sec:cleveref}.
% ^^A \item \cs{xfracHTMLfontsize} controls \pkg{xfrac} font size in \HTML.
-% ^^A \item \tikz\ improved catcode handling.
+% ^^A \item \TikZ\ improved catcode handling.
% ^^A \end{itemize}
% ^^A \item[v0.18:] \
% ^^A \begin{itemize}
@@ -5758,7 +5771,7 @@ This boolean may be tested by the user for later use.
% and anything generating plain-text output.
% Blocks of \PDF\ output may be automatically converted to \SVG\ images
% while using the same font and spacing as the original print document,
-% directly supporting \tikz\ and \env{picture}.
+% directly supporting \TikZ\ and \env{picture}.
% Numerous packages are easily adapted for \HTML\ versions, either
% by loading and patching the originals, or by creating nullified or emulated
% replacements, and all without resorting to external programming.
@@ -5786,7 +5799,7 @@ This boolean may be tested by the user for later use.
% Other formats such as \PNG\ and \JPG\ are used as-is.
%
% \SVG\ images may be used for math,
-% and are also used for \env{picture}, \tikz, and similar environments.
+% and are also used for \env{picture}, \TikZ, and similar environments.
% The \SVG\ format has better browser and e-book support
% than \MathML\ (as of this writing),
% while still allowing for high-quality display and printing of images
@@ -7265,8 +7278,8 @@ This boolean may be tested by the user for later use.
% the math is displayed as it was drawn by \LaTeX, and the \LaTeX\ source
% may be copied and pasted into other documents.
%
-% \pkg{lwarp} uses the same mechanism for \env{picture} and \tikz\ environments.
-% \margintag{\env{picture} and \tikz}
+% \pkg{lwarp} uses the same mechanism for \env{picture} and \TikZ\ environments.
+% \margintag{\env{picture} and \TikZ}
%
% \begin{enumerate}
% \item Create the \SVG\ images:
@@ -7668,7 +7681,7 @@ This boolean may be tested by the user for later use.
% \prog{lualatex}, or \prog{xelatex}.
% \item |lwarpmk print| to finish the print version.
% \item |lwarpmk html| to create the \HTML\ version.
-% \item |lwarpmk limages| to create the \SVG\ images of any \SVG\ math, \env{lateximage}, \tikz, etc.
+% \item |lwarpmk limages| to create the \SVG\ images of any \SVG\ math, \env{lateximage}, \TikZ, etc.
% \end{enumerate}
%
% \needhelp
@@ -10828,7 +10841,7 @@ This boolean may be tested by the user for later use.
% \gindex{math>display with complicated objects}
% \gindex{math>dynamic}
% \gindex{dynamic math}
-% \trouble{math>tikz=\tikz}
+% \trouble{math>tikz=\TikZ}
% \trouble{tikz>in math}
% \trouble{mathjax=\MathJax>errors}
% \trouble{HTML>alt tags}
@@ -12175,7 +12188,7 @@ This boolean may be tested by the user for later use.
%
% \subsubsection{Adding a package to the \pkg{lwarp.dtx} file}
%
-% When adding a package to |lwarp.dtx| for permanent inclusing in \pkg{lwarp},
+% When adding a package to |lwarp.dtx| for permanent inclusion in \pkg{lwarp},
% provide the |lwarp-<packagename>| code in |lwarp.dtx|,
% add its entry into |lwarp.ins|, and also remember to add
% \begin{sourcedisplay}
@@ -12606,7 +12619,7 @@ This boolean may be tested by the user for later use.
% the slanted quote |’| character, instead of using
% the upright quote |'| character.
%
-% \item[Complicated objects inside math:] Some objects, such as \tikz,
+% \item[Complicated objects inside math:] Some objects, such as \TikZ,
% \trouble[``impure'' math objects]{math>non-math contents}
% may not compile in \pkg{lwarp}'s normal math emulation.
% Insert
@@ -13984,7 +13997,6 @@ This boolean may be tested by the user for later use.
\LWR@loadafter{quotchap}
\LWR@loadafter{quoting}
\LWR@loadafter{ragged2e}
-\LWR@loadafter{realscripts}
\LWR@loadafter{refcheck}
\LWR@loadafter{register}
\LWR@loadafter{relsize}
@@ -14063,6 +14075,8 @@ This boolean may be tested by the user for later use.
\LWR@notmemoirloadafter{tabularx}
\LWR@loadafter{tabulary}
\LWR@loadafter{tagpdf}
+\LWR@loadafter{tagpdf-mc-code-generic}
+\LWR@loadafter{tagpdf-mc-code-lua}
\LWR@loadafter{tascmac}
\LWR@loadafter{tcolorbox}
\LWR@loadafter{tensor}
@@ -14727,6 +14741,7 @@ This boolean may be tested by the user for later use.
% \begin{macrocode}
\catcode`\$=12
\def\LWRdollar{$}
+\def\LWRdollar{$}% syntax highlighting
\catcode`\$=3
% \end{macrocode}
%
@@ -14914,6 +14929,20 @@ This boolean may be tested by the user for later use.
%
%
%
+% \DescribeOption{warpdisable}
+% If the \optn{warpdisable} option is given,
+% both boolean |warpingprint| and boolean |warpingHTML| are false,
+% and may be used for \cs{ifbool} tests.
+%
+% \changes{v0.909}{2022/11/21}{Added option \optn{warpdisable}.}
+% \begin{macrocode}
+\DeclareVoidOption{warpdisable}{%
+ \PackageInfo{lwarp}{Using option 'warpdisable'}
+ \boolfalse{warpingprint}%
+ \boolfalse{warpingHTML}%
+}
+% \end{macrocode}
+
% \DescribeOption{warpprint}
% If the \optn{warpprint} option is given,
% boolean |warpingprint| is true and boolean |warpingHTML| is false,
@@ -15589,6 +15618,20 @@ This boolean may be tested by the user for later use.
% \end{environment}
+% If \optn{warpdisable}, turn off both print and HTML output:
+% \changes{v0.909}{2022/11/21}{Added option \optn{warpdisable}.}
+% \begin{macrocode}
+\ifboolexpr{bool {warpingprint} or bool {warpingHTML}}
+ {}
+ {
+ \LWR@excludecomment{warpHTML}{html}
+ \LWR@excludecomment{warpprint}{print}
+ \LWR@excludecomment{warpMathJax}{mathjax}
+ }
+% \end{macrocode}
+
+
+
% \begin{environment}{warpMathJax}
% Only if \MathJax\ is being used along with \HTML.
% \changes{v0.79}{2020/01/26}{Added.}
@@ -17024,7 +17067,34 @@ This boolean may be tested by the user for later use.
%
% \changes{v0.57}{2018/05/28}{New system for switching print and \HTML\ outputs.}
%
+
+
+% Print or disabled versions:
+%
+% \codeall
+% \begin{macrocode}
+\begin{warpall}
+% \end{macrocode}
+
+% \changes{v0.901}{2021/08/20}{Added print versions of \cs{LWR@formatted}, etc.}
+% \changes{v0.909}{2022/11/21}{Added option \optn{warpdisable}.}
+% \begin{macrocode}
+\newcommand*{\LWR@formatted}[1]{}
+\newcommand*{\LWR@expandableformatted}[1]{}
+\newcommand*{\LWR@formattedenv}[1]{}
+\newcommand*{\LWR@expandableformattedenv}[1]{}
+% \end{macrocode}
+
+% \begin{macrocode}
+\end{warpall}
+% \end{macrocode}
+
+
+
% \codehtml
+
+% HTML versions:
+%
% \begin{macrocode}
\begin{warpHTML}
% \end{macrocode}
@@ -17106,7 +17176,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.893}{2020/11/15}{Improved error handling.}
% \changes{v0.903}{2021/12/19}{Now using \cs{NewCommandCopy}.}
% \begin{macrocode}
-\newcommand*{\LWR@formatted}[1]{%
+\renewcommand*{\LWR@formatted}[1]{%
\LWR@formatted@checkname{#1}%
\ifcsundef{LWR@print@#1}{%
\csNewCommandCopycs{LWR@print@#1}{#1}%
@@ -17133,7 +17203,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.893}{2020/11/15}{Improved error handling.}
% \changes{v0.903}{2021/12/19}{Now using \cs{NewCommandCopy}.}
% \begin{macrocode}
-\newcommand*{\LWR@expandableformatted}[1]{%
+\renewcommand*{\LWR@expandableformatted}[1]{%
\LWR@formatted@checkname{#1}%
\ifcsundef{LWR@print@#1}{%
\csNewCommandCopycs{LWR@print@#1}{#1}%
@@ -17162,7 +17232,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.893}{2020/11/15}{Improved error handling.}
% \changes{v0.903}{2021/12/19}{Now using \cs{NewCommandCopy}.}
% \begin{macrocode}
-\newcommand*{\LWR@formattedenv}[1]{%
+\renewcommand*{\LWR@formattedenv}[1]{%
\LWR@formatted@checkname{#1}%
\LWR@formatted@checkendname{#1}%
\ifcsundef{LWR@print@#1}{%
@@ -17187,7 +17257,7 @@ This boolean may be tested by the user for later use.
% \changes{v0.893}{2020/11/15}{Improved error handling.}
% \changes{v0.903}{2021/12/19}{Now using \cs{NewCommandCopy}.}
% \begin{macrocode}
-\newcommand*{\LWR@expandableformattedenv}[1]{%
+\renewcommand*{\LWR@expandableformattedenv}[1]{%
\LWR@formatted@checkname{#1}%
\LWR@formatted@checkendname{#1}%
\ifcsundef{LWR@print@#1}{%
@@ -17209,25 +17279,6 @@ This boolean may be tested by the user for later use.
% \end{macrocode}
-% Print versions.
-%
-% \codeprint
-% \begin{macrocode}
-\begin{warpprint}
-% \end{macrocode}
-
-% \changes{v0.901}{2021/08/20}{Added print versions of \cs{LWR@formatted}, etc.}
-% \begin{macrocode}
-\newcommand*{\LWR@formatted}[1]{}
-\newcommand*{\LWR@expandableformatted}[1]{}
-\newcommand*{\LWR@formattedenv}[1]{}
-\newcommand*{\LWR@expandableformattedenv}[1]{}
-% \end{macrocode}
-
-% \begin{macrocode}
-\end{warpprint}
-% \end{macrocode}
-
% \section{\HTML-conversion output modifications}
%
@@ -21074,7 +21125,7 @@ MathJax = {
-- Copyright 2016-2022 Brian Dunn
-printversion = "v0.908"
+printversion = "v0.909"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
@@ -34996,14 +35047,7 @@ end -- not --version
% Create an internal document reference link,
% or without a link if starred per \pkg{hyperref}.
%
-% \pkg{hyperref} defines a starred version.
-% Since \pkg{hyperref} is only emulated, the starred version is
-% defined here for print mode, in case \cs{ref} is used inside
-% \SVG\ math:
-% \changes{v0.88}{2020/07/05}{Fixed: Starred \cs{ref}.}
-% \begin{macrocode}
-\LWR@absorbstar{ref}%
-% \end{macrocode}
+% \changes{v0.909}{2022/10/20}{Removed print version \cs{ref*}.}
%
% The \HTML\ version:
% \changes{v0.58}{2018/06/07}{Improved print/\HTML\ output selection.}
@@ -37418,7 +37462,7 @@ end -- not --version
\def\color@endgroup{\endgraf\endgroup}%
% \end{macrocode}
%
-% \changes{v0.48}{2018/02/04}{Fix: Spacing in \SVG\ math, \env{lateximage}, \tikz.}
+% \changes{v0.48}{2018/02/04}{Fix: Spacing in \SVG\ math, \env{lateximage}, \TikZ.}
% \begin{macrocode}
\LetLtxMacro\hfil\LWR@orighfil%
\let\hss\LWR@orighss%
@@ -38034,7 +38078,7 @@ end -- not --version
% \DescribeBoolean{LWR@unknownmathsize}
-% If \tikz\ or other objects are used inside math mode, the resulting
+% If \TikZ\ or other objects are used inside math mode, the resulting
% image may exceed the \TeX\ box, resulting in an incorrect measurement of
% the size of the resulting image. If this is so, the \HTML\ styles for
% image size and depth will be neutralized.
@@ -38238,7 +38282,7 @@ end -- not --version
}%
% \end{macrocode}
%
-% If using certain \tikz\ actions inside math, the resulting image may exceed the
+% If using certain \TikZ\ actions inside math, the resulting image may exceed the
% \TeX\ boundaries, so the \HTML\ size styles may be incorrect, and must
% be neutralized.
% \changes{v0.79}{2020/01/31}{Adjust for unknown size.}
@@ -39226,7 +39270,7 @@ end -- not --version
% Remember the ``less'' version of \env{equation}, which uses \MathJax
% and \attribute{alt} tags, but does not support complicated contents such as
-% some \tikz\ expressions.
+% some \TikZ\ expressions.
% \begin{macrocode}
\AtBeginDocument{
\LetLtxMacro\LWR@equationless\equation
@@ -40448,6 +40492,11 @@ end -- not --version
\LWR@PreloadedPackage{graphicx}
% \end{macrocode}
+% \pkg{tagpdf-base} may have been preloaded by \pkg{pdfmanagement-testphase}
+% \begin{macrocode}
+\LWR@PreloadedPackage{tagpdf-base}
+% \end{macrocode}
+
% \pkg{scalefnt} may have been preloaded by \pkg{babel}
% \begin{macrocode}
\LWR@PreloadedPackage{scalefnt}
@@ -40475,6 +40524,12 @@ end -- not --version
\LWR@PreloadedPackage{unicode-math}
% \end{macrocode}
+% \changes{v0.909}{2022/10/24}{Allow preloaded \pkg{realscripts}.}
+% \begin{macrocode}
+\LWR@PreloadedPackage{realscripts}
+% \end{macrocode}
+
+
% \pkg{nfssext-cfr} may be preloaded by \pkg{cfm-lm} or related font packages.
% \begin{macrocode}
\LWR@PreloadedPackage{nfssext-cfr}
@@ -43945,7 +44000,8 @@ color:\LWR@origpound\LWR@tempcolor%
{Keys/values are ignored in MathJax.\MessageBreak
\protect\Cdots, etc. do not span multiple cells.\MessageBreak
AutoNiceMatrix, etc. are not supported for MathJax.\MessageBreak
- \protect\CodeBefore\space cannot be done with MathJax.\MessageBreak
+ \protect\CodeBefore, \protect\Body, and \protect\CodeAfter\MessageBreak
+ \space\space also are not supported for MathJax.\MessageBreak
\LWR@forceSVGmessage{nicematrix}%
}
\LWR@nomathjaxwarn{pb-diagram}{\LWR@forceSVGmessage{pb-diagram}}
@@ -47847,9 +47903,12 @@ color:\LWR@origpound\LWR@tempcolor%
{\endBlockClass}
{}
{\LWR@patcherror{beamerarticle}{beamer@endframe}}
-
+% \end{macrocode}
+%
% An example in the beamer docs for \cs{includegraphics}
% shows the use of \cs{llap} in a frame.
+%
+% \begin{macrocode}
\xpretocmd\beamer@article@startframe
{\LWR@nulllistfills}
{}
@@ -47888,23 +47947,35 @@ color:\LWR@origpound\LWR@tempcolor%
\gdef\@subtitle{#2}
\def\insertsubtitle{#2}
}
-
-\xpatchcmd{\@maketitle}
- {%
- \LWR@htmltag{\LWR@tagtitleend}%
- \LWR@startpars%
- }%
- {%
- \LWR@htmltag{\LWR@tagtitleend}%
- \ifdefvoid{\@subtitle}{}{%
- \begin{BlockClass}{subtitle}%
- \@subtitle%
- \end{BlockClass}%
- }%
- \LWR@startpars%
- }%
- {}
- {\LWR@patcherror{beamerarticle}{@maketitle}}
+% \end{macrocode}
+%
+% Add subtitle if not already present:
+%
+% \changes{v0.909}{2022/10/21}{\pkg{beamerarticle}: Fixed w/ Komascript.}
+%
+% \begin{macrocode}
+\AtBeginDocument{
+\IfPackageLoadedTF{lwarp-scrextend}
+ {}% komascript already has subtitle
+ {% not komascript
+ \xpatchcmd{\@maketitle}
+ {%
+ \LWR@htmltag{\LWR@tagtitleend}%
+ \LWR@startpars%
+ }%
+ {%
+ \LWR@htmltag{\LWR@tagtitleend}%
+ \ifdefvoid{\@subtitle}{}{%
+ \begin{BlockClass}{subtitle}%
+ \@subtitle%
+ \end{BlockClass}%
+ }%
+ \LWR@startpars%
+ }%
+ {}
+ {\LWR@patcherror{beamerarticle}{@maketitle}}
+ }% not komascript
+}
\RequirePackage{fancyvrb}
\DefineVerbatimEnvironment{semiverbatim}{Verbatim}{commandchars=\\\{\}}
@@ -67309,6 +67380,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak}
% \DescribePackage{lyluatex}
% \pkg{lyluatex} is patched for use by \pkg{lwarp}.
%
+% \trouble{lylualatex=\pkg{lylualatex}}
% For the first compile, to set \prog{lwarpmk}'s configuration, use:
% \begin{sourceverb}
% lualatex --shell-escape <filename>
@@ -67348,13 +67420,14 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak}
% \userentry{lwarpmk pdftosvg tmp-ly/*.pdf}
%
% \changes{v0.73}{2019/06/10}{\pkg{lyluatex}: Added.}
+% \changes{v0.909}{2022/11/22}{\pkg{lyluatex}: Updated to v1.1.1.}
%
% \codehtml
%
% \begin{macrocode}
\LWR@origRequirePackage{luacode}
-\LWR@ProvidesPackagePass{lyluatex}[2019/05/27]
+\LWR@ProvidesPackagePass{lyluatex}[2022/11/07]
% \end{macrocode}
%
% User-redefinable \attribute{ALT} tag:
@@ -67407,10 +67480,11 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak}
% From the original:
% \begin{macrocode}
\ly@setunits%
+ \setluaoption{ly}{currfiledir}{\currfiledir}
+ \setluaoption{ly}{twoside}{\ly@istwosided}
\directlua{
- ly_opts:set_option('currfiledir', [[\currfiledir]])
- ly_opts:set_option('twoside', '\ly@istwosided')
#1
+ ly.newpage_if_fullpage()
}%
\ly@resetunits%
\ly@currentfonts%
@@ -68936,7 +69010,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak}
% \end{macrocode}
%
%
-% Do not require \tikz{} or pstricks:
+% Do not require \TikZ{} or pstricks:
% \begin{macrocode}
\LWR@origRequirePackage[framemethod=none]{mdframed}
% \end{macrocode}
@@ -70396,11 +70470,12 @@ background:
%
% \changes{v0.80}{2020/02/14}{\pkg{mismath}: Added.}
% \changes{v0.89}{2020/09/02}{\pkg{mismath}: Improved math operators.}
+% \changes{v0.909}{2022/11/21}{\pkg{mismath}: Updated to v2.0.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{mismath}[2019/12/27]
+\LWR@ProvidesPackagePass{mismath}[2022/11/11]
% \end{macrocode}
%
% For \MathJax, used in the \HTML\ comment before the environment.
@@ -70521,7 +70596,6 @@ background:
\CustomizeMathJax{\newcommand{\mul}{\mathord{\times}}}
\CustomizeMathJax{\newcommand{\then}{\ \Longrightarrow \ \mbox{} }}
\CustomizeMathJax{\newcommand{\txt}[1]{\quad\text{#1}\quad}}
-\CustomizeMathJax{\newcommand{\paren}[1]{\mathopen{\left(#1\right)}}}
\CustomizeMathJax{\newcommand{\pow}[2]{\left( #1 \right)^{\!#2}}}
\CustomizeMathJax{\newcommand{\abs}[1]{\left\vert#1\right\vert}}
\CustomizeMathJax{\newcommand{\lfrac}[2]{\frac{\:#1\:}{\:#2\:}}}
@@ -72869,9 +72943,15 @@ do not attempt to patch lwarp's version of `nameref'.)\MessageBreak
% \changes{v0.894}{2020/12/21}{\pkg{nicematrix}: Added.}
%
% \codehtml
-%
+
+% Skip the test for \env{array}, which does not work with \pkg{lwarp}:
+% \changes{v0.909}{2022/10/23}{\pkg{nicematrix}: Fixed array test.}
+% \begin{macrocode}
+\PassOptionsToPackage{no-test-for-array}{nicematrix}
+% \end{macrocode}
+
% \begin{macrocode}
-\LWR@ProvidesPackagePass{nicematrix}[2020/11/23]
+\LWR@ProvidesPackagePass{nicematrix}[2022/10/06]
% \end{macrocode}
%
% \env{NiceTabular} must be converted to \SVG\ to support the
@@ -72989,9 +73069,41 @@ do not attempt to patch lwarp's version of `nameref'.)\MessageBreak
% \end{macrocode}
%
% \changes{v0.901}{2021/08/26}{\pkg{nicematrix}: Added \cs{Hline}.}
+% \changes{v0.909}{2022/10/25}{\pkg{nicematrix}: \cs{Hline} opt arg.}
+% \begin{macrocode}
+\CustomizeMathJax{\newcommand{\Hline}[1][]{\hline}}
+% \end{macrocode}
+%
+% \changes{v0.909}{2021/10/24}{\pkg{nicematrix}: Added \cs{CodeBefore}, \cs{CodeAfter},
+% \cs{Body}, \cs{line}, \cs{RowStyle}, \cs{SubMatrix},
+% \cs{OverBrace}, \cs{UnderBrace}, \cs{ShowCellNames}.}
+% \begin{macrocode}
+\CustomizeMathJax{\newcommand{\CodeBefore}{}}
+\CustomizeMathJax{\newcommand{\Body}{}}
+\CustomizeMathJax{\newcommand{\CodeAfter}{}}
+\CustomizeMathJax{\newcommand{\line}[3][]{}}
+\CustomizeMathJax{\newcommand{\RowStyle}[2][]{}}
+\CustomizeMathJax{\newcommand{\LWRSubMatrix}[1][]{}}
+\CustomizeMathJax{\newcommand{\SubMatrix}[4]{\LWRSubMatrix}}
+\CustomizeMathJax{\newcommand{\OverBrace}[4][]{}}
+\CustomizeMathJax{\newcommand{\UnderBrace}[4][]{}}
+\CustomizeMathJax{\newcommand{\ShowCellNames}{}}
+% \end{macrocode}
+%
+% \changes{v0.909}{2021/10/24}{\pkg{nicematrix}: Added \cs{cellcolor}, etc.}
+% \begin{macrocode}
+\CustomizeMathJax{\newcommand{\cellcolor}[3][]{}}
+\CustomizeMathJax{\newcommand{\rowcolor}[3][]{}}
+\CustomizeMathJax{\newcommand{\LWRrowcolors}[1][]{}}
+\CustomizeMathJax{\newcommand{\rowcolors}[4][]{\LWRrowcolors}}
+\CustomizeMathJax{\newcommand{\rowlistcolors}[3][]{\LWRrowcolors}}
+\CustomizeMathJax{\newcommand{\columncolor}[3][]{}}
+\CustomizeMathJax{\newcommand{\rectanglecolor}[4][]{}}
+\CustomizeMathJax{\newcommand{\arraycolor}[2][]{}}
+\CustomizeMathJax{\newcommand{\chessboardcolors}[3][]{}}
+% \end{macrocode}
+%
% \begin{macrocode}
-\CustomizeMathJax{\let\Hline\hline}
-
\CustomizeMathJax{\newcommand{\ldots}[1][]{\dots}}
\CustomizeMathJax{\newcommand{\Cdots}[1][]{\cdots}}
\CustomizeMathJax{\newcommand{\Vdots}[1][]{\vdots}}
@@ -74888,17 +75000,20 @@ do not attempt to patch lwarp's version of `nameref'.)\MessageBreak
% \pkg{pbalance} is ignored.
%
% \changes{v0.897}{2021/04/18}{\pkg{pbalance}: Added.}
+% \changes{v0.909}{2022/10/26}{\pkg{pbalance}: Updated to v1.4.0.}
%
% \codehtml
%
% \begin{macrocode}
\RequirePackage{balance}
-\LWR@ProvidesPackageDrop{pbalance}[2020/12/16]
+\LWR@ProvidesPackageDrop{pbalance}[2022/07/28]
% \end{macrocode}
%
% \begin{macrocode}
\newcommand\shrinkLastPage[1]{}
+\newcommand\balancePageNum[1]{}
+\newcommand\nopbalance{}
% \end{macrocode}
%
% \iffalse
@@ -75317,7 +75432,7 @@ do not attempt to patch lwarp's version of `nameref'.)\MessageBreak
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{pdfpages}[2017-10-31]
+\LWR@ProvidesPackagePass{pdfpages}[2022-10-09]
% \end{macrocode}
%
% Disable option which have no meaning for \HTML\ output:
@@ -75399,20 +75514,21 @@ do not attempt to patch lwarp's version of `nameref'.)\MessageBreak
%
% \begin{noindmacro}{\AM@output}
% Patched to use \cs{LWR@esopic@newpage}.
+% \changes{v0.909}{2022/07/15}{\pkg{pdfpages}: Updated to v0.5w.}
% \begin{macrocode}
-\xpatchcmd{\AM@output}
+\xpatchcmd{\AM@output@i}
{\newpage}
{\LWR@esopic@newpage}
{}
{\LWR@patcherror{pdfpages}{AM@output-1}}
-\xpatchcmd{\AM@output}
+\xpatchcmd{\AM@output@i}
{\newpage}
{\LWR@esopic@newpage}
{}
{\LWR@patcherror{pdfpages}{AM@output-2}}
-\xpatchcmd{\AM@output}
+\xpatchcmd{\AM@output@i}
{\newpage}
{\LWR@esopic@newpage}
{}
@@ -77069,6 +77185,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \cs{textsubscript}.}
% \changes{v0.84}{2020/04/13}{\pkg{realscripts}: Improved supersub scripts.}
% \changes{v0.84}{2020/04/13}{\pkg{realscripts}: Added print mode.}
+% \changes{v0.909}{2022/10/24}{\pkg{realscripts}: Removed print defns due to improved \pkg{xparse} support.}
%
% \codehtml
%
@@ -77077,29 +77194,9 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \end{macrocode}
%
%
-% The following are copied verbatim from the original,
-% but given new names, since \pkg{xparse} definitions should not be \cs{let}.
% \begin{macrocode}
\ExplSyntaxOn
-\DeclareDocumentCommand \LWR@print@realsubscript {m} {
- \fontspec_if_fontspec_font:TF {
- \fontspec_if_opentype:TF
- { \fontspec_if_feature:nTF {+subs}
- { {\addfontfeature{VerticalPosition=Inferior}#1} }
- { \fontspec_if_feature:nTF {+sinf}
- { {\addfontfeature{VerticalPosition=ScientificInferior}#1} }
- { \fakesubscript{#1} }
- }
- }
- { \fontspec_if_aat_feature:nnTF {10} {2}
- { {\addfontfeature{VerticalPosition=Inferior}#1} }
- { \fakesubscript{#1} }
- }
- }
- { \fakesubscript{#1} }
-}
-
\DeclareDocumentCommand \LWR@HTML@realsubscript {m} {
\LWR@HTML@textsubscript{#1}
}
@@ -77107,22 +77204,6 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
\LWR@formatted{realsubscript}
-\DeclareDocumentCommand \LWR@print@realsuperscript {m} {
- \fontspec_if_fontspec_font:TF
- {
- \fontspec_if_opentype:TF
- { \fontspec_if_feature:nTF {+sups}
- { {\addfontfeature{VerticalPosition=Superior}#1} }
- { \fakesuperscript{#1} }
- }
- { \fontspec_if_aat_feature:nnTF {10} {1}
- { {\addfontfeature{VerticalPosition=Superior}#1} }
- { \fakesuperscript{#1} }
- }
- }
- { \fakesuperscript{#1} }
-}
-
\DeclareDocumentCommand \LWR@HTML@realsuperscript {m} {
\LWR@HTML@textsuperscript{#1}
}
@@ -77130,75 +77211,6 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
\LWR@formatted{realsuperscript}
-\DeclareDocumentCommand \LWR@print@textsubsuperscript {s O{l} mm} {
- \leavevmode
- \group_begin:
- \IfBooleanTF #1
- {
- \hbox_set:Nn \l_tmpa_box {\textsubscript*{#3}}
- \hbox_set:Nn \l_tmpb_box {\textsuperscript*{#4}}
- }
- {
- \hbox_set:Nn \l_tmpa_box {\textsubscript{#3}}
- \hbox_set:Nn \l_tmpb_box {\textsuperscript{#4}}
- }
- \hbox_set:Nn \l_tmpa_box
- { \box_move_down:nn \subsupersep {\box_use:N \l_tmpa_box} }
- \hbox_set:Nn \l_tmpb_box
- { \box_move_up:nn \subsupersep {\box_use:N \l_tmpb_box} }
- \str_case:nnF {#2}
- {
- {l}{\use_i:nnn}
- {c}{\use_ii:nnn}
- {r}{\use_iii:nnn}
- }
- {
- \PackageWarning{realscripts}{
- Unknown~alignment~option~`#2'. \MessageBreak
- One~ of~ `l',~ `c',~ `r',~ only
- }
- \use_i:nnn
- }
- {
- \hbox_overlap_right:n { \box_use:N \l_tmpa_box }
- \hbox_overlap_right:n { \box_use:N \l_tmpb_box }
- \skip_horizontal:n {
- \dim_max:nn {\box_wd:N \l_tmpa_box} {\box_wd:N \l_tmpb_box}
- }
- }
- {
- \dim_compare:nTF { \box_wd:N \l_tmpa_box > \box_wd:N \l_tmpb_box }
- {
- \skip_horizontal:n {
- 0.5\box_wd:N \l_tmpa_box-0.5\box_wd:N \l_tmpb_box
- }
- \box_use:N \l_tmpb_box
- \skip_horizontal:n {
- -0.5\box_wd:N \l_tmpa_box-0.5\box_wd:N \l_tmpb_box
- }
- \box_use:N \l_tmpa_box
- }
- {
- \skip_horizontal:n {
- 0.5\box_wd:N \l_tmpb_box-0.5\box_wd:N \l_tmpa_box
- }
- \box_use:N \l_tmpa_box
- \skip_horizontal:n {
- -0.5\box_wd:N \l_tmpb_box-0.5\box_wd:N \l_tmpa_box
- }
- \box_use:N \l_tmpb_box
- }
- }
- {
- \skip_horizontal:n {
- \dim_max:nn {\box_wd:N \l_tmpa_box} {\box_wd:N \l_tmpb_box}
- }
- \hbox_overlap_left:n { \box_use:N \l_tmpa_box }
- \hbox_overlap_left:n { \box_use:N \l_tmpb_box }
- }
- \group_end:
-}
-
\ExplSyntaxOff
@@ -79628,7 +79640,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackagePass{simplebnf}[2020/09/01]
+\LWR@ProvidesPackagePass{simplebnf}[2022/05/08]
% \end{macrocode}
%
% The entire object is placed inside a \env{lateximage} whose
@@ -79636,28 +79648,24 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \begin{macrocode}
\ExplSyntaxOn
-\RenewDocumentEnvironment { bnfgrammar } { +b }
+\RenewDocumentEnvironment { bnfgrammar } { O{llcll} O{[^\|]\|[^\|]} O{\|\|} +b }
{
+ \regex_gset:Nn \g_simplebnf_rhs_newline_r { #2 }
+ \regex_gset:Nn \g_simplebnf_rhs_nb_r { #3 }
+
%% \l__input_seq is a list of term definitions.
- \regex_split:nnN { ;; } { #1 } \l__input_seq
+ \regex_split:nnN { ;; } { #4 } \l__input_seq
\begin{center}
- \begin{lateximage}[#1]% lwarp
+ \begin{lateximage}[#4]% lwarp
\tl_set:Nn \l__table_tl
{
- \begin{tabular}{lcll}
+ \begin{tabular}{#1}
}
+
\bool_set_true:N \l_tmp_first_term % Is this the first term in this grammar?
\seq_map_inline:Nn \l__input_seq
{
- %% \l__term_seq - (term, rhses)...
- %% \l__term_tl - term
- %% \l__keypairs_tl - rhses
- \regex_split:nnN { ::= } { ##1 } \l__term_seq
- \seq_pop_left:NN \l__term_seq \l__term_tl
- \seq_pop_left:NN \l__term_seq \l__keypairs_tl
-
- \regex_replace_once:nnN { ^\s+ } {} \l__term_tl
-
+ %% If not-first, add newline
\bool_if:NTF \l_tmp_first_term
{
\bool_set_false:N \l_tmp_first_term
@@ -79665,15 +79673,48 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
{
\tl_put_right:Nn \l__table_tl { \\ }
}
- \tl_put_right:Nx \l__table_tl
+
+ \regex_split:nnNTF { ::= } { ##1 } \l__term_seq
+ % Parse a ::= definition
{
- \bnfexpr { \l__term_tl } & \g__simplebnf_defeq_tl &
+ %% \l__term_seq - (lhs, rhses)...
+ %% \l__term_tl - lhs
+ %% \l__keypairs_tl - rhses
+ \seq_pop_left:NN \l__term_seq \l__term_tl
+ \seq_pop_left:NN \l__term_seq \l__keypairs_tl
+
+ \simplebnf_typeset_lhs:n{\l__term_tl}
+ \tl_put_right:Nn \l__table_tl
+ {
+ & \SimpleBNFDefEq &
+ }
+ %% \l__keypairs_seq - (rhs:annot | rhs)...
+ \regex_split:NVN \g_simplebnf_rhs_newline_r \l__keypairs_tl \l__keypairs_seq
+
+ \bool_set_true:N \l__first_rhs
+ \seq_map_function:NN \l__keypairs_seq \simplebnf_typeset_rhs:n
}
- %% \l__keypairs_seq - (rhs:annot | rhs)...
- \seq_set_split:NnV \l__keypairs_seq { | } \l__keypairs_tl
+ {
+ % Else, parse a \in declaration
+ \regex_split:nnNTF { \c{in} } { ##1 } \l__term_seq
+ {
+ %% \l__term_seq - (lhs, rhs)
+ \seq_pop_left:NN \l__term_seq \l_tmpa_tl
- \bool_set_true:N \l__first_rhs
- \seq_map_function:NN \l__keypairs_seq \simplebnf_typeset_rhs:n
+ \simplebnf_typeset_lhs:n{\l_tmpa_tl}
+ \tl_put_right:Nn \l__table_tl
+ {
+ & $\in$ & $
+ }
+ \seq_pop_left:NN \l__term_seq \l_tmpa_tl
+ \tl_put_right:NV \l__table_tl \l_tmpa_tl
+ \tl_put_right:Nn \l__table_tl
+ {
+ $ &
+ }
+ }
+ { \msg_error:nn {simplebnf} { Could not parser ##1 } }
+ }
}
\tl_put_right:Nn \l__table_tl { \end{tabular} }
@@ -85000,203 +85041,246 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \section{tagpdf}
%
% \DescribePackage{tagpdf}
-% \pkg{tagpdf} is mostly ignored, but emulates alt text, for images only.
+% \pkg{tagpdf} adds alt text, for images only.
% (\HTML\ only has alternate text for images.)
%
-% (If left enabled for \HTML\ output, \pkg{tagpdf} errors when producing \HTML,
-% somehow due to the \HTML\ page numbers.)
+% The overall strategy is that \pkg{tagpdf} is deactivated,
+% and slightly patched to process alt tags.
+% Also see \pkg{tagpdf-base}, \pkg{tagpdf-mc-code-generic},
+% and \pkg{tagpdf-mc-code-lua}, following \pkg{tagpdf}.
%
% \changes{v0.80}{2020/02/20}{\pkg{tagpdf}: Added.}
+% \changes{v0.909}{2022/10/25}{\pkg{tagpdf}: Refactored.}
%
% \codehtml
%
% \begin{macrocode}
-\LWR@ProvidesPackageDrop{tagpdf}[2021-08-27]
+\LWR@ProvidesPackagePass{tagpdf}[2022-08-24]
% \end{macrocode}
%
% \begin{macrocode}
\ExplSyntaxOn
-\tl_new:N \l__uftag_mc_key_label_tl
-
-\keys_define:nn { __tag / mc }
- {
- stash .bool_set:N = \l__tag_mc_key_stash_bool,
- __artifact-bool .bool_set:N = \l__tag_mc_artifact_bool,
- __artifact-type .choice:,
- __artifact-type / pagination .code:n =
- {},
- __artifact-type / pagination/header .code:n =
- {},
- __artifact-type / pagination/footer .code:n =
- {},
- __artifact-type / layout .code:n =
- {},
- __artifact-type / page .code:n =
- {},
- __artifact-type / background .code:n =
- {},
- __artifact-type / notype .code:n =
- {},
- __artifact-type / .code:n =
- {},
- }
-
-\keys_define:nn { __tag / mc }
- {
- tag .code:n = % the name (H,P,Span) etc
- {},
- raw .code:n =
- {},
- alttext .code:n = % Alt property
- {
- \gdef\LWR@ThisAltText{\detokenize\expandafter{#1}}%
- },
- actualtext .code:n = % ActualText property
- {},
- label .tl_set:N = \l__tag_mc_key_label_tl,
- artifact .code:n =
- {},
- artifact .default:n = {notype}
- }
-
\keys_define:nn { __tag / struct }
{
- label .tl_set:N = \l__tag_struct_key_label_tl,
- stash .bool_set:N = \l__tag_struct_elem_stash_bool,
- tag .code:n = % S property
- {},
- title .code:n = % T property
- {},
- title-o .code:n = % T property
- {},
- alttext .code:n = % Alt property
+ alt .code:n = % Alt property
{
- \gdef\LWR@ThisAltText{\detokenize\expandafter{#1}}%
+% \str_set_convert:Noon
+% \l__tag_tmpa_str
+% { #1 }
+% { default }
+% { utf16/hex }
+% \__tag_prop_gput:cnx
+% { g__tag_struct_\int_eval:n {\c@g__tag_struct_abs_int}_prop }
+% { Alt }
+% { <\l__tag_tmpa_str> }
+ \gdef\LWR@ThisAltText{\detokenize\expandafter{#1}}% lwarp
},
- actualtext .code:n = % ActualText property
- {},
- lang .code:n = % Lang property
- {},
- ref .code:n = % Lang property
- {},
- E .code:n = % E property
- {},
}
-\keys_define:nn { __tag / struct }
- {
- AF .code:n = % AF property
- {},
- ,AFinline .code:n =
- {}
- ,AFinline-o .code:n =
- {}
- }
+\ExplSyntaxOff
+% \end{macrocode}
+%
+% The package is deactivated on load,
+% and also each time \cs{tagpdfsetup} is used.
+% \begin{macrocode}
+\LWR@tagpdf@deactivate
+% \end{macrocode}
+%
+% \iffalse
+%</tagpdf>
+% \fi
+%
+%
+%
+%
+% \iffalse
+%<*tagpdf-base>
+% \fi
+%
+% \part{lwarp-tagpdf-base.sty}
+%
+% \section{tagpdf-base}
+%
+% \credits{Ulrike Fischer}
+%
+% \DescribePackage{tagpdf-base}
+% \pkg{tagpdf-base} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.909}{2022/10/25}{\pkg{tagpdf-base}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{tagpdf-base}[2022-08-24]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ExplSyntaxOn
-\keys_define:nn { __tag / struct }
+\newcommand*{\LWR@tagpdf@deactivate}{
+ \keys_set:nn { __tag / setup } {
+ activate-space = false ,
+ activate-mc = false ,
+ activate-tree = false ,
+ activate-struct = false
+ }
+}
+
+\RenewDocumentCommand \tagpdfsetup { m }{
+ \keys_set:nn { __tag / setup } { #1 }
+ \LWR@tagpdf@deactivate
+}
+
+\RenewDocumentCommand \tagmcbegin { m }
{
- attribute-class .code:n =
- {}
+% \tag_mc_begin:n {#1}
+ \keys_set:nn { __tag / mc } {#1}
}
-\keys_define:nn { __tag / struct }
+\RenewDocumentCommand \tagmcend { }
{
- attribute .code:n = % A property (attribute, value currently a dictionary)
- {},
+% \tag_mc_end:
+ \ThisAltText{}% lwarp
}
-\cs_new_protected:Npn \__tag_ref_label:nn #1 #2 %#1 label, #2 name of list mc or struct
+\RenewDocumentCommand \tagmcuse { m }
{
- \@bsphack
- \ref_label:nv {#1}{c__tag_ref#2_clist}
- \@esphack
+% \tag_mc_use:n {#1}
}
-\cs_generate_variant:Nn \__tag_ref_label:nn {en}
-\cs_new:Npn \__tag_ref_value:nnn #1 #2 #3 %#1 label, #2 attribute, #3 default
+\RenewDocumentCommand \tagstructbegin { m }
{
- \ref_value:nnn {#1}{#2}{#3}
+ \keys_set:nn { __tag / struct} { #1 }% lwarp
+% \tag_struct_begin:n {#1}
}
-\cs_generate_variant:Nn \__tag_ref_value:nnn {enn}
-\cs_new:Npn \__tag_ref_value_lastpage:nn #1 #2
+
+\RenewDocumentCommand \tagstructend { }
{
- \ref_value:nnn {__tag_LastPage}{#1}{#2}
+% \tag_struct_end:
+ \ThisAltText{}% lwarp
}
-
-\NewDocumentCommand \tagpdfsetup { m }{}
-
-\cs_set_eq:NN\tagpdfifluatexTF \sys_if_engine_luatex:TF
-\cs_set_eq:NN\tagpdfifluatexT \sys_if_engine_luatex:T
-\cs_set_eq:NN\tagpdfifpdftexT \sys_if_engine_pdftex:T
-\cs_new:Npn \tagpdfget #1 {}
-\cs_new:Npn \uftag_get:n #1 {}
-
-\NewDocumentCommand \tagmcifinTF { m m }{}
-
-\NewDocumentCommand \tagmcbegin { m }{%
- \tag_mc_begin:n {#1}%\ignorespaces
-}
-
-\cs_new_protected:Npn \tag_mc_begin:n #1 %#1 keyval
+\RenewDocumentCommand \tagstructuse { m }
{
- \keys_set:nn { __tag / mc } {#1}
+% \tag_struct_use:n {#1}
}
-\NewDocumentCommand \tagmcend {}{\ThisAltText{}}
-
-\NewDocumentCommand \tagmcuse { m }{}
-
-\cs_new_protected:Nn \uftag_mc_use:n {}
-
-\NewDocumentCommand \tagstructbegin { m }
- {
- \tag_struct_begin:n {#1}
- }
+\ExplSyntaxOff
+% \end{macrocode}
+%
+% \iffalse
+%</tagpdf-base>
+% \fi
+%
+%
+%
+%
+% \iffalse
+%<*tagpdf-mc-code-generic>
+% \fi
+%
+% \part{lwarp-tagpdf-mc-code-generic.sty}
+%
+% \section{tagpdf-mc-code-generic}
+%
+% \credits{Ulrike Fischer}
+%
+% \DescribePackage{tagpdf-mc-code-generic}
+% \pkg{tagpdf-mc-code-generic} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.909}{2022/10/25}{\pkg{tagpdf-mc-code-generic}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{tagpdf-mc-code-generic}[2022-08-24]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ExplSyntaxOn
-\cs_new_protected:Npn \tag_struct_begin:n #1 %#1 key-val
+% From tagpdf-mc-code-generic.sty:
+\keys_define:nn { __tag / mc }
{
- \keys_set:nn { __tag / struct} { #1 }
+ alt .code:n = % Alt property
+ {
+% \str_set_convert:Noon
+% \l__tag_tmpa_str
+% { #1 }
+% { default }
+% { utf16/hex }
+% \tl_put_right:Nn \l__tag_mc_key_properties_tl { /Alt~< }
+% \tl_put_right:No \l__tag_mc_key_properties_tl { \l__tag_tmpa_str>~ }
+ \gdef\LWR@ThisAltText{\detokenize\expandafter{#1}}% lwarp
+ },
}
+\ExplSyntaxOff
+% \end{macrocode}
+%
+% \iffalse
+%</tagpdf-mc-code-generic>
+% \fi
+%
+%
+%
+% \iffalse
+%<*tagpdf-mc-code-lua>
+% \fi
+%
+% \part{lwarp-tagpdf-mc-code-lua.sty}
+%
+% \section{tagpdf-mc-code-lua}
+%
+% \credits{Ulrike Fischer}
+%
+% \DescribePackage{tagpdf-mc-code-lua}
+% \pkg{tagpdf-mc-code-lua} is patched for use by \pkg{lwarp}.
+%
+% \changes{v0.909}{2022/10/25}{\pkg{tagpdf-mc-code-lua}: Added.}
+%
+% \codehtml
+%
+% \begin{macrocode}
+\LWR@ProvidesPackagePass{tagpdf-mc-code-lua}[2022-08-24]
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ExplSyntaxOn
-\NewDocumentCommand \tagstructend { }
+\keys_define:nn { __tag / mc }
{
- \tag_struct_end:
+ alt .code:n = % Alt property
+ {
+% \str_set_convert:Noon
+% \l__tag_tmpa_str
+% { #1 }
+% { default }
+% { utf16/hex }
+% \tl_put_right:Nn \l__tag_mc_key_properties_tl { /Alt~< }
+% \tl_put_right:No \l__tag_mc_key_properties_tl { \l__tag_tmpa_str>~ }
+% \lua_now:e
+% {
+% ltx.__tag.func.store_mc_data
+% (
+% \__tag_get_mc_abs_cnt:,"alt","/Alt~<\str_use:N \l__tag_tmpa_str>"
+% )
+% }
+ \gdef\LWR@ThisAltText{\detokenize\expandafter{#1}}% lwarp
+ },
}
-\cs_new_protected:Nn \tag_struct_end:
- {\ThisAltText{}}
-
-\NewDocumentCommand \tagstructuse { m }{}
-
-\NewDocumentCommand\ShowTagging { m }
- {}
-
-\sys_if_engine_luatex:T
-{
- \NewDocumentCommand\pdffakespace { }
- {}
-}
-
-\newcommand\tagpdfparaOn {}
-
-\newcommand\tagpdfparaOff{}
-
-\NewDocumentCommand\tagpdfsuppressmarks{m}{}
-
\ExplSyntaxOff
% \end{macrocode}
%
% \iffalse
-%</tagpdf>
+%</tagpdf-mc-code-lua>
% \fi
%
%
%
%
-%
% \iffalse
%<*tascmac>
% \fi
@@ -86952,8 +87036,8 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \pkg{lwarp} changes the catcode of |$| for its own use.
% \margintag{catcodes}
-% The \tikz{} |babel| library temporarily changes catcodes
-% back to normal for \tikz's use.
+% The \TikZ{} |babel| library temporarily changes catcodes
+% back to normal for \TikZ's use.
% \gindex{tikz=\pkg{tikz}>dollar redefined}
% \gindex{tikz=\pkg{tikz}>catcodes}
% \pkg{tikz} v3.0.0 introduced the |babel| library which handles catcode changes.
@@ -87000,7 +87084,7 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf',
% \end{macrocode}
% \end{noindenvironment}
-% \tikz\ is placed inside an \SVG\ image, so use the original
+% \TikZ\ is placed inside an \SVG\ image, so use the original
% meanings of the following:
% \begin{macrocode}
\LetLtxMacro\pgfutil@minipage\LWR@print@minipage
diff --git a/macros/latex/contrib/lwarp/lwarp.ins b/macros/latex/contrib/lwarp/lwarp.ins
index 1bacc36aba..fde9f9f976 100644
--- a/macros/latex/contrib/lwarp/lwarp.ins
+++ b/macros/latex/contrib/lwarp/lwarp.ins
@@ -518,6 +518,9 @@ version 2005/12/01 or later.
\file{lwarp-tabularx.sty}{\from{lwarp.dtx}{tabularx}}
\file{lwarp-tabulary.sty}{\from{lwarp.dtx}{tabulary}}
\file{lwarp-tagpdf.sty}{\from{lwarp.dtx}{tagpdf}}
+\file{lwarp-tagpdf-base.sty}{\from{lwarp.dtx}{tagpdf-base}}
+\file{lwarp-tagpdf-mc-code-generic.sty}{\from{lwarp.dtx}{tagpdf-mc-code-generic}}
+\file{lwarp-tagpdf-mc-code-lua.sty}{\from{lwarp.dtx}{tagpdf-mc-code-lua}}
\file{lwarp-tascmac.sty}{\from{lwarp.dtx}{tascmac}}
\file{lwarp-tcolorbox.sty}{\from{lwarp.dtx}{tcolorbox}}
\file{lwarp-tensor.sty}{\from{lwarp.dtx}{tensor}}
diff --git a/macros/latex/contrib/lwarp/lwarp.pdf b/macros/latex/contrib/lwarp/lwarp.pdf
index 05e6fe121a..4f612e8420 100644
--- a/macros/latex/contrib/lwarp/lwarp.pdf
+++ b/macros/latex/contrib/lwarp/lwarp.pdf
Binary files differ
diff --git a/macros/latex/contrib/lwarp/lwarpmk.lua b/macros/latex/contrib/lwarp/lwarpmk.lua
index 87a8efdef0..b8cbb9741e 100755
--- a/macros/latex/contrib/lwarp/lwarpmk.lua
+++ b/macros/latex/contrib/lwarp/lwarpmk.lua
@@ -2,7 +2,7 @@
-- Copyright 2016-2022 Brian Dunn
-printversion = "v0.908"
+printversion = "v0.909"
requiredconfversion = "2" -- also at *lwarpmk.conf
function printhelp ()
diff --git a/macros/latex/contrib/se2thesis/CHANGELOG.md b/macros/latex/contrib/se2thesis/CHANGELOG.md
index d8d2ec80d5..f8d4fc920d 100644
--- a/macros/latex/contrib/se2thesis/CHANGELOG.md
+++ b/macros/latex/contrib/se2thesis/CHANGELOG.md
@@ -7,6 +7,12 @@ and this project adheres to
## [Unreleased]
+## [v1.3.1] – 2022–11–22
+
+### Fixed
+
+- Fix typos that caused issues with missing spaces, thanks to @Wooza
+
## [v1.3.0] – 2022–11–08
### Changed
@@ -55,6 +61,7 @@ These changes might be breaking changes!
### Added
- First official release
+[v1.3.1]: https://github.com/se2p/se2thesis/compare/v1.3.1...v1.3.0
[v1.3.0]: https://github.com/se2p/se2thesis/compare/v1.3.0...v1.2.0
[v1.2.0]: https://github.com/se2p/se2thesis/compare/v1.2.0...v1.1.1
[v1.1.1]: https://github.com/se2p/se2thesis/compare/v1.1.0...v1.1.1
diff --git a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf
index c7d06dab7c..1938ad4bda 100644
--- a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf
+++ b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.pdf
Binary files differ
diff --git a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex
index b6e2610ddb..96b4038fe3 100644
--- a/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex
+++ b/macros/latex/contrib/se2thesis/se2thesis-master-thesis-example.tex
@@ -89,6 +89,14 @@
We could reference the \TeX{} book~\cite{Knu86}.
+\begin{resq}
+ What is \(41 + 1\)?
+\end{resq}
+
+\begin{summary}{Research Question 1}
+ It's 42, obviously!
+\end{summary}
+
\backmatter
\printbibliography
diff --git a/macros/latex/contrib/se2thesis/se2thesis.dtx b/macros/latex/contrib/se2thesis/se2thesis.dtx
index 39485c8d11..81bed285c7 100644
--- a/macros/latex/contrib/se2thesis/se2thesis.dtx
+++ b/macros/latex/contrib/se2thesis/se2thesis.dtx
@@ -1124,7 +1124,7 @@
%
% Identify the class and give the overall version number.
% \begin{macrocode}
-\ProvidesExplClass {se2thesis} {2022-11-08} {1.3.0}
+\ProvidesExplClass {se2thesis} {2022-11-22} {1.3.1}
{A thesis class for the Chair of Software Engineering II}
% \end{macrocode}
%
@@ -2136,13 +2136,13 @@
Hiermit~ versichere~ ich,~ \l_@@_signature_tl,
\begin{enumerate}
\item dass~ ich~ die~ vorliegende~ Arbeit~ selbstständig~ und~ ohne~
- unzulässige~ Hilfe~ verfasst~ und~ kein~ anderen~ als~ die~
+ unzulässige~ Hilfe~ verfasst~ und~ keine~ anderen~ als~ die~
angegebenen~ Quellen~ und~ Hilfsmittel~ benutzt,~ sowie~ die~
wörtlich~ und~ sinngemäß~ übernommenen~ Passagen~ aus~ anderen~
Werken~ kenntlich~ gemacht~ habe.
\item Außerdem~ erkläre~ ich,~ dass~ ich~ der~ Universität~ ein~
- Nutzungsrecht~ zum~ Zwecke~ der~ Überprüfung~ mittels~ einer~
- Plagiatssoftware~ in~ anonymisierter~ Form~ einräume.
+ einfaches~ Nutzungsrecht~ zum~ Zwecke~ der~ Überprüfung~ mittels~
+ einer~ Plagiatssoftware~ in~ anonymisierter~ Form~ einräume.
\end{enumerate}\par
\bigskip
\noindent \l_@@_location_tl,~ \@date\hfill
@@ -2184,7 +2184,7 @@
% We can then define the \env{resq} and \env{hyp} environments using the
% \cmd{\newtheorem} macro from \pkg{ntheorem}.
% \begin{macrocode}
-\newtheorem{resq}{Research Question}
+\newtheorem{resq}{Research~ Question}
\newtheorem{hyp}{Hypothesis}
% \end{macrocode}
% \end{environment}
@@ -2232,7 +2232,7 @@
% We provide the following English translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{English}{se2translations}[2022/11/08]
+\ProvideDictionaryFor{English}{se2translations}[2022/11/22]
\ProvideDictTranslation{abstract}{abstract}
\ProvideDictTranslation{Abstract}{Abstract}
\ProvideDictTranslation{acknowledgement}{acknowledgement}
@@ -2283,7 +2283,7 @@
% We provide the following German translations.
%
% \begin{macrocode}
-\ProvideDictionaryFor{German}{se2translations}[2022/11/08]
+\ProvideDictionaryFor{German}{se2translations}[2022/11/22]
\ProvideDictTranslation{abstract}{Zusammenfassung}
\ProvideDictTranslation{Abstract}{Zusammenfassung}
\ProvideDictTranslation{acknowledgement}{Danksagung}
@@ -2344,7 +2344,7 @@
%
% Identify the package and give the overall version information.
% \begin{macrocode}
-\ProvidesExplPackage {se2colors} {2022-11-08} {1.3.0}
+\ProvidesExplPackage {se2colors} {2022-11-22} {1.3.1}
{A colour support package for the se2thesis bundle}
% \end{macrocode}
%
@@ -2496,7 +2496,7 @@
%
% Identify the package and give the overall version information.
% \begin{macrocode}
-\ProvidesExplPackage {se2fonts} {2022-11-08} {1.3.0}
+\ProvidesExplPackage {se2fonts} {2022-11-22} {1.3.1}
{A font-selection support package for the se2thesis bundle}
% \end{macrocode}
%
diff --git a/macros/latex/contrib/se2thesis/se2thesis.pdf b/macros/latex/contrib/se2thesis/se2thesis.pdf
index a8a52332af..9bec916719 100644
--- a/macros/latex/contrib/se2thesis/se2thesis.pdf
+++ b/macros/latex/contrib/se2thesis/se2thesis.pdf
Binary files differ
diff --git a/macros/luatex/generic/lua-widow-control/CHANGELOG.md b/macros/luatex/generic/lua-widow-control/CHANGELOG.md
index 0ac3878e04..37eee32f11 100644
--- a/macros/luatex/generic/lua-widow-control/CHANGELOG.md
+++ b/macros/luatex/generic/lua-widow-control/CHANGELOG.md
@@ -9,7 +9,25 @@ Changelog
All notable changes to lua-widow-control will be listed here, in reverse chronological order. **Changes listed in bold** are important changes: they either remove options or commands, or may change the location of page breaks.
-## v2.2.2 (2022-08-23)
+## v3.0.0 (2022-11-22)
+
+- Add the new _TUGboat_ and _Zpravodaj_ articles.
+
+- Add and document the public Lua interfaces.
+
+- Change `\parfillskip` settings for lengthened paragraphs to more strongly prevent short last lines. **May affect page breaks.**
+
+- Add the ability to configure the horizontal offset for the paragraph costs printed in draft mode.
+
+- Add support for [LuaMetaLaTeX and LuaMetaPlain](https://github.com/zauguin/luametalatex). All features should work identically to the LuaTeX-based version, although there are a few minor bugs. ([#40](https://github.com/gucci-on-fleek/lua-widow-control/pull/40))
+
+- Fully support inserts/footnotes in LuaMetaTeX ([#38](https://github.com/gucci-on-fleek/lua-widow-control/issues/38)).
+
+- Add support for presets in ConTeXt.
+
+- Add support for node colouring in ConTeXt and OpTeX ([#39](https://github.com/gucci-on-fleek/lua-widow-control/issues/39)).
+
+## [v2.2.2 (2022-08-23)](https://github.com/gucci-on-fleek/lua-widow-control/releases/tag/release-6c91837c205572a78a0bcaf9c80b8e475ef71689)
- Add preliminary support for inserts/footnotes in LuaMetaTeX ([#38](https://github.com/gucci-on-fleek/lua-widow-control/issues/38)).
diff --git a/macros/luatex/generic/lua-widow-control/README.md b/macros/luatex/generic/lua-widow-control/README.md
index 4360229236..93f94449f5 100644
--- a/macros/luatex/generic/lua-widow-control/README.md
+++ b/macros/luatex/generic/lua-widow-control/README.md
@@ -9,7 +9,7 @@ lua-widow-control
Lua-widow-control is a Plain TeX/LaTeX/ConTeXt/OpTeX package that removes widows and orphans without any user intervention. Using the power of LuaTeX, it does so _without_ stretching any glue or shortening any pages or columns. Instead, lua-widow-control automatically lengthens a paragraph on a page or column where a widow or orphan would otherwise occur.
-Please see the [**package manual**](https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/lua-widow-control.pdf) for usage details or the [***TUGboat* article**](https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/tb133chernoff-widows.pdf) for background information and discussion.
+Please see the [**package manual**](https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/lua-widow-control.pdf) for usage details or the [***TUGboat***](https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/tb133chernoff-widows.pdf) or [***Zpravodaj* articles**](https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/lwc-zpravodaj.pdf) for background information and discussion.
Usage
-----
@@ -48,4 +48,4 @@ Lua-widow-control is licensed under the [_Mozilla Public License_, version 2.0](
Please note that a compiled document is absolutely **not** considered to be an "Executable Form" as defined by the MPL. The use of lua-widow-control in a document does not place **any** obligations on the document's author or distributors. The MPL and CC-BY-SA licenses **only** apply to you if you distribute the lua-widow-control source code or documentation.
---
-_v2.2.2 (2022-08-23)_ <!--%%version %%dashdate-->
+_v3.0.0 (2022-11-22)_ <!--%%version %%dashdate-->
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty b/macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty
index bdfa099947..d7f8601e60 100644
--- a/macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty
+++ b/macros/luatex/generic/lua-widow-control/lua-widow-control-2022-02-22.sty
@@ -12,8 +12,8 @@
% report a real version number here for debugging.
\PackageInfo{lua-widow-control}{%
Real version:
- 2022/08/23 %%slashdate
- v2.2.2 %%version
+ 2022/11/22 %%slashdate
+ v3.0.0 %%version
}
\PackageWarning{lua-widow-control}{%
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control.lua b/macros/luatex/generic/lua-widow-control/lua-widow-control.lua
index 1ef86174c4..59ae84ee3e 100644
--- a/macros/luatex/generic/lua-widow-control/lua-widow-control.lua
+++ b/macros/luatex/generic/lua-widow-control/lua-widow-control.lua
@@ -44,7 +44,14 @@ local function debug(title, text)
local filler = 15 - #title
if text then
- write_nl(write_log, "LWC (" .. title .. string_rep(" ", filler) .. "): " .. text)
+ write_nl(
+ write_log,
+ "LWC (" ..
+ title ..
+ string_rep(" ", filler) ..
+ "): " ..
+ text
+ )
else
write_nl(write_log, "LWC: " .. string_rep(" ", 18) .. title)
end
@@ -52,24 +59,28 @@ end
--[[
- \lwc/ is intended to be format-agonistic. It only runs on Lua\TeX{},
- but there are still some slight differences between formats. Here, we
- detect the format name then set some flags for later processing.
+ \lwc/ is intended to be format-agonistic. It only runs on Lua\TeX{} and
+ LuaMeta\TeX{}, but there are still some slight differences between formats.
+ Here, we detect the format name then set some flags for later processing.
]]
local format = tex.formatname
local context, latex, plain, optex, lmtx
+if status.luatex_engine == "luametatex" then
+ lmtx = true
+end
+
if format:find("cont") then -- cont-en, cont-fr, cont-nl, ...
context = true
- if status.luatex_engine == "luametatex" then
- lmtx = true
- end
elseif format:find("latex") then -- lualatex, lualatex-dev, ...
latex = true
-elseif format == "luatex" or format == "luahbtex" then -- Plain
+elseif format == "luatex" or
+ format == "luahbtex" or
+ format:find("plain")
+then -- Plain
plain = true
elseif format:find("optex") then -- OpTeX
- optex = true
+ optex = _G.optex
end
--[[
@@ -89,22 +100,35 @@ local line_subid = 1
local linebreakpenalty_subid = 1
local par_id = id_from_name("par") or id_from_name("local_par")
local penalty_id = id_from_name("penalty")
+local parfill_subids = {
+ parfillleftskip = 17,
+ parfillrightskip = 16,
+ parinitleftskip = 19,
+ parinitrightskip = 18,
+}
+local vlist_id = id_from_name("vlist")
-- Local versions of globals
local abs = math.abs
local copy = node.copy
local copy_list = node.copy_list or node.copylist
+local effective_glue = node.effective_glue or node.effectiveglue
local find_attribute = node.find_attribute or node.findattribute
local free = node.free
local free_list = node.flush_list or node.flushlist
local get_attribute = node.get_attribute or node.getattribute
+local hpack = node.hpack
local insert_token = token.put_next or token.putnext
+local is_node = node.is_node or node.isnode
local last = node.slide
local linebreak = tex.linebreak
local new_node = node.new
local remove = node.remove
local set_attribute = node.set_attribute or node.setattribute
-local string_char = string.char
+local str_byte = string.byte
+local str_char = string.char
+local str_format = string.format
+local subtype = node.subtype
local tex_box = tex.box
local tex_count = tex.count
local tex_dimen = tex.dimen
@@ -119,8 +143,6 @@ local iftrue = token.create("iftrue")
local INFINITY = 10000
local INSERT_CLASS_MULTIPLE = 1000 * 1000
local INSERT_FIRST_MULTIPLE = 1000
-local llap_offset = math.max(tex.dimen.parindent, tex.sp("12pt"))
-local min_col_width = tex.sp("250pt")
local PAGE_MULTIPLE = 100
local SINGLE_LINE = 50
@@ -128,8 +150,10 @@ lwc.colours = {
expanded = {0.00, 0.70, 0.25},
failure = {0.90, 0.00, 0.25},
moved = {0.25, 0.25, 1.00},
+ cost = {0.50, 0.50, 0.50},
}
+
--[[ Package/module initialization.
Here, we replace any format/engine-specific variables/functions with some
@@ -137,13 +161,15 @@ lwc.colours = {
worrying about any format/engine differences.
]]
local contrib_head,
+ draft_offset,
emergencystretch,
hold_head,
info,
insert_attribute,
max_cost,
- pagenum,
+ page_head,
paragraph_attribute,
+ set_whatsit_field,
shrink_order,
stretch_order,
warning
@@ -155,11 +181,15 @@ if lmtx then
shrink_order = "shrinkorder"
stretch_order = "stretchorder"
hold_head = "holdhead"
+ page_head = "pagehead"
+ set_whatsit_field = node.setwhatsitfield
else
contrib_head = "contrib_head"
shrink_order = "shrink_order"
stretch_order = "stretch_order"
hold_head = "hold_head"
+ page_head = "page_head"
+ set_whatsit_field = node.setfield
end
if context then
@@ -177,20 +207,20 @@ if context then
end
paragraph_attribute = attributes.public(lwc.name .. "_paragraph")
insert_attribute = attributes.public(lwc.name .. "_insert")
- pagenum = function() return tex_count["realpageno"] end
- -- Dimen names
+ -- Dimen/count names
emergencystretch = "lwc_emergency_stretch"
+ draft_offset = "lwc_draft_offset"
max_cost = "lwc_max_cost"
elseif plain or latex or optex then
- pagenum = function() return tex_count[0] end
-
-- Dimen names
if tex.isdimen("g__lwc_emergencystretch_dim") then
emergencystretch = "g__lwc_emergencystretch_dim"
+ draft_offset = "g__lwc_draftoffset_dim"
max_cost = "g__lwc_maxcost_int"
else
emergencystretch = "lwcemergencystretch"
+ draft_offset = "lwcdraftoffset"
max_cost = "lwcmaxcost"
end
@@ -198,8 +228,8 @@ elseif plain or latex or optex then
debug("Plain/LaTeX")
luatexbase.provides_module {
name = lwc.name,
- date = "2022/08/23", --%%slashdate
- version = "2.2.2", --%%version
+ date = "2022/11/22", --%%slashdate
+ version = "3.0.0", --%%version
description = [[
This module provides a LuaTeX-based solution to prevent
@@ -225,30 +255,46 @@ else -- This shouldn't ever happen
Please use LaTeX, Plain TeX, ConTeXt or OpTeX.]]
end
+-- We can't get the value of \\horigin from Lua, but we can guess it
+-- based on the format.
+local horigin
+if optex or (lmtx and context) then
+ horigin = 0
+else
+ horigin = tex.sp("1in")
+end
+
+-- Plain is the only format without a `pre_shipout_filter`
+if plain then
+ luatexbase.create_callback('pre_shipout_filter', 'list')
+end
+
+
--[[ Select the fonts
- We want to use cmr7 for the draft mode cost displays, and the easiest
+ We want to use cmr6 for the draft mode cost displays, and the easiest
way to do so is to just hardcode the font id's. This relies on some
- implementation details; however, it is very unlikely to ever be an issue
+ implementation details; however, it is very unlikely to ever be an issue.
]]
local SMALL_FONT
if plain then
- SMALL_FONT = 4
+ SMALL_FONT = 5
elseif latex then
- SMALL_FONT = 7
+ SMALL_FONT = 6
elseif optex then
- SMALL_FONT = 7
+ SMALL_FONT = 8
elseif context then
- SMALL_FONT = 3
+ SMALL_FONT = fonts.definers.define({
+ name = "LMRoman6-Regular",
+ size = tex.sp("6pt"),
+ })
end
---[[ Table to hold the alternate paragraph versions.
-
- This is global(ish) mutable state, which isn't ideal, but any other way of
- passing this data around would be even worse.
- ]]
-local paragraphs = {}
-local inserts = {}
+-- Global variables
+local paragraphs = {} -- The expanded paragraphs on each page
+local inserts = {} -- Copies of all the inserts on each page
+local costs = {} -- All of the paragraph costs for the document
+local pagenum = 1 -- The current page/column number
--[[ Function definitions
]]
@@ -256,11 +302,13 @@ local inserts = {}
--- Gets the current paragraph and page locations
--- @return string
local function get_location()
- return "At " .. pagenum() .. "/" .. #paragraphs
+ return "At " .. pagenum .. "/" .. #paragraphs
end
---- Prints the starting glyphs and glue of an `hlist`
+--- Prints the starting glyphs and glue of an `hlist`.
+---
+--- Useful for debugging purposes.
---
--- @param head node
--- @return nil
@@ -271,7 +319,7 @@ local function get_chars(head)
for n in traverse(head) do
if n.id == glyph_id then
if n.char < 127 then -- Only ASCII
- chars = chars .. string_char(n.char)
+ chars = chars .. str_char(n.char)
else
chars = chars .. "#" -- Replacement for an unknown glyph
end
@@ -291,8 +339,11 @@ end
---
--- @param demerits number The demerits of the broken paragraph
--- @param lines number The number of lines in the broken paragraph
---- @return number The cost of the broken paragraph
-function lwc.paragraph_cost(demerits, lines)
+--- @param nat_demerits number The demerits of the naturally-broken paragraph
+--- @param nat_lines number The number of lines in the naturally-broken paragraph
+--- @param head node The head of the broken paragraph
+--- @return number cost The cost of the broken paragraph
+function lwc.paragraph_cost(demerits, lines, nat_demerits, nat_lines, head)
return demerits / math.sqrt(lines)
end
@@ -324,9 +375,8 @@ local function next_of_type(head, id, args)
end
end
else
- --[[ Only LMTX has the built-in backwards traverser, so we need to do it
- ourselves here.
- ]]
+ -- Only LMTX has the built-in backwards traverser, so we need to do
+ -- it manually otherwise.
while head do
if head.id == id and
(head.subtype == args.subtype or args.subtype == nil)
@@ -346,33 +396,76 @@ local function next_of_type(head, id, args)
end
+--- Ensures that a paragraph is ready to be broken
+---
+--- Only applies to LuaMetaTeX
+---
+--- @param head node
+--- @return nil
+local function prepare_linebreak(head)
+ if not lmtx then
+ return
+ end
+
+ -- See how many of the par[left/right][init/fill]skips we have
+ local parfills = {}
+ local count = 0
+ for name, subid in pairs(parfill_subids) do
+ parfills[name] = next_of_type(head, glue_id, { subtype = subid })
+ if parfills[name] then
+ count = count + 1
+ end
+ end
+
+ if count == 0 then
+ -- Usual case
+ tex.preparelinebreak(head)
+ elseif count == 4 then
+ -- Already prepared for some reason, ignored
+ else
+ -- Uh oh
+ warning("Weird par(fill/init)skips found!")
+ tex.preparelinebreak(head) -- Try to fix it
+ end
+end
+
+
--- Breaks a paragraph one line longer than natural
---
--- @param head node The unbroken paragraph
+--- @param parfillskip table<number> The {width, stretch, shrink,
+--- stretch_order, shrink_order} to set
+--- for the \\parfillskip
--- @return node long_node The broken paragraph
--- @return table long_info An info table about the broken paragraph
-local function long_paragraph(head)
+local function long_paragraph(head, parfillskip)
-- We can't modify the original paragraph
head = copy_list(head)
- if lmtx then
- tex.preparelinebreak(head)
- end
-
- -- Prevent ultra-short last lines (\TeX{}Book p. 104), except with narrow columns
- -- Equivalent to \\parfillskip=0pt plus 0.8\\hsize
- local parfillskip = last(head)
+ prepare_linebreak(head)
- if tex.hsize > min_col_width then
- parfillskip[stretch_order] = 0
- parfillskip.stretch = 0.8 * tex.hsize -- Last line must be at least 20% long
- end
+ -- TODO node.setglue is broken in LMTX, so we have to do this manually
+ local n = last(head)
+ n.width = parfillskip[1]
+ n.stretch = parfillskip[2]
+ n.shrink = parfillskip[3]
+ n[stretch_order] = parfillskip[4]
+ n[shrink_order] = parfillskip[5]
-- Break the paragraph 1 line longer than natural
- return linebreak(head, {
+ local long_node, long_info = linebreak(head, {
looseness = 1,
emergencystretch = tex_dimen[emergencystretch],
})
+
+ -- Mark the last line for the costs display
+ set_attribute(
+ last(long_node),
+ paragraph_attribute,
+ -1 * (#paragraphs + 1 + (PAGE_MULTIPLE * pagenum))
+ )
+
+ return long_node, long_info
end
@@ -384,9 +477,7 @@ local function natural_paragraph(head)
-- We can't modify the original paragraph
head = copy_list(head)
- if lmtx then
- tex.preparelinebreak(head)
- end
+ prepare_linebreak(head)
-- Break the paragraph naturally to get \\prevgraf
local natural_node, natural_info = linebreak(head)
@@ -396,88 +487,50 @@ local function natural_paragraph(head)
end
-lwc.draft_mode = false
+local show_colours = false
--- Changes the text colour in a node list if draft mode is active
---
--- @param head node The first node to colour
---- @param colour table<number> A 3-tuple of RGB values
+--- @param colour string The name of a colour in `lwc.colours`
--- @return node head The coloured node
local function colour_list(head, colour)
- if not lwc.draft_mode then
+ if not show_colours then
return head
end
- -- Adapted from https://tex.stackexchange.com/a/372437
- -- \\pdfextension colorstack is ignored in LMTX
- local start_colour = new_node("whatsit", "pdf_colorstack")
- start_colour.stack = 0
- start_colour.command = 1
- start_colour.data = string.format("%.2f %.2f %.2f rg", table.unpack(colour))
-
- local end_colour = new_node("whatsit", "pdf_colorstack")
- end_colour.stack = 0
- end_colour.command = 2
-
- start_colour.next = head
- last(head).next = end_colour
-
- return start_colour
-end
+ local pdf_colour = str_format(
+ "%.2f %.2f %.2f rg",
+ table.unpack(lwc.colours[colour])
+ )
+ if optex and optex.set_node_color then
+ for n in node.traverse(head) do
+ optex.set_node_color(n, pdf_colour)
+ end
---- Generate an \\llap'ed box containing the provided string
----
---- @param str string The string to typeset
---- @return node head The box node
-local function llap_string(str)
- local first = new_node("glue")
- first.width = llap_offset
-
- local m = first
- for letter in str:gmatch(".") do
- local n = new_node("glyph")
- n.font = SMALL_FONT
- n.char = string.byte(letter)
-
- m.next = n
- m = n
+ return head
end
- local hss = new_node("glue")
- hss.stretch = 1
- hss[stretch_order] = 1
- hss.shrink = 1
- hss[shrink_order] = 1
- m.next = hss
-
- return node.hpack(first, 0, "exactly")
-end
-
-
---- Typesets the cost of a paragraph beside it in draft mode
----
---- @param paragraph node
---- @param cost number
---- @return nil
-local function show_cost(paragraph, cost)
- if not lwc.draft_mode then
- return
+ if context then
+ nodes.tracers.colors.setlist(head, "lwc_" .. colour)
+ return head
end
- local last_hlist_end = last(next_of_type(
- last(paragraph),
- hlist_id,
- { subtype = line_subid, reverse = true }
- ).list)
+ -- Adapted from https://tex.stackexchange.com/a/372437 and
+ -- https://github.com/zauguin/luametalatex/issues/8.
+ local start_colour = new_node("whatsit", subtype("pdf_colorstack"))
+ set_whatsit_field(start_colour, "stack", 0)
+ set_whatsit_field(start_colour, "command", 1)
+ set_whatsit_field(start_colour, "data", pdf_colour)
- local cost_str
- if cost < math.maxinteger then
- cost_str = string.format("%.0f", cost)
- else
- cost_str = "infinite"
- end
+ local end_colour = new_node("whatsit", subtype("pdf_colorstack"))
+ set_whatsit_field(end_colour, "stack", 0)
+ set_whatsit_field(end_colour, "command", 2)
+
+ start_colour.next = head
+ last(head).next = end_colour
- last_hlist_end.next = llap_string(cost_str)
+ return start_colour
end
@@ -485,10 +538,10 @@ end
---
--- Called by the `pre_linebreak_filter` callback
---
---- @param head node
---- @return node
+--- @param head node The pre-broken paragraph
+--- @return node head The unmodified `head` argument
function lwc.save_paragraphs(head)
- if (head.id ~= par_id and context) or -- Ensure that we were actually given a par
+ if (head.id ~= par_id and context) or -- Make sure that `head` is a paragraph
status.output_active or -- Don't run during the output routine
tex.nest.ptr > 1 -- Don't run inside boxes
then
@@ -504,10 +557,27 @@ function lwc.save_paragraphs(head)
lwc.callbacks.disable_box_warnings.enable()
end
- long_node, long_info = long_paragraph(head)
-
natural_info = natural_paragraph(head)
+ -- Prevent ultra-short last lines (\TeX{}book p. 104). Equivalent to
+ -- \\parfillskip=0.75\\hsize plus 0.05\\hsize minus 0.75\\hsize.
+ -- From http://petr.olsak.net/ftp/olsak/tbn/tbn.pdf p. 234 (via Jan Sustek)
+ long_node, long_info = long_paragraph(
+ head,
+ {0.75 * tex.hsize, 0.05 * tex.hsize, 0.75 * tex.hsize, 0, 0}
+ )
+
+ if long_info.prevgraf ~= natural_info.prevgraf + 1 then
+ -- The \\parfillskip settings with \\looseness=1 can sometimes
+ -- lengthen paragraphs by two lines instead of one. If this happens,
+ -- we fall back to a slightly-worse \\parfillskip setting.
+ free_list(long_node)
+ long_node, long_info = long_paragraph(
+ head,
+ {0, 0.8 * tex.hsize, false, 0, false}
+ )
+ end
+
if renable_box_warnings then
lwc.callbacks.disable_box_warnings.disable()
end
@@ -519,7 +589,13 @@ function lwc.save_paragraphs(head)
last(long_node).next = prevdepth
end
- local long_cost = lwc.paragraph_cost(long_info.demerits, long_info.prevgraf)
+ local long_cost = lwc.paragraph_cost(
+ long_info.demerits,
+ long_info.prevgraf,
+ natural_info.demerits,
+ natural_info.prevgraf,
+ long_node
+ )
if long_info.prevgraf ~= natural_info.prevgraf + 1 or
long_cost < 10 -- Any paragraph that is "free" to expand is suspicious
@@ -528,11 +604,12 @@ function lwc.save_paragraphs(head)
long_cost = math.maxinteger
end
+ -- The initial glue can disappear in ConTeXt's grid mode, so we
+ -- save starting at the first hlsit
local saved_node = next_of_type(long_node, hlist_id, { subtype = line_subid })
- show_cost(saved_node, long_cost)
for n in traverse_id(hlist_id, saved_node) do
- n.list = colour_list(n.list, lwc.colours.expanded)
+ n.list = colour_list(n.list, "expanded")
end
table.insert(paragraphs, {
@@ -542,20 +619,24 @@ function lwc.save_paragraphs(head)
free_list(long_node)
+ costs[#paragraphs + (PAGE_MULTIPLE * pagenum)] = long_cost
+
-- Print some debugging information
- get_chars(head)
- debug(get_location(), "nat lines " .. natural_info.prevgraf)
- debug(
- get_location(),
- "nat cost " ..
- lwc.paragraph_cost(natural_info.demerits, natural_info.prevgraf)
- )
- debug(get_location(), "long lines " .. long_info.prevgraf)
- debug(
- get_location(),
- "long cost " ..
- lwc.paragraph_cost(long_info.demerits, long_info.prevgraf)
- )
+ if lwc.debug then
+ get_chars(head)
+ debug(get_location(), "nat lines " .. natural_info.prevgraf)
+ debug(
+ get_location(),
+ "nat cost " ..
+ lwc.paragraph_cost(natural_info.demerits, natural_info.prevgraf)
+ )
+ debug(get_location(), "long lines " .. long_info.prevgraf)
+ debug(
+ get_location(),
+ "long cost " ..
+ lwc.paragraph_cost(long_info.demerits, long_info.prevgraf)
+ )
+ end
-- \ConTeXt{} crashes if we return `true`
return head
@@ -572,39 +653,40 @@ end
--- @return nil
local function mark_paragraphs(head)
-- Tag the paragraphs
- if not status.output_active then -- Don't run during the output routine
- -- Get the start and end of the paragraph
- local top = next_of_type(head, hlist_id, { subtype = line_subid })
- local bottom = last(head)
+ if status.output_active then
+ -- Don't run during the output routine
+ return
+ end
- while bottom.id == insert_id do
- bottom = bottom.prev
- end
+ -- Get the start and end of the paragraph
+ local top = next_of_type(head, hlist_id, { subtype = line_subid })
+ local bottom = last(head)
- if top ~= bottom then
- set_attribute(
- top,
- paragraph_attribute,
- #paragraphs + (PAGE_MULTIPLE * pagenum())
- )
- set_attribute(
- bottom,
- paragraph_attribute,
- -1 * (#paragraphs + (PAGE_MULTIPLE * pagenum()))
- )
- else
- -- We need a special tag for a 1-line paragraph since the node can only
- -- have a single attribute value
- set_attribute(
- top,
- paragraph_attribute,
- #paragraphs + (PAGE_MULTIPLE * pagenum()) + SINGLE_LINE
- )
- end
+ -- The inserts disappear before `pre_output_routine`, so we shouldn't
+ -- mark them.
+ while bottom.id == insert_id do
+ bottom = bottom.prev
+ end
- if #paragraphs > 0 then
- show_cost(head, paragraphs[#paragraphs].cost)
- end
+ if top ~= bottom then
+ set_attribute(
+ top,
+ paragraph_attribute,
+ #paragraphs + (PAGE_MULTIPLE * pagenum)
+ )
+ set_attribute(
+ bottom,
+ paragraph_attribute,
+ -1 * (#paragraphs + (PAGE_MULTIPLE * pagenum))
+ )
+ else
+ -- We need a special tag for a 1-line paragraph since the node can only
+ -- have a single attribute value
+ set_attribute(
+ top,
+ paragraph_attribute,
+ #paragraphs + (PAGE_MULTIPLE * pagenum) + SINGLE_LINE
+ )
end
end
@@ -625,14 +707,15 @@ local function mark_inserts(head)
-- Tag the insert's content so that we can find it later
set_attribute(insert.list, insert_attribute, #inserts)
+ -- We need to tag all lines---not just the start and the end---since
+ -- \TeX{} can split the insert between pages at any point.
for n in traverse(insert.list.next) do
set_attribute(n, insert_attribute, -1 * #inserts)
end
- --[[ Each hlist/line can have multiple inserts, but so we can't just tag
- the hlist as we go. Instead, we need save up all of their indices,
- then tag the hlist with the first and last indices.
- ]]
+ -- Each hlist/line can have multiple inserts, but so we can't just tag
+ -- the hlist as we go. Instead, we need save up all of their indices,
+ -- then tag the hlist with the first and last indices.
insert_indices[#insert_indices+1] = #inserts
if not insert.next or
@@ -642,18 +725,18 @@ local function mark_inserts(head)
local insert_class
if lmtx then
- -- FIXME: temporarily hardcode the main "footnote" class
- insert_class = 4 -- insert.index
+ insert_class = insert.index
else
insert_class = insert.subtype
end
- --[[ We tag the first element of the hlist/line with an integer
- that holds the insert class and the first and last indices
- of the inserts contained in the line. This won't work if
- the line has multiple classes of inserts, but I don't think
- that happens in real-world documents.
- ]]
+ -- We tag the first element of the hlist/line with an integer
+ -- that holds the insert class and the first and last indices
+ -- of the inserts contained in the line. This won't work if
+ -- the line has multiple classes of inserts, but I don't think
+ -- that happens in real-world documents. If this does turn out
+ -- to be an issue, we can get the insert's class from it's copy
+ -- at `pre_output_filter` instead of saving it now.
set_attribute(
hlist_before.list,
insert_attribute,
@@ -672,8 +755,8 @@ end
--- Saves the inserts and tags a typeset paragraph. Called by the
--- `post_linebreak_filter` callback.
---
---- @param head node
---- @return node
+--- @param head node The head of the broken paragraph
+--- @return node head The unmodified `head` parameter
function lwc.mark_paragraphs(head)
mark_paragraphs(head)
mark_inserts(head)
@@ -686,7 +769,7 @@ end
---
--- @param penalty number
--- @return boolean
-function is_matching_penalty(penalty)
+local function is_matching_penalty(penalty)
local widowpenalty = tex.widowpenalty
local clubpenalty = tex.clubpenalty
local displaywidowpenalty = tex.displaywidowpenalty
@@ -694,7 +777,9 @@ function is_matching_penalty(penalty)
penalty = penalty - tex.interlinepenalty
- -- https://tug.org/TUGboat/tb39-3/tb123mitt-widows-code.pdf#subsection.0.2.1
+ -- Adapted from https://tug.org/TUGboat/tb39-3/tb123mitt-widows-code.pdf.
+ -- This only takes into account the original \TeX{} penalties, not the
+ -- "new" \eTeX{} \\(club/widow/broken)penalties commands.
return penalty ~= 0 and
penalty < INFINITY and (
penalty == widowpenalty or
@@ -712,8 +797,24 @@ function is_matching_penalty(penalty)
end
+--- Determines if we should "activate" \lwc/ for the current page/column.
+---
+--- Users can redefine this if they wish.
+---
+--- @param penalty number The \\outputpenalty for the current page/column
+--- @param paragraphs table<table<string, node|number>> The `paragraphs` table
+--- @param head node The head of the current page/column
+--- @return boolean activate True if \lwc/ should move the last line on this page
+function lwc.should_remove_widows(penalty, paragraphs, head)
+ return is_matching_penalty(penalty)
+end
+
--- Reset any state saved between pages
---
+--- This function is *vital* to ensure that we don't leak any nodes.
+--- If we do leak nodes, then very large documents will slow down and
+--- eventually fail to compile.
+---
--- @return nil
local function reset_state()
for _, paragraph in ipairs(paragraphs) do
@@ -725,6 +826,8 @@ local function reset_state()
free(insert)
end
inserts = {}
+
+ pagenum = pagenum + 1
end
@@ -732,15 +835,15 @@ end
---
--- @return nil
local function remove_widows_fail()
- warning("Widow/Orphan/broken hyphen NOT removed on page " .. pagenum())
+ warning("Widow/Orphan/Broken Hyphen NOT removed on page " .. pagenum)
local last_line = next_of_type(
- last(tex_lists.page_head),
+ last(tex_lists[page_head]),
hlist_id,
{ subtype = line_subid, reverse = true }
)
if last_line then
- last_line.list = colour_list(last_line.list, lwc.colours.failure)
+ last_line.list = colour_list(last_line.list, "failure")
end
local next_first_line = next_of_type(
@@ -749,7 +852,7 @@ local function remove_widows_fail()
{ subtype = line_subid }
)
if next_first_line then
- next_first_line.list = colour_list(next_first_line.list, lwc.colours.failure)
+ next_first_line.list = colour_list(next_first_line.list, "failure")
end
reset_state()
@@ -780,10 +883,12 @@ local function first_last_paragraphs(head)
-- Find the first paragraph on the page, from the top
local first_val, first_head = find_attribute(head, paragraph_attribute)
- while abs(first_val) // PAGE_MULTIPLE == pagenum() - 1 do
- --[[ If the first complete paragraph on the page was initially broken on the
- previous page, then we can't expand it here so we need to skip it.
- ]]
+ while abs(first_val) // PAGE_MULTIPLE == pagenum - 1 do
+ -- If the first complete paragraph on the page was initially broken on the
+ -- previous page, then we can't expand it here. Why can't we expand it?
+ -- Well, expanding it will nearly always change how the first few lines
+ -- are printed, but we can't modify those since they've already been
+ -- shipped out. So, we need to skip these paragraphs.
first_val, first_head = find_attribute(
first_head.next,
paragraph_attribute
@@ -826,11 +931,11 @@ local function best_paragraph(head)
debug(
"selected para",
- pagenum() .. "/" .. best_index .. " (" .. best_cost .. ")"
+ pagenum .. "/" .. best_index .. " (" .. best_cost .. ")"
)
if best_cost > tex_count[max_cost] or
- best_index == last_paragraph_index or
+ best_index == last_paragraph_index or -- Shouldn't happen
best_cost == math.maxinteger
then
return nil
@@ -858,7 +963,8 @@ local function get_inserts(last_line)
-- Demux the insert values
local class = line_value // INSERT_CLASS_MULTIPLE
- local first_index = (line_value % INSERT_CLASS_MULTIPLE) // INSERT_FIRST_MULTIPLE
+ local first_index = (line_value % INSERT_CLASS_MULTIPLE)
+ // INSERT_FIRST_MULTIPLE
local last_index = line_value % INSERT_FIRST_MULTIPLE
-- Get the output box containing the insert boxes
@@ -866,23 +972,37 @@ local function get_inserts(last_line)
if lmtx then
insert_box = tex.getinsertcontent(class)
+ -- `getinsertcontent` resets the insert box, so we need to
+ -- re-set it.
+ tex.setinsertcontent(class, insert_box)
else
insert_box = tex_box[class]
end
- -- Get any portions of the insert held over until the next page
- local split_insert = next_of_type(
- tex_lists[hold_head],
- insert_id,
- { subtype = class }
- )
+ -- Get any portions of the insert "held over" until the next page
+ local split_insert
+ if lmtx then
+ split_insert = next_of_type(
+ tex_lists[hold_head],
+ insert_id,
+ { index = class }
+ )
+ else
+ split_insert = next_of_type(
+ tex_lists[hold_head],
+ insert_id,
+ { subtype = class }
+ )
+ end
+ -- We use the same procedure for this page and the next page
for i, insert in ipairs { insert_box, split_insert } do
local m = insert and insert.list
while m do -- Iterate through the insert box
local box_value
box_value, m = find_attribute(m, insert_attribute)
+ local next = m.next
if not m then
break
@@ -898,13 +1018,15 @@ local function get_inserts(last_line)
table.insert(selected_inserts, copy(inserts[box_value]))
end
- m = free(m)
- else
- m = m.next
+ free(m)
end
+
+ m = next
end
end
+ -- If the box has no contents, then void it so that any \\ifvoid
+ -- tests work correctly in the output routine.
if not insert_box.list then
tex_box[class] = nil
end
@@ -917,7 +1039,11 @@ local function get_inserts(last_line)
end
if #selected_inserts ~= 0 then
- info("Moving footnotes on page " .. pagenum())
+ -- This is a somewhat-risky process, so we print an info
+ -- message just in case something goes wrong. We can probably
+ -- remove this in the future if we're sure that everything
+ -- is working correctly.
+ info("Moving footnotes on page " .. pagenum)
end
return selected_inserts
@@ -932,7 +1058,7 @@ lwc.nobreak_behaviour = "keep"
--- some low-level node shuffling.
---
--- @param head node The node representing the start of the page
---- @return boolean success
+--- @return boolean success Set to false if something went wrong
local function move_last_line(head)
-- Start of final paragraph
debug("remove_widows", "moving last line")
@@ -977,19 +1103,19 @@ local function move_last_line(head)
potential_penalty.subtype == linebreakpenalty_subid and
is_matching_penalty(potential_penalty.penalty)
then
- warning("Making a new widow/orphan/broken hyphen on page " .. pagenum())
+ warning("Making a new widow/orphan/broken hyphen on page " .. pagenum)
local second_last_line = next_of_type(
potential_penalty,
hlist_id,
{ subtype = line_subid, reverse = true }
)
- second_last_line.list = colour_list(second_last_line.list, lwc.colours.failure)
+ second_last_line.list = colour_list(second_last_line.list, "failure")
end
last_line = copy_list(n)
- last_line.list = colour_list(last_line.list, lwc.colours.moved)
+ last_line.list = colour_list(last_line.list, "moved")
-- Reinsert any inserts originally present in this moved line
local selected_inserts = get_inserts(last_line)
@@ -1019,13 +1145,29 @@ end
--- @param head node
--- @param paragraph_index number
local function replace_paragraph(head, paragraph_index)
- local target_node = copy_list(paragraphs[paragraph_index].node)
+ -- Remove any inserts. They are completely ignored after
+ -- the page has been broken, but they can upset LuaMetaLaTeX if
+ -- they're found somewhere unexpected.
+ local target_node, last_target_node
+ for n in traverse(paragraphs[paragraph_index].node) do
+ -- Just removing the inserts from the list doesn't work properly,
+ -- so we instead copy over everything that isn't an insert.
+ if n.id ~= insert_id then
+ if not target_node then
+ target_node = copy(n)
+ last_target_node = target_node
+ else
+ last_target_node.next = copy(n)
+ last_target_node = last_target_node.next
+ end
+ end
+ end
local start_found = false
local end_found = false
local free_nodes_begin
- -- Loop through all of the nodes on the page with the lwc attribute
+ -- Loop through all of the nodes on the page with the \lwc/ attribute
local n = head
while n do
local value
@@ -1038,8 +1180,8 @@ local function replace_paragraph(head, paragraph_index)
debug("remove_widows", "found " .. value)
-- Insert the start of the replacement paragraph
- if value == paragraph_index + (PAGE_MULTIPLE * pagenum()) or
- value == paragraph_index + (PAGE_MULTIPLE * pagenum()) + SINGLE_LINE
+ if value == paragraph_index + (PAGE_MULTIPLE * pagenum) or
+ value == paragraph_index + (PAGE_MULTIPLE * pagenum) + SINGLE_LINE
then
debug("remove_widows", "replacement start")
start_found = true
@@ -1047,7 +1189,9 @@ local function replace_paragraph(head, paragraph_index)
-- Fix the `\\baselineskip` glue between paragraphs
height_difference = (
next_of_type(n, hlist_id, { subtype = line_subid }).height -
- next_of_type(target_node, hlist_id, { subtype = line_subid }).height
+ next_of_type(
+ target_node, hlist_id, { subtype = line_subid }
+ ).height
)
local prev_bls = next_of_type(
@@ -1065,8 +1209,8 @@ local function replace_paragraph(head, paragraph_index)
end
-- Insert the end of the replacement paragraph
- if value == -1 * (paragraph_index + (PAGE_MULTIPLE * pagenum())) or
- value == paragraph_index + (PAGE_MULTIPLE * pagenum()) + SINGLE_LINE
+ if value == -(paragraph_index + (PAGE_MULTIPLE * pagenum)) or
+ value == paragraph_index + (PAGE_MULTIPLE * pagenum) + SINGLE_LINE
then
debug("remove_widows", "replacement end")
end_found = true
@@ -1095,7 +1239,7 @@ local function replace_paragraph(head, paragraph_index)
if start_found and end_found then
free_list(free_nodes_begin)
else
- warning("Paragraph NOT expanded on page " .. pagenum())
+ warning("Paragraph NOT expanded on page " .. pagenum)
end
end
@@ -1114,7 +1258,7 @@ function lwc.remove_widows(head)
debug("outputpenalty", tex.outputpenalty .. " " .. #paragraphs)
-- See if there is a widow/orphan for us to remove
- if not is_matching_penalty(tex.outputpenalty) then
+ if not lwc.should_remove_widows(tex.outputpenalty, paragraphs, head) then
reset_state()
return head
end
@@ -1154,10 +1298,9 @@ function lwc.remove_widows(head)
-- Replace the chosen paragraph with its expanded version
replace_paragraph(head, paragraph_index)
- --[[ The final \\box255 needs to be exactly \\vsize tall to avoid
- over/underfull box warnings, so we correct any discrepancies
- here.
- ]]
+ -- The final \\box255 needs to be exactly \\vsize tall to avoid
+ -- over/underfull box warnings, so we correct any discrepancies
+ -- here.
local new_vpack = vpack(head)
local new_height_diff = new_vpack.height - vsize
new_vpack.list = nil
@@ -1169,7 +1312,8 @@ function lwc.remove_widows(head)
free(bls)
if abs(net_height_diff) > 0 and
- -- A difference larger than 0.25\\baselineskip is probably not from \lwc/
+ -- A difference larger than 0.25\\baselineskip is probably not from
+ -- \lwc/, so we let those warnings surface
abs(net_height_diff) < bls_width / 4
then
local bottom_glue = new_node("glue")
@@ -1181,7 +1325,7 @@ function lwc.remove_widows(head)
"Widow/orphan/broken hyphen successfully removed at paragraph "
.. paragraph_index
.. " on page "
- .. pagenum()
+ .. pagenum
)
reset_state()
@@ -1190,6 +1334,143 @@ function lwc.remove_widows(head)
end
+local show_costs = false
+--- Add the paragraph to the list of paragraphs on the page.
+---
+--- Called immediately before the page is shipped out so that we can get
+--- the costs on the correct side in multi-column layouts.
+---
+--- To evenly align all of the costs in the margins, we need to know the
+--- the exact position of the start and end of the paragraph on the page.
+--- This is surprisingly complicated.
+---
+--- @param head node The box to be shipped out
+--- @return true
+function lwc.show_costs (head)
+ if not show_costs then
+ return true
+ end
+
+ local pagewidth = tex.pagewidth or layouts.getpagedimensions()
+
+ --- Loop over each sublist, add up the total width, and show the costs.
+ ---
+ --- @param n node The node to loop over
+ --- @param width number The accumulated width so far
+ --- @param parent node The parent node of the current list
+ --- @return nil
+ local function recurse(n, width, parent)
+ for m in traverse(n) do
+ -- Anything with an \\hbox parent and a width is actual width.
+ -- (If it had a \\vbox parent, then n.width would actually be height.)
+ local self_width = 0
+ if m.id == glue_id and parent.id == hlist_id then
+ self_width = effective_glue(m, parent)
+ elseif m.width and parent.id == hlist_id then
+ self_width = m.width
+ end
+
+ -- A node's "shift" attribute is horizontal only if the parent is
+ -- a \\vbox. This corresponds to the primatives \\moveleft and
+ -- \\moveright. (If the parent is a \\hbox, then n.shift is
+ -- vertical and corresponds to \\raise.)
+ local shift = 0
+ if m.shift and
+ (parent.id == vlist_id or
+ not is_node(parent))
+ then
+ shift = m.shift
+ end
+
+ width = width + self_width
+
+ local attr = get_attribute(m, paragraph_attribute)
+ if attr and abs(attr) % PAGE_MULTIPLE >= SINGLE_LINE then
+ attr = -1 * (abs(attr) - SINGLE_LINE)
+ end
+
+ local cost = costs[abs(attr or 0)]
+
+ if attr and attr < 0 and cost and m.list then
+ -- We've found the end of a marked paragraph!
+
+ -- Generate the \\hbox containing the formatted cost
+ local cost_str
+ if not cost then
+ return
+ elseif cost < math.maxinteger then
+ cost_str = str_format("%.0f", cost)
+ else
+ cost_str = "infinite"
+ end
+
+ local prev, first
+ for letter in cost_str:gmatch(".") do
+ local curr = new_node("glyph")
+ curr.font = SMALL_FONT
+ curr.char = str_byte(letter)
+
+ if not first then
+ first = curr
+ else
+ prev.next = curr
+ end
+ prev = curr
+ end
+
+ local text = hpack(colour_list(first, "cost"))
+
+ -- Make an \\hss to make sure that our `\\hbox`es aren't overfull
+ local hss = new_node("glue")
+ hss.stretch = 1
+ hss[stretch_order] = 1
+ hss.shrink = 1
+ hss[shrink_order] = 1
+
+ local hbox
+ local offset = new_node("glue")
+
+ if (width >= pagewidth / 2) or
+ (m.width >= 0.4 * pagewidth)
+ then -- Right column or single-column
+ -- Costs in the right margin
+ offset.width = (
+ pagewidth -
+ width -
+ m.width -
+ shift -
+ tex_dimen[draft_offset]
+ )
+ text.next = hss
+ hbox = hpack(text, 0, "exactly")
+ else -- Left column
+ -- Costs in the left margin
+ offset.width = (
+ tex_dimen[draft_offset] -
+ m.width -
+ width -
+ shift
+ )
+ hss.next = text
+ hbox = hpack(hss, 0, "exactly")
+ end
+
+ last(m.list).next = offset
+ offset.next = hbox
+ elseif m.list then
+ recurse(m.list, width - self_width + shift, m)
+ end
+ end
+ end
+
+ -- Start at the root of the page
+ recurse(head.list, (tex.hoffset or 0) + horigin, {})
+
+ -- LaTeX requires us to always return true here
+ return true
+end
+
+
--- Create a table of functions to enable or disable a given callback
---
--- @param t table Parameters of the callback to create
@@ -1198,8 +1479,8 @@ end
--- name: string = The name/ID of the callback
--- category: string = The category for a \ConTeXt{} "Action"
--- position: string = The "position" for a \ConTeXt{} "Action"
---- lowlevel: boolean = If we should use a lowlevel \LuaTeX{} callback instead of a
---- \ConTeXt{} "Action"
+--- lowlevel: boolean = If we should use a lowlevel \LuaTeX{} callback
+--- instead of a \ConTeXt{} "Action"
--- @return table t Enablers/Disablers for the callback
--- enable: function = Enable the callback
--- disable: function = Disable the callback
@@ -1215,9 +1496,8 @@ local function register_callback(t)
}
elseif context and not t.lowlevel then
return {
- --[[ Register the callback when the table is created,
- but activate it when `enable()` is called.
- ]]
+ -- Register the callback when the table is created,
+ -- but activate it when `enable()` is called.
enable = nodes.tasks.appendaction(t.category, t.position, "lwc." .. t.name)
or function()
nodes.tasks.enableaction(t.category, "lwc." .. t.name)
@@ -1227,18 +1507,18 @@ local function register_callback(t)
end,
}
elseif context and t.lowlevel then
- --[[ Some of the callbacks in \ConTeXt{} have no associated "actions". Unlike
- with \LuaTeX{}base, \ConTeXt{} leaves some \LuaTeX{} callbacks unregistered
- and unfrozen. Because of this, we need to register some callbacks at the
- engine level. This is fragile though, because a future \ConTeXt{} update
- may decide to register one of these functions, in which case
- \lwc/ will crash with a cryptic error message.
- ]]
+ -- Some of the callbacks in \ConTeXt{} have no associated "actions".
+ -- Unlike with \LuaTeX{}base, \ConTeXt{} leaves some \LuaTeX{} callbacks
+ -- unregistered and unfrozen. Because of this, we need to register some
+ -- callbacks at the engine level. This is fragile though, because a
+ -- future \ConTeXt{} update may decide to register one of these
+ -- functions, in which case \lwc/ will crash with a cryptic error
+ -- message.
return {
enable = function() callback.register(t.callback, t.func) end,
disable = function() callback.register(t.callback, nil) end,
}
- elseif optex then -- Op\TeX{} is very similar to luatexbase
+ elseif optex then -- Op\TeX{} is luckily very similar to luatexbase
return {
enable = function()
callback.add_to_callback(t.callback, t.func, t.name)
@@ -1279,6 +1559,13 @@ lwc.callbacks = {
category = "finalizers",
position = "after",
}),
+ show_costs = register_callback({
+ callback = "pre_shipout_filter",
+ func = lwc.show_costs,
+ name = "show_costs",
+ category = "shipouts",
+ position = "finishers",
+ }),
}
@@ -1303,11 +1590,10 @@ function lwc.disable_callbacks()
if lwc_enabled then
lwc.callbacks.save_paragraphs.disable()
lwc.callbacks.mark_paragraphs.disable()
- --[[ We do \emph{not} disable `remove_widows` callback, since we still want
- to expand any of the previously-saved paragraphs if we hit an orphan
- or a widow.
- ]]
+ -- We do *not* disable `remove_widows` callback, since we still want
+ -- to expand any of the previously-saved paragraphs if we hit an orphan
+ -- or a widow.
lwc_enabled = false
else
info("Already disabled")
@@ -1358,6 +1644,8 @@ local function register_tex_cmd(name, func, args)
scanners[#scanners+1] = token['scan_' .. arg]
end
+ -- An intermediate function that properly "scans" for its arguments
+ -- in the \TeX{} side.
scanning_func = function()
local values = {}
for _, scanner in ipairs(scanners) do
@@ -1385,7 +1673,8 @@ local function register_tex_cmd(name, func, args)
end
end
-
+--[[ Make all of the \lwc/ Lua commands available from \TeX{}
+ ]]
register_tex_cmd("if_enabled", lwc.if_lwc_enabled, {})
register_tex_cmd("enable", lwc.enable_callbacks, {})
register_tex_cmd("disable", lwc.disable_callbacks, {})
@@ -1404,12 +1693,26 @@ register_tex_cmd(
{ "string" }
)
register_tex_cmd(
- "draft",
+ "show_costs",
+ function(str)
+ show_costs = str ~= "0" and str ~= "false" and str ~= "stop"
+ end,
+ { "string" }
+)
+register_tex_cmd(
+ "show_colours",
function(str)
- lwc.draft_mode = str ~= "0" and str ~= "false" and str ~= "stop"
+ show_colours = str ~= "0" and str ~= "false" and str ~= "stop"
end,
{ "string" }
)
+register_tex_cmd(
+ "pre_shipout",
+ function(box)
+ luatexbase.call_callback('pre_shipout_filter', tex_box[box])
+ end,
+ { "int" }
+)
--- Silence the luatexbase "Enabling/Removing <callback>" info messages
---
@@ -1424,8 +1727,8 @@ register_tex_cmd(
--- with useless error messages, so we disable it here.
---
--- This uses the Lua `debug` library to internally modify the log upvalue in the
---- `add_to_callback` function. This is almost certainly a terrible idea, but I don't
---- know of a better way.
+--- `add_to_callback` function. This is almost certainly a terrible idea, but I
+--- don't know of a better way to do it.
---
--- @return nil
local function silence_luatexbase()
@@ -1451,17 +1754,28 @@ local function silence_luatexbase()
end
---[[ Call `silence_luatexbase` in Plain and LaTeX, unless the undocmented global
- `LWC_NO_DEBUG` is set. We provide this opt-out in case something goes awry
- with the `debug` library calls.
- ]]
+-- Call `silence_luatexbase` in Plain and LaTeX, unless the undocmented global
+-- `LWC_NO_DEBUG` is set. We provide this opt-out in case something goes awry
+-- with the `debug` library calls.
if (plain or latex) and
not LWC_NO_DEBUG --- @diagnostic disable-line
then
silence_luatexbase()
end
+-- Register colours for ConTeXt
+if context then
+ for colour, values in pairs(lwc.colours) do
+ attributes.colors.defineprocesscolor(
+ "lwc_" .. colour,
+ str_format("r=%.2f, g=%.2f, b=%.2f", table.unpack(values))
+ )
+ end
+end
+
-- Activate \lwc/
lwc.callbacks.remove_widows.enable()
+lwc.callbacks.show_costs.enable()
return lwc
+
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control.opm b/macros/luatex/generic/lua-widow-control/lua-widow-control.opm
index 6d3ce3ea54..fa2be77863 100644
--- a/macros/luatex/generic/lua-widow-control/lua-widow-control.opm
+++ b/macros/luatex/generic/lua-widow-control/lua-widow-control.opm
@@ -3,7 +3,7 @@
% SPDX-License-Identifier: MPL-2.0+
% SPDX-FileCopyrightText: 2022 Max Chernoff
-\_codedecl\lwcenable{lua-widow-control <v2.2.2>} %%version
+\_codedecl\lwcenable{lua-widow-control <v3.0.0>} %%version
\_namespace{lwc}
\_clubpenalty=1
@@ -14,6 +14,9 @@
\_newdimen\lwcemergencystretch
\lwcemergencystretch=3em
+\_newdimen\lwcdraftoffset
+\lwcdraftoffset=1in
+
\_newcount\lwcmaxcost
\lwcmaxcost=2147483647
@@ -72,7 +75,12 @@
\_let\lwcdisable=\.disable
\_let\lwcdisablecmd=\.disable_cmd
\_let\lwcdebug=\.debug
-\_let\lwcdraft=\.draft
+\_def\lwcdraft#1{%
+ \.show_costs{#1}%
+ \.show_colours{#1}%
+}
+\_let\lwcshowcosts=\.show_costs
+\_let\lwcshowcolours=\.show_colours
\_let\iflwc=\.if_enabled
\_let\lwcnobreak=\.nobreak
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control.pdf b/macros/luatex/generic/lua-widow-control/lua-widow-control.pdf
index b984764d8f..ba428f1f01 100644
--- a/macros/luatex/generic/lua-widow-control/lua-widow-control.pdf
+++ b/macros/luatex/generic/lua-widow-control/lua-widow-control.pdf
Binary files differ
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control.sty b/macros/luatex/generic/lua-widow-control/lua-widow-control.sty
index f5db525ab4..ad3e95a28a 100644
--- a/macros/luatex/generic/lua-widow-control/lua-widow-control.sty
+++ b/macros/luatex/generic/lua-widow-control/lua-widow-control.sty
@@ -13,7 +13,7 @@
\DeclareRelease{}{0000-00-00}{lua-widow-control-2022-02-22.sty}
\DeclareRelease{v1.1.6}{2022-02-22}{lua-widow-control-2022-02-22.sty}
-\DeclareCurrentRelease{v2.2.2}{2022-08-23} %%version %%dashdate
+\DeclareCurrentRelease{v3.0.0}{2022-11-22} %%version %%dashdate
% If this version of LaTeX doesn't support command hooks, then we load
% the last v1.1.X version of the package.
@@ -23,8 +23,8 @@
\ProvidesExplPackage
{lua-widow-control}
- {2022/08/23} %%slashdate
- {v2.2.2} %%version
+ {2022/11/22} %%slashdate
+ {v3.0.0} %%version
{Use Lua to remove widows and orphans}
% Message and String Constants
@@ -76,6 +76,10 @@
emergencystretch .value_required:n = true,
emergencystretch .initial:x = \dim_max:nn { 3em } { 30pt },
+ draftoffset .dim_gset:N = \g__lwc_draftoffset_dim,
+ draftoffset .value_required:n = true,
+ draftoffset .initial:x = 1in,
+
max-cost .int_gset:N = \g__lwc_maxcost_int,
max-cost .value_required:n = true,
max-cost .initial:x = \c_max_int,
@@ -145,6 +149,14 @@
\fi
}
+\prg_new_conditional:Nnn \__lwc_if_lmtx: { T, F, TF } {
+ \int_compare:nNnTF { \tex_luatexversion:D } > { 200 } {
+ \prg_return_true:
+ } {
+ \prg_return_false:
+ }
+}
+
% Expansion of some parts of the document, such as section headings, is quite
% undesirable, so we'll disable \lwc/ for certain commands.
\int_new:N \g__lwc_disable_int
@@ -197,6 +209,12 @@
\clist_map_function:NN \g__lwc_disablecmds_cl \__lwc_patch_cmd:n
}
+\__lwc_if_lmtx:T {
+ \int_gset:Nn \normalizelinemode {
+ \numexpression\normalizelinemode bor 2\relax
+ }
+}
+
%%% Class and package-specifc patches
% KOMA-Script
@@ -226,9 +244,22 @@
debug .default:n = true,
debug .value_required:n = false,
- draft .choice:,
- draft / true .code:n = \__lwc_draft:n { true },
- draft / false .code:n = \__lwc_draft:n { false },
+ showcolours .choice:,
+ showcolours / true .code:n = \__lwc_show_colours:n { true },
+ showcolours / false .code:n = \__lwc_show_colours:n { false },
+ showcolours .default:n = true,
+ showcolours .value_required:n = false,
+
+ showcosts .choice:,
+ showcosts / true .code:n = \__lwc_show_costs:n { true },
+ showcosts / false .code:n = \__lwc_show_costs:n { false },
+ showcosts .default:n = true,
+ showcosts .value_required:n = false,
+
+ draft .meta:n = {
+ showcolours = { #1 },
+ showcosts = { #1 },
+ },
draft .default:n = true,
draft .value_required:n = false,
diff --git a/macros/luatex/generic/lua-widow-control/lua-widow-control.tex b/macros/luatex/generic/lua-widow-control/lua-widow-control.tex
index 9c26719eb6..e25342ee4b 100644
--- a/macros/luatex/generic/lua-widow-control/lua-widow-control.tex
+++ b/macros/luatex/generic/lua-widow-control/lua-widow-control.tex
@@ -3,7 +3,7 @@
% SPDX-License-Identifier: MPL-2.0+
% SPDX-FileCopyrightText: 2022 Max Chernoff
-\wlog{lua-widow-control v2.2.2} %%version
+\wlog{lua-widow-control v3.0.0} %%version
\ifx\directlua\undefined
\errmessage{%
@@ -14,6 +14,9 @@
\catcode`@=11
+% We need to change some code if we're using LuaMetaTeX
+\def\lwc@iflmtx{\ifnum\luatexversion>200\relax}
+
\input ltluatex % \LuaTeX{}Base
\clubpenalty=1
@@ -24,6 +27,9 @@
\newdimen\lwcemergencystretch
\lwcemergencystretch=3em
+\newdimen\lwcdraftoffset
+\lwcdraftoffset=1in
+
\newcount\lwcmaxcost
\lwcmaxcost=2147483647
@@ -32,12 +38,20 @@
% Here, we enable font expansion/contraction. It isn't strictly necessary for
% \lwc/'s functionality; however, it is required for the
% lengthened paragraphs to not have terrible spacing.
-\expandglyphsinfont\the\font 20 20 5
-\adjustspacing=2
+\lwc@iflmtx\else
+ \expandglyphsinfont\the\font 20 20 5
+ \adjustspacing=2
+\fi
% Enable \lwc/ by default when the package is loaded.
\lwc@enable
+% Fix some strange LMTX bugs
+\lwc@iflmtx
+ \normalizelinemode=\numexpression\normalizelinemode bor 2\relax
+\fi
+
+
% Expansion of some parts of the document, such as section headings, is quite
% undesirable, so we'll disable \lwc/ for certain commands.
@@ -80,7 +94,9 @@
}
\begingroup
- \suppressoutererror=1
+ \lwc@iflmtx\else
+ \suppressoutererror=1
+ \fi
\lwcdisablecmd{\beginsection} % Sectioning
\endgroup
@@ -88,9 +104,15 @@
\let\lwcenable=\lwc@enable
\let\lwcdisable=\lwc@disable
\let\lwcdebug=\lwc@debug
-\let\lwcdraft=\lwc@draft
+\def\lwcdraft#1{%
+ \lwc@show@costs{#1}%
+ \lwc@show@colours{#1}%
+}
+\let\lwcshowcosts=\lwc@show@costs
+\let\lwcshowcolours=\lwc@show@colours
\let\iflwc=\lwc@if@enabled
\let\lwcnobreak=\lwc@nobreak
+\let\lwcpreshipout=\lwc@pre@shipout
\catcode`@=12
diff --git a/macros/luatex/generic/lua-widow-control/lwc-manual.bib b/macros/luatex/generic/lua-widow-control/lwc-manual.bib
index 9c4a172aa0..9a8d174df7 100644
--- a/macros/luatex/generic/lua-widow-control/lwc-manual.bib
+++ b/macros/luatex/generic/lua-widow-control/lwc-manual.bib
@@ -41,7 +41,7 @@
url={https://tug.org/docs/plass/plass-thesis.pdf}
}
-@article{article,
+@article{tugboat1,
title={Automatically removing widows and orphans with
{\tt lua-widow-control}},
author={Chernoff, Max},
@@ -53,3 +53,28 @@
pages={28--39},
DOI={10.47397/tb/43-1/tb133chernoff-widows},
}
+
+@article{tugboat2,
+ title={Updates to \sans{lua-widow-control}},
+ author={Chernoff, Max},
+ journal={TUGboat},
+ volume={43},
+ number={3},
+ pages={340--342},
+ year={2022},
+ month=nov,
+ DOI={10.47397/tb/43-3/tb135chernoff-lwc},
+}
+
+@article{zpravodaj,
+ title={Automatically removing widows and orphans with
+ \sans{lua-widow-control}},
+ author={Chernoff, Max},
+ journal={Zpravodaj Československého sdružení uživatelů TeXu},
+ volume={2022},
+ number={1--4},
+ pages={49--76},
+ year={2022},
+ month=nov,
+ DOI={10.5300/2022-1-4/49},
+}
diff --git a/macros/luatex/generic/lua-widow-control/lwc-manual.mkxl b/macros/luatex/generic/lua-widow-control/lwc-manual.mkxl
index e4f49861b9..9d74e40590 100644
--- a/macros/luatex/generic/lua-widow-control/lwc-manual.mkxl
+++ b/macros/luatex/generic/lua-widow-control/lwc-manual.mkxl
@@ -313,6 +313,8 @@ interfaces.implement {
%%%%%%%%%%%%%%%%%%%%%%%%
\usebtxdefinitions[apa]
+\resetsetups[apa:list:sameauthor]
+
\setupbtx[apa:list][
stopper:initials=,
separator:initials=\btxnbsp,
diff --git a/macros/luatex/generic/lua-widow-control/lwc-manual.tex b/macros/luatex/generic/lua-widow-control/lwc-manual.tex
index 2b5be55196..ef46472225 100644
--- a/macros/luatex/generic/lua-widow-control/lwc-manual.tex
+++ b/macros/luatex/generic/lua-widow-control/lwc-manual.tex
@@ -28,7 +28,8 @@
\def\mkxl/{\ConTeXt~Mk\acronym{XL}}
\def\mkiv/{\ConTeXt~Mk\acronym{IV}}
\define\OpTeX{Op\kern-.05em\TeX}
-\def\LuaMetaTeX{LuaMeta\TeX}
+\def\LuaMeta{Lua\-Meta\-}
+\def\LuaMetaTeX{\LuaMeta\TeX}
\def\plainop/{Plain~\TeX{}/\OpTeX{}}
\let\q=\quotation
@@ -42,6 +43,7 @@
\definecolor[expanded][r=0.00, g=0.70, b=0.25]
\definecolor[failure] [r=0.90, g=0.00, b=0.25]
\definecolor[moved] [r=0.25, g=0.25, b=1.00]
+\definecolor[cost] [r=0.50, g=0.50, b=0.50]
\usemodule[markdown]
\define[4]\markdownRendererLinkPrototype{\goto{#1}[url(#3)]}
@@ -64,7 +66,7 @@
\startdocument[
title=lua-widow-control,
author=Max Chernoff,
- version=2.2.2, %%version
+ version=3.0.0, %%version
github=https://github.com/gucci-on-fleek/lua-widow-control,
ctan=https://www.ctan.org/pkg/lua-widow-control,
]
@@ -79,7 +81,7 @@ Ensure that your \TeX~Live/Mik\TeX{} distribution is up-to-date. Then, \LaTeX{}
\section{Preliminaries}
-This manual begins with a brief introduction to widows, orphans, and \lwc/. For an extended introduction and discussion of these topics, please see the \emph{TUGboat} article\cite[article] distributed with this manual (Links: \goto{local}[tb133chernoff-widows::], \goto{\acronym{CTAN}}[url(http://mirrors.ctan.org/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf)], \goto{GitHub}[url(https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/tb133chernoff-widows.pdf)]). You can also skip ahead to the \goto{installation instructions on \at{page}[sec:install]}[sec:install] or the \goto{usage section starting at \at{page}[sec:usage]}[sec:usage].
+This manual begins with a brief introduction to widows, orphans, and \lwc/. For an extended introduction and discussion of these topics, please see the \emph{Zpravodaj} article\cite[zpravodaj] distributed with this manual (Links: \goto{local}[lwc-zpravodaj::], \goto{\acronym{CTAN}}[url(http://mirrors.ctan.org/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.pdf)], \goto{GitHub}[url(https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/lwc-zpravodaj.pdf)]). This same material is also available in two \emph{TUGboat} articles\cite[tugboat1, tugboat2] (Links: \goto{local}[tb133chernoff-widows::], \goto{\acronym{CTAN}}[url(http://mirrors.ctan.org/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf)], \goto{GitHub}[url(https://github.com/gucci-on-fleek/lua-widow-control/releases/latest/download/tb133chernoff-widows.pdf)]) if you prefer. You can also skip ahead to the \goto{installation instructions on \at{page}[sec:install]}[sec:install] or the \goto{usage section starting at \at{page}[sec:usage]}[sec:usage].
\section[sec:motivation]{Motivation}
@@ -295,6 +297,10 @@ Please note that when running in legacy mode, you cannot use the key--value inte
\subsection{\OpTeX{}}
\Lwc/ works with any version of \OpTeX{} and has no dependencies.
+\subsection{LuaMeta\TeX{}}
+
+\Lwc/ has preliminary support for LuaMeta\LaTeX{} and LuaMetaPlain. All features should work identically to the \LuaTeX{}-based version, although there are a few minor bugs. You should always make sure to use the latest engine, format, and \lwc/ since these formats are under rapid development.
+
\section[sec:usage]{Loading the Package}
@@ -449,6 +455,10 @@ only if it fails will \lwc/ come in and lengthen a paragraph. As a special
case, if you set the values to~0, both \TeX{} and \lwc/ will completely
ignore the \woo/.
+\Lwc/ will pick up on the values of \tex{widowpenalty}, \tex{clubpenalty}, and
+\tex{brokenpenalty} regardless of how you set them, so the use of these
+dedicated keys is entirely optional.
+
\subsection{\tex{nobreak} Behaviour}
When \lwc/ encounters an orphan, it removes it by moving the orphaned
@@ -521,11 +531,15 @@ sets the values to~5\,000 and 10\,000 respectively.
\Lwc/ uses a \q{cost function} $C$ that is initially defined as \startformula
C = \frac{d}{\sqrt{l}}
-\stopformula where $d$ is the total demerits of the paragraph, and $l$ is the number of lines in the paragraph; however, advanced users may also set a custom cost function by redefining the \inlineLUA{lwc.paragraph_cost(demerits, lines)} function.
+\stopformula where $d$ is the total demerits of the paragraph, and $l$ is the number of lines in the paragraph.
\subsection{Draft Mode}
-You can use the draft mode to visualize how \lwc/ processes pages. Any \color[failure]{remaining widows and orphans will be coloured red}, any \color[expanded]{expanded paragraphs will be coloured green}, and any \color[moved]{lines moved to the next page will be coloured blue}. In addition, the cost of each paragraph is shown in the right margin.
+\setuplwc[draft=start]
+\definecolor[lwc_expanded][s=0]
+\definecolor[lwc_failure][s=0]
+\definecolor[lwc_moved][s=0]
+You can use the draft mode to visualize how \lwc/ processes pages. Any \color[failure]{remaining widows and orphans will be coloured red}, any \color[expanded]{expanded paragraphs will be coloured green}, and any \color[moved]{lines moved to the next page will be coloured blue}. In addition, the \color[cost]{cost of each paragraph is shown in the right margin} as it is here.
\startTABLE[setups=commandtable]
\NC \plainop/
@@ -539,11 +553,63 @@ You can use the draft mode to visualize how \lwc/ processes pages. Any \color[fa
\NC\NR
\stopTABLE
-Advanced users may also customize the colours used by modifying the \inlineLUA{lwc.colours} table. The table keys are currently \type{expanded}, \type{failure}, and \type{moved}. The table values are \acronym{RGB} 3-tuples, where each element is a float between zero and one.
+Advanced users may also customize the colours used by modifying the \inlineLUA{lwc.colours} table. The table keys are currently \type{expanded}, \type{failure}, \type{moved}, and \type{cost}. The table values are \acronym{RGB} 3-tuples, where each element is a float between zero and one.
+
+You can also show or hide the costs and colours independently of each other.
+
+\startTABLE[setups=commandtable]
+ \NC \plainop/
+ \NC\inlineTEX{\lwcshowcosts 1}
+ \NC\NR\NC\NC\inlineTEX{\lwcshowcolours 1}
+ \NC\NR
+ \NC \LaTeX{}
+ \NC\inlineTEX{\lwcsetup{showcosts = true}}
+ \NC\NR\NC\NC\inlineTEX{\lwcsetup{showcolours = true}}
+ \NC\NR
+ \NC \ConTeXt{}
+ \NC\inlineTEX{\setuplwc[showcosts = start]}
+ \NC\NR\NC\NC\inlineTEX{\setuplwc[showcolours = start]}
+ \NC\NR
+\stopTABLE
+
+Plain~\TeX{} users will need to modify their output routines to be able to see the costs. Before you ship out the page, you should call \inlineTEX{\lwcpreshipout} with a box number as its argument. For example, here is some sample code to correctly reproduce the standard Plain~\TeX{} output routine:
+
+\startTEX
+\newbox\tempshipoutbox
+\output={
+ \setbox\tempshipoutbox=\vbox{
+ \makeheadline
+ \pagebody
+ \makefootline
+ }
+ \lwcpreshipout\the\tempshipoutbox
+ \shipout\box\tempshipoutbox
+ \advancepageno
+}
+\stopTEX
+
+Setting the output routine like this is automatic in all other formats. \Lwc/ does not modify the output routine in Plain~\TeX{} since most of its users likely have their own output routines.
+\subsection{Draft Offset}
+
+In draft mode, the paragraph costs are printed in the margins, offset a certain distance from the page edge. By default, this offset is set to \unit{1 inch}; however, you can change this to any value that you want:
+
+\startTABLE[setups=commandtable]
+ \NC \plainop/
+ \NC\inlineTEX{\lwcdraftoffset = $\meta{dimension}$}
+ \NC\NR
+ \NC \LaTeX{}
+ \NC\inlineTEX{\lwcsetup{draftoffset = $\meta{dimension}$}}
+ \NC\NR
+ \NC \ConTeXt{}
+ \NC\inlineTEX{\setuplwc[draftoffset = $\meta{dimension}$]}
+ \NC\NR
+\stopTABLE
+
+\setuplwc[draft=stop]
\subsection{Debug Mode}
-\Lwc/ offers a \q{debug} mode that prints extra information in the log files. This may be helpful to understand how \lwc/ is processing paragraphs and pages, although the information is likely inscrutable unless you are the package's author. If you are reporting an issue with \lwc/ make sure to compile your document with debug mode enabled!
+\Lwc/ offers a \q{debug} mode that prints extra information in the log files. This may be helpful to understand how \lwc/ is processing paragraphs and pages, although the information is likely inscrutable unless you are the package's author. If you are reporting an issue with \lwc/, make sure to compile your document with debug mode enabled!
\startTABLE[setups=commandtable]
\NC \plainop/
@@ -567,11 +633,13 @@ presets that you can use to set multiple options at once. These presets are
a good starting point for most documents, and you can always manually
override individual options.
-Currently, these presets are \LaTeX{}-only.
+Presets are available only with \LaTeX{} and \ConTeXt{}.
\startTABLE[setups=commandtable]
\NC \LaTeX{}
\NC\inlineTEX{\lwcsetup{$\meta{preset}$}}\NC\NR
+ \NC \ConTeXt{}
+ \NC\inlineTEX{\setuplwc[$\meta{preset}$]}\NC\NR
\stopTABLE
\subsection{\type{default}}
@@ -627,11 +695,51 @@ still requires a little manual intervention.
\stopTABLE
\stopplacetable
+\section{Lua Interface}
+
+\Lwc/ provides a few public functions and tables that you can safely use or modify as documented. Any Lua interfaces that aren't documented below are subject to change at any time, but ff you do want to use an undocumented interface, please let me know and can easily document it.
+
+\subsection{Costs}
+
+\Lwc/ uses a \q{cost function} to select which paragraph to expand. Typically, this depends on the number of lines and demerits in the broken paragraph; however, you can redefine this function to do something else if you want. The default function is defined as:
+
+\startLUA
+--- The "cost function" to use.
+---
+--- @param demerits number The demerits of the broken paragraph
+--- @param lines number The number of lines in the broken paragraph
+--- @param nat_demerits number The demerits of the naturally-broken paragraph
+--- @param nat_lines number The number of lines in the naturally-broken paragraph
+--- @param head node The head of the broken paragraph
+--- @return number cost The cost of the broken paragraph
+function lwc.paragraph_cost(demerits, lines, nat_demerits, nat_lines, head)
+ return demerits / math.sqrt(lines)
+end
+\stopLUA
+
+\subsection{Activation}
+
+Typically, \lwc/ determines if there are \waos/ at the end of a page by checking the \tex{outputpenalty} register. However, you can use a custom check if you want. The default check is defined as:
+
+\startLUA
+--- Determines if we should "activate" lwc for the current page/column.
+---
+--- @param penalty number The \outputpenalty for the current page/column
+--- @param paragraphs table<table<string, node|number>> The `paragraphs` table
+--- @param head node The head of the current page/column
+--- @return boolean activate True if lwc should move the last line on this page
+function lwc.should_remove_widows(penalty, paragraphs, head)
+ return is_matching_penalty(penalty)
+end
+\stopLUA
+
+By setting a custom activation and cost function, you can transform \lwc/ from a \wao/ remover into a custom layout customization tool.
+
\section{Compatibility}
The \lwc/ implementation is almost entirely in Lua, with only a minimal
\TeX{} footprint. It
-doesn't modify the output routine, inserts\slash floats, \tex{everypar}, and
+doesn't modify the output routine, \tex{everypar}, and
it doesn't insert any whatsits. This means that it should be compatible with
nearly any \TeX{} package, class, and format. Most changes that \lwc/ makes
are not observable on the \TeX{} side.
@@ -644,15 +752,32 @@ does not matter for Plain~\TeX{} or \LaTeX{}, where even most Lua-based
packages don't depend on the node list structure; nevertheless, there are
a few issues with \ConTeXt{}.
-Simple \ConTeXt{} documents tend to be fine, but many advanced
-\ConTeXt{} features rely heavily on Lua and can thus be disturbed by
-\lwc/. This is not a huge issue---the \lwc/ manual is
-written in \ConTeXt{}---but \lwc/ is inevitably more reliable
-with Plain \TeX{} and \LaTeX{} than with \ConTeXt{}.
+However, on the Lua side, \lwc/ modifies much of a page's internal
+structure. This should not affect any \TeX{} code; however, it may surprise
+Lua code that modifies or depends on the page's low-level structure. This
+does not affect Plain~\TeX{} or \LaTeX{} where even most Lua-based packages
+don't depend on the node list structure. \ConTeXt{} \emph{does} depend on
+this internal node structure; however, I have carefully tested the package
+to ensure that this causes no issues.
Finally, keep in mind that adding \lwc/ to a document will almost certainly
change its page break locations.
+\subsection{Formats}
+
+\Lwc/ runs on all known Lua\TeX{}-based formats: Plain~Lua\TeX{},
+Lua\LaTeX{}, \ConTeXt{} Mk\acronym{IV}, and~\OpTeX{}. Unless otherwise
+documented, all features should work equally well in all formats.
+
+\Lwc/ is also fully-compatible with the \LuaMeta\TeX{}-based formats:
+\ConTeXt{} Mk\acronym{XL}\slash\acronym{LMTX}, \LuaMeta\LaTeX{}, and
+\LuaMeta{}Plain. \ConTeXt{} Mk\acronym{XL} works equally
+well as \ConTeXt{} Mk\acronym{IV} and Lua\LaTeX{}; however, \LuaMeta\LaTeX{}
+and \LuaMeta{}Plain support is still quite early. All features should work,
+although there are still a few minor bugs.
+
+All told, \lwc/ supports 7 different format\slash{}engine combinations.
+
\subsection{Columns}
Since \TeX{} and the formats implement column breaking and page
@@ -712,7 +837,7 @@ but instead of using ties or \tex{hbox}es, it uses the
parameter. When lengthening a paragraph
(and only when lengthening a paragraph---remember, \lwc/ doesn't
interfere with \TeX{}'s output unless it detects a \woo/), \lwc/ sets
-\tex{parfillskip} to \type{0pt plus 0.8\hsize}.
+\tex{parfillskip} to \type{0.75\hsize plus 0.05\hsize minus 0.75\hsize}.
This normally makes the last line of a paragraph be at least
20\% of the overall paragraph's width, thus preventing
ultra-short~lines.
@@ -746,10 +871,6 @@ ultra-short~lines.
however, this is both \acronym{NP}-complete\cite[plass] and
impossible to solve in a single pass. Very rarely would such a
system remove widows or orphans that \lwc/ cannot.
-
- \item \Lwc/ does not move footnotes in \mkxl/ due to limitations with the \LuaMetaTeX{} engine. \githubissue{38}
-
- \item Draft mode does not colour any text in \mkxl/. Draft mode will not colour the first line of a page in \mkiv/ and \OpTeX{}. \githubissue{39}
\stopitemize
\section{Contributions}
diff --git a/macros/luatex/generic/lua-widow-control/lwc-zpravodaj-figure.ctx b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj-figure.ctx
new file mode 100644
index 0000000000..9ab907dea2
--- /dev/null
+++ b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj-figure.ctx
@@ -0,0 +1,161 @@
+% lua-widow-control
+% https://github.com/gucci-on-fleek/lua-widow-control
+% SPDX-License-Identifier: MPL-2.0+ OR CC-BY-SA-4.0+
+% SPDX-FileCopyrightText: 2022 Max Chernoff
+
+\startbuffer[demo-text]
+ \definepapersize[smallpaper][
+ width=6cm,
+ height=8.3cm
+ ]
+ \setuppapersize[smallpaper]
+
+ \def\lwc/{\sans{lua-\allowbreak widow-\allowbreak control}}
+ \def\Lwc/{\sans{lua-\allowbreak widow-\allowbreak control}}
+
+ \setupbodyfont[9pt]
+ \setupindenting[yes, 2em]
+ \setupalign[tolerant]
+
+ \definecolor[midlightgray][s=0.75]
+ \definepalet[layout][grid=midlightgray]
+ \showgrid[nonumber, none, lines]
+
+ \definefontfeature[default][default][expansion=quality,protrusion=quality]
+
+ \usetypescript[modern-base]
+ \setupbodyfont[reset,modern]
+
+ \setupalign[hz,hanging,tolerant]
+
+ \setuplanguage[en][spacing=packed]
+
+ \setuplayout[
+ topspace=0.1cm,
+ backspace=0.1cm,
+ width=middle,
+ height=\dimexpr 21\baselineskip + 1.1pt,
+ header=0pt,
+ footer=0pt,
+ ]
+
+ \starttext
+ % This text has been carefully adjusted to produce a good demonstration. Be careful before modifying it.
+ \Lwc/ can remove most widows and orphans from a document, \emph{without}
+ stretching any glue or shortening any pages.
+
+ \ifx\uselooseness\undefined\else\uselooseness\fi It does so by automatically lengthening a paragraph on a page where a
+ widow or orphan would otherwise occur. While \TeX{} breaks paragraphs
+ into their natural length, \lwc/ is breaking the paragraph 1~line
+ longer than its natural length. \TeX{}'s paragraph is output to the
+ page, but \lwc/'s paragraph is just stored for later. When a widow or
+ orphan occurs, \lwc/ can take over. It selects the previously-saved
+ paragraph with the least badness; then, it replaces \TeX{}'s paragraph
+ with its saved paragraph. This increases the text block height of the
+ page by 1~line.
+
+ Now, the last line of the current page can be pushed to the top of the
+ next page. This removes the widow or the orphan without creating any
+ additional work.
+ \stoptext
+ \stoptext
+\stopbuffer
+\savebuffer[list=demo-text]
+
+\startbuffer[shorten]
+ \parskip=0pt
+ \input lwc-zpravodaj-figure-demo-text.tmp
+\stopbuffer
+
+\startbuffer[shorten-code]
+ \parskip=0pt
+ \clubpenalty=10000
+ \widowpenalty=10000
+\stopbuffer
+
+\startbuffer[stretch]
+ \parskip=0pt plus 1fill
+ \input lwc-zpravodaj-figure-demo-text.tmp
+\stopbuffer
+
+\startbuffer[stretch-code]
+ \parskip=0pt plus 1fill
+ \clubpenalty=10000
+ \widowpenalty=10000
+\stopbuffer
+
+\startbuffer[ignore]
+ \startsetups[*default]
+ \clubpenalty=0
+ \widowpenalty=0
+ \displaywidowpenalty=0
+ \interlinepenalty=0
+ \brokenpenalty=0
+ \stopsetups
+
+ \setups[*default]
+
+ \input lwc-zpravodaj-figure-demo-text.tmp
+\stopbuffer
+
+\startbuffer[ignore-code]
+ \parskip=0pt
+ \clubpenalty=0
+ \widowpenalty=0
+\stopbuffer
+
+\startbuffer[lwc]
+ \def\uselooseness{\looseness=1}
+ \input lwc-zpravodaj-figure-demo-text.tmp
+\stopbuffer
+
+% We're pretending that we're using LaTeX for the demo since that's what
+% 99% of users will be using.
+\startbuffer[lwc-code]
+ \usepackage
+ {lua-widow-control}
+\stopbuffer
+
+\setupbodyfont[9pt]
+
+\setupbackend[format=PDF/A-1b:2005] % Force PDF version <1.5
+
+\startTEXpage[
+ align=normal,
+ width=492.5733pt,
+ offset=0pt,
+]
+ \veryraggedcenter
+ \setupTABLE[row][1][style=\bfa, align=middle, offset=0pt]
+ % \setupTABLE[row][4][toffset=2ex]
+ \setupTABLE[frame=off, distance=0em]
+ \startTABLE
+ \NC Ignore
+ \NC Shorten
+ \NC Stretch
+ \NC \sans{lua-widow-control}
+ \NC\NR
+
+ \NC \typesetbuffer[ignore][frame=on, page=1, scale=700]
+ \NC \typesetbuffer[shorten][frame=on, page=1, scale=700]
+ \NC \typesetbuffer[stretch][frame=on, page=1, scale=700]
+ \NC \typesetbuffer[lwc][frame=on, page=1, scale=700]
+ \NC\NR
+
+ \NC \clip[height=2cm]{\typesetbuffer[ignore]
+ [frame=on, page=2, scale=700]}
+ \NC \clip[height=2cm]{\typesetbuffer[shorten]
+ [frame=on, page=2, scale=700]}
+ \NC \clip[height=2cm]{\typesetbuffer[stretch]
+ [frame=on, page=2, scale=700]}
+ \NC \clip[height=2cm]{\typesetbuffer[lwc]
+ [frame=on, page=2, scale=700]}
+ \NC\NR
+
+ \NC \typebuffer[ignore-code]
+ \NC \typebuffer[shorten-code]
+ \NC \typebuffer[stretch-code]
+ \NC \typebuffer[lwc-code]
+ \NC\NR
+ \stopTABLE
+\stopTEXpage
diff --git a/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.bib b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.bib
new file mode 100644
index 0000000000..6bbe904c0d
--- /dev/null
+++ b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.bib
@@ -0,0 +1,237 @@
+% lua-widow-control
+% https://github.com/gucci-on-fleek/lua-widow-control
+% SPDX-License-Identifier: MPL-2.0+ OR CC-BY-SA-4.0+
+% SPDX-FileCopyrightText: 2022 Max Chernoff
+
+@book{texbook,
+ author = {Donald E. Knuth},
+ title = {The \TeX{}book},
+ publisher = {Addison--Wesley},
+ year = {2021},
+}
+
+@online{widows-and-orphans,
+ author = {Frank Mittelbach},
+ year = {2021},
+ month = {03},
+ title = {The \textsf{widows-and-orphans} package},
+ url = {https://ctan.org/pkg/widows-and-orphans},
+ urldate = {2022-11-08},
+}
+
+@online{widow-assist,
+ author = {jeremie},
+ title = {Paragraph callback to help with widows\slash orphans hand tuning},
+ url = {https://tex.stackexchange.com/q/372062},
+ year = {2017},
+ month = {07},
+ urldate = {2022-11-08},
+}
+
+@book{elements,
+ title = {The Elements of Typographic Style},
+ author = {Bringhurst, R.},
+ edition = {3rd},
+ publisher = {Hartley \& Marks},
+ year = {2004},
+}
+
+@online{oed-club,
+ title={club, n.},
+ journal={OED Online},
+ publisher={Oxford University Press},
+ month={09},
+ year={2021},
+ url={https://www.oed.com/view/Entry/34788},
+ author={{Oxford English Dictionary}},
+ urldate = {2022-11-08},
+}
+
+@online{oed-line,
+ title={line at end of paragraph},
+ journal={OED Online},
+ publisher={Oxford University Press},
+ month={12},
+ year={2021},
+ url={https://www.oed.com/view/th/class/195380},
+ author={{Oxford English Dictionary}},
+ urldate = {2022-11-08},
+}
+
+@online{oed-widow,
+ title={widow, n.},
+ journal={OED Online},
+ publisher={Oxford University Press},
+ month={12},
+ year={2021},
+ url={https://www.oed.com/view/Entry/228912},
+ author={{Oxford English Dictionary}},
+ urldate = {2022-11-08},
+}
+
+@article{widowhistory,
+ title={The Typographical Widow},
+ subtitle={Who is she? What is she?},
+ author={Karl Brown},
+ journal={Bulletin of the {New York} Public Library},
+ publisher={The {New York} Public Library},
+ location={New York},
+ volume={52},
+ number={1},
+ year={1948},
+ month={01},
+ pages={3--25},
+ url={https://hdl.handle.net/2027/uc1.b3310084}
+}
+
+@article{widowhistory2,
+ title={The Typographical Widow: Encore},
+ subtitle={Encore},
+ author={Karl Brown},
+ journal={Bulletin of the {New York} Public Library},
+ publisher={The {New York} Public Library},
+ location={New York},
+ volume={52},
+ number={9},
+ year={1948},
+ month={09},
+ pages={458-466},
+ urlnewline=1,
+ url={https://hdl.handle.net/2027/uc1.b3310084}
+}
+
+@book{old,
+ title={Mechanick exercises},
+ subtitle={The doctrine of handy-works applied to the art of printing},
+ volume={2},
+ author={Moxon, Joseph},
+ year={1683},
+ location={London},
+ pages={394},
+ url={https://archive.org/details/mechanickexercis00moxo_0}
+}
+
+@article{global,
+ url = {https://doi.org/10.1111/coin.12165},
+ year = {2018},
+ month = {03},
+ publisher = {Wiley},
+ volume = {35},
+ number = {2},
+ pages = {242--284},
+ author = {Frank Mittelbach},
+ title = {A general framework for globally optimized pagination},
+ journal = {Computational Intelligence}
+}
+
+@book{backwards1,
+ title={The Layout Book},
+ author={Ambrose, G. and Harris, P.},
+ isbn={9782940373536},
+ series={Advanced Level Series},
+ year={2007},
+ publisher={Bloomsbury Academic}
+}
+
+@book{backwards2,
+ title={Typography Essentials Revised and Updated},
+ subtitle={100 Design Principles for Working with Type},
+ author={Saltz, I.},
+ isbn={9781631596483},
+ year={2019},
+ publisher={Rockport Publishers}
+}
+
+@book{backwards3,
+ title={Advanced Typography: From Knowledge to Mastery},
+ author={Hunt, R.},
+ isbn={9781350055926},
+ lccn={2020024110},
+ year={2020},
+ publisher={Bloomsbury Publishing}
+}
+
+@article{gutenberg,
+ title={All Books (sorted by popularity)},
+ url={https://www.gutenberg.org/ebooks/search/?sort_order=downloads},
+ year={2022},
+ month={03},
+ journal={Project Gutenberg}
+}
+
+@online{etex,
+ title={The {\eTeX} manual},
+ author={{The \NTS{} Team}},
+ url={https://ctan.org/pkg/etex},
+ year={1998},
+ % month={02},
+ urldate = {2022-11-08},
+}
+
+@phdthesis{plass,
+ title={Optimal pagination techniques for automatic typesetting systems},
+ author={Plass, Michael Frederick},
+ year={1981},
+ school={Stanford University},
+ urlnewline=1,
+ url={https://tug.org/docs/plass/plass-thesis.pdf}
+}
+
+@article{tb133chernoff-widows,
+ title={Automatically removing widows and orphans with
+ \texttt{lua-widow-control}},
+ author={Chernoff, Max},
+ journal={TUGboat},
+ volume={43},
+ number={1},
+ pages={28--39},
+ year={2022},
+ month={05},
+ DOI={10.47397/tb/43-1/tb133chernoff-widows},
+}
+
+@online{luametalatex,
+ year={2022},
+ month={10},
+ url={https://github.com/zauguin/luametalatex},
+ author={Marcel Krüger},
+ title={\texttt{luametalatex}},
+ urldate = {2022-11-08},
+}
+
+@Book{naruby,
+ author = "Petr Ol{\v{s}}{\'a}k",
+ title = "{\TeX}book naruby. [{\TeX}book inside out]",
+ publisher = "Konvoj",
+ address = "Brno, Czech Republic",
+ pages = "467",
+ year = "1997",
+ ISBN = "80-85615-64-9",
+ ISBN-13 = "978-80-85615-64-7",
+ bibsource = "http://www.math.utah.edu/pub/tex/bib/texbook3.bib",
+ URL = "https://petr.olsak.net/ftp/olsak/tbn/tbn.pdf",
+}
+
+@article{mittelbach,
+ author = "Frank Mittelbach",
+ title = "Managing forlorn paragraph lines (a.k.a.~widows and
+ orphans) in {\LaTeX}",
+ journal = "TUGboat",
+ volume = "39",
+ number = "3",
+ pages = "246--251",
+ year = "2018",
+ ISSN = "0896-3207",
+ ISSN-L = "0896-3207",
+ URL = "https://tug.org/TUGboat/tb39-3/tb123mitt-widows.pdf",
+ issue = "123",
+}
+
+@PHDTHESIS{thanh,
+ author = {Thành, Hàn Thế},
+ title = {Micro-typographic extensions to the \TeX{} typesetting system},
+ date = {2001},
+ institution = {The Faculty of Informatics, Masaryk University},
+ location = {Brno},
+ url = {http://www.pragma-ade.nl/pdftex/thesis.pdf},
+}
diff --git a/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.ltx b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.ltx
new file mode 100644
index 0000000000..1a00292e2f
--- /dev/null
+++ b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.ltx
@@ -0,0 +1,1720 @@
+% lua-widow-control
+% https://github.com/gucci-on-fleek/lua-widow-control
+% SPDX-License-Identifier: MPL-2.0+ OR CC-BY-SA-4.0+
+% SPDX-FileCopyrightText: 2022 Max Chernoff
+
+% This is the LaTeX source for the following article:
+% @article{zpravodaj-lwc,
+% title={Automatically Removing Widows and Orphans with
+% \textsf{lua-widow-control}},
+% author={Chernoff, Max},
+% journal={Zpravodaj Československého sdružení uživatelů TeXu},
+% number={1--4},
+% pages={49--76},
+% year={2022},
+% month=nov,
+% DOI={10.5300/2022-1-4/49},
+% }
+% Please refer to the PDF on cstug.cz for the authoritative version.
+
+% Compiling:
+% context lwc-zpravodaj-figure.ctx
+% lualatex lwc-zpravodaj.ltx
+% biber lwc-zpravodaj
+% lualatex lwc-zpravodaj.ltx
+% lualatex lwc-zpravodaj.ltx
+
+\RequirePackage{luatex85}
+\PassOptionsToPackage{main=english}{babel}
+\PassOptionsToPackage{shorthands=off}{babel}
+
+\makeatletter
+\disable@package@load{fontenc}
+\makeatother
+
+\let\oldlooseness=\looseness
+
+\documentclass{csbulletin}
+
+% Hyperlinks
+\usepackage[implicit=false, hidelinks]{hyperref}
+\setcounter{secnumdepth}{3}
+
+% Load lwc
+\usepackage[balanced, draftoffset=\oddsidemargin + 1in + 10pt]{lua-widow-control}
+
+% Table Stuff
+\usepackage{tabularx}
+\usepackage{longtable}
+\usepackage{hhline}
+\usepackage{booktabs}
+\usepackage{graphicx}
+\AddToHook{env/tabularx/before}{\nobreak\smallskip\noindent}
+\AddToHook{env/tabularx/after}{\smallskip\pagebreak[1]}
+\AddToHook{env/tabular/before}{\nobreak\smallskip\noindent}
+\AddToHook{env/tabular/after}{\smallskip\pagebreak[1]}
+\AddToHook{env/longtable/before}{\nobreak\smallskip\noindent}
+\AddToHook{env/longtable/after}{\smallskip\pagebreak[1]}
+\setlength{\LTleft}{0pt}
+\renewcommand{\arraystretch}{1.15}
+
+% For the sideways figure
+\usepackage{rotating}
+
+% Rotate the sideways figure in the PDF viewer too
+\AddToHook{env/sidewaysfigure/end}{%
+ \latelua{pdf.setpageattributes('/Rotate 90')}%
+ \AddToHookNext{shipout/after}{%
+ \AddToHookNext{shipout/after}{%
+ \directlua{pdf.setpageattributes('/Rotate 0')}%
+ }%
+ }%
+}%
+% Let the macro names in section headings be in boldface
+\usepackage{lmodern}
+\AtBeginDocument{\def\cs#1{\texttt{\textbackslash#1}}}
+
+\directlua{
+ local percent = string.char(37)
+ luatexbase.add_to_callback("process_input_buffer", function(line) return line:gsub(percent .. "-" .. percent .. "-" ..percent .. "-", "\\kern0.1em---\\kern0.1em") end, "emdash")
+} % Add a little more kerning to em-dashes
+
+\makeatletter
+\DeclareRobustCommand{\eTeX}{%
+ \ifx\f@series\bfseries@rm%
+ \ensuremath{\boldsymbol{\varepsilon}}\mbox{-}\kern-.125em\TeX%
+ \else%
+ \ensuremath{\varepsilon}\mbox{-}\kern-.125em\TeX%
+ \fi%
+}
+\let\goodeTeX=\eTeX
+\makeatother
+
+% Other commands
+\usepackage{hologo}
+\def\ConTeXt{\Hologo{ConTeXt}}
+
+\usepackage{mathtools}
+
+% Abbreviations Most of these are just typewriter commands with `\allowbreak`s
+% added.
+\def\lwc/{\textsf{lua-\allowbreak widow-\allowbreak control}}
+\def\Lwc/{\textsf{lua-\allowbreak widow-\allowbreak control}}
+\def\estretch/{%
+ \texorpdfstring{\cs{emergency}\-\mbox{\ttfamily stretch}}{\textbackslash{}emergencystretch}%
+ }
+\def\openalty/{\cs{output}\-\mbox{\ttfamily penalty}}
+\def\waos/{widows and orphans}
+\def\wao/{widow and orphan}
+\def\woo/{widow or orphan}
+\def\woos/{widows or orphans}
+\def\latexuse/{%
+ \cs{use\-package\{lua-\allowbreak widow-\allowbreak control\}}
+}
+\def\lsness/{\texorpdfstring{%
+ \cs{loose}\-\mbox{\ttfamily ness}}{\textbackslash{}looseness}%
+}
+\def\plainop/{Plain~\TeX\slash\OpTeX{}}
+\newcommand{\LuaMeta}{Lua\-Meta\-}
+\newcommand{\q}[1]{\texorpdfstring{``#1''}{“#1”}}
+
+\def\inlineurl[#1]#2{\href{https://#1}{#2}\footnote{\raggedright\href{https://#1}{\ttfamily #1}}}
+
+\def\longs/{\char"017F}
+\def\endofline#1{\unskip\nobreak\hskip\fontdimen2\font plus 1fill\hbox{#1}}
+
+% TUGboat compatibility
+\def\tubsentencespace{\spacefactor=3000{}\space\ignorespaces}
+\DeclareRobustCommand\OpTeX{Op\kern-.05em\TeX}
+\DeclareRobustCommand\acro[1]{\textsc{\MakeLowercase{#1}}}
+\DeclareRobustCommand\meta[1]{%
+ \ensuremath{\langle}%
+ \ifmmode \expandafter\mbox \fi%
+ {\it #1\/}%
+ \ensuremath{\rangle}%
+}
+
+% Bibliography
+\usepackage[
+ backend=biber,
+ style=iso-authoryear,
+ sortlocale=en,
+ autolang=other,
+ bibencoding=UTF8,
+ mincitenames=2,
+ maxcitenames=2,
+]{biblatex}
+
+% Remove the "also" from "available also from"
+\DefineBibliographyStrings{english}{
+ urlalso = {available from},
+}
+
+\protected\def\titlecite#1{\citetitle{#1}~\cite{#1}}
+
+\let\cite=\parencite
+
+\addbibresource{lwc-zpravodaj.bib}
+\addbibresource{tugboat.bib}
+
+% Figures
+\makeatletter
+\renewcommand*{\fps@figure}{tb}
+\renewcommand*{\fps@table}{tb}
+\g@addto@macro\@floatboxreset\centering
+\makeatother
+
+% pgfplots
+\usepackage{pgfplots}
+\usepackage{pgfplotstable}
+\usetikzlibrary{patterns}
+
+\pgfkeys{
+ /pgf/number format/.cd,
+ sci generic={%
+ mantissa sep={\times},
+ exponent={10^{##1}}
+ },
+ 1000 sep={\,},
+}
+
+\pgfplotsset{
+ compat=1.18,
+ lua backend=true,
+ unbounded coords=discard,
+ filter discard warning=false,
+}
+
+
+\pgfplotstableread{tb133chernoff-widows-plot.dat}{\plotdata}
+
+% Final adjustments
+\def\spoj{\discretionary{-}{-}{-}}
+
+\makeatletter
+\csbul@start@page {49}
+\def\doi{10.5300/2022-1-4/\thepage}
+\csbul@webtrue
+\csbul@colortrue
+\makeatother
+
+\begin{document}
+ \title{Automatically Removing Widows and Orphans\\ with \lwc/}
+ \EnglishTitle{Automatically Removing Widows and Orphans\\ with \lwc/}
+ \author{Max Chernoff}
+ \podpis{Max Chernoff, mseven at telus dot net}
+
+ \maketitle
+
+ \begin{abstract}
+ The \textsf{lua-widow-control} package, for
+ plain~Lua\TeX\slash{}Lua\LaTeX\slash{}\ConTeXt\slash{}\OpTeX{},
+ removes widows and orphans without any user intervention.
+ Using the power of Lua\TeX{}, it does so without stretching any vertical glue
+ or shortening any pages or columns. Instead, \textsf{lua-widow-control}
+ automatically lengthens a paragraph on a page or column where a widow or
+ orphan would otherwise occur.
+
+ To use the \textsf{lua-widow-control} package, all that most \LaTeX{} users
+ need do is place \verb|\usepackage{lua-widow-control}| in their preamble.
+ No further changes are required.
+ \end{abstract}
+ \keywords: Lua\TeX{}, widows, orphans
+
+ \hypersetup{bookmarksdepth=10}
+ \section{Motivation}
+
+ {\let\thefootnote\relax\footnotetext{First published in \textsl{TUGboat} \textbf{43}:1 \cite{tb133chernoff-widows}, pp.~28--39. Reprinted, with additions and corrections, with permission.}}
+
+ \TeX{} provides top-notch typesetting: even 40 years after its first
+ release, no other program produces higher quality mathematical
+ typesetting, and its paragraph\spoj breaking algorithm is still
+ state-of-the-art. However, its page breaking is not quite as sophisticated
+ as its paragraph breaking and thus suffers from some minor issues.
+ \oldlooseness=-1
+
+ Unmodified \TeX{} has only two familiar ways of dealing with \waos/: it can
+ either shorten a page by one line, or it can stretch vertical
+ whitespace. \TeX{} was designed for mathematical and scientific typesetting,
+ where a typical page has multiple section headings, tables, figures, and
+ equations. For this style of document, \TeX's default behaviour works quite
+ well, since the slight stretching of whitespace between the various document
+ elements is nearly imperceptible; however, for prose or other documents
+ composed almost entirely of paragraphs, there is little vertical whitespace
+ to stretch.
+
+ Since no ready-made, fully-automated solution to remove
+ \waos/ from all types of documents was available, I decided to
+ create \lwc/.
+ \oldlooseness=-1
+
+ \section{What are \waos/?}
+
+ \subsection{Widows}
+
+ A \q{widow} occurs when the majority of a paragraph is on one page
+ or column,
+ but the last line is on the following page or column. It not only looks
+ quite odd for a lone line to be at the start of the page, but it makes a
+ paragraph harder to read since the separation of a paragraph and
+ its last line disconnects the two, causing the reader to lose context for
+ the widowed line.
+
+ \subsection{Orphans}
+
+ An \q{orphan} occurs when the first line of a paragraph is at the end
+ of the page or column preceding the remainder of the paragraph. They are not
+ as distracting for the reader, but they are still not ideal.
+ Visually, \waos/ are about equally disruptive; however, orphans tend not to
+ decrease the legibility of a text as much as widows, so many authors choose
+ to ignore them.
+
+ See Figure~\ref{tab:widow} for a visual reference.
+
+ \begin{figure}
+ \def\firstpage#1{%
+ \parfillskip=0pt\relax
+ \spaceskip=0.2em plus 1fill\relax
+ \hskip 3em\relax
+ #1%
+ }
+
+ \def\lastpage#1{%
+ \parfillskip=3em plus 1fill\relax
+ \spaceskip=0.2em plus 1fil\relax
+ #1%
+ }
+
+ \renewcommand{\arraystretch}{1}
+ \renewcommand{\doublerulesep}{0.5em}
+ \begin{tabularx}{\linewidth}{|X|@{\hskip\doublerulesep}|X|}
+ \multicolumn1c{\bfseries Widow} &
+ \multicolumn1c{\bfseries Orphan}
+ \\\hhline{-||-}%
+ \firstpage{A widow is when a paragraph's last line is
+ placed on a different page}%
+ &\vskip4pt\leavevmode\firstpage{An orphan is when the first}%
+ \\ \hhline{-||-}
+ \lastpage{than where it begins.}
+ & \lastpage{line of a paragraph occurs on the
+ page before all the other lines.} \\ \hhline{-||-}
+ \end{tabularx}
+ \caption{The difference between \waos/. If we imagine that each box is a
+ different page, then this roughly simulates how \waos/ appear.\oldlooseness=-1}
+ \label{tab:widow}
+ \end{figure}
+
+ \subsection{Broken hyphens}
+
+ \q{Broken} hyphens occur whenever a page break occurs in a
+ hyphenated word. These are not related to \waos/; however,
+ breaking a word across two pages is at least as disruptive for the reader
+ as \waos/. \TeX{} identifies broken hyphens in the same ways as \waos/, so
+ \lwc/ treats broken hyphens in the same way.
+
+ \section{History and etymology}
+
+ The concept of \waos/ is nearly as old as printing itself. In \titlecite{old},
+ a printers manual from 1683, we have:
+ \begin{quote}
+ Nor do good \emph{Compo\longs/iters} account it good Workman\longs/hip
+ to begin a \emph{Page} with a \emph{Break-line}, unle\longs/s it be a
+ very \longs/hort \emph{Break}, and cannot be gotten in the foregoing
+ \emph{Page}\,; but if it be a long \emph{Break}, he will let it be the
+ \emph{Direction-line} of the fore-going \emph{Page}, and \emph{Set} his
+ \emph{Direction} at the end of it. \endofline{(p.~226)}
+ \end{quote}
+ However, the terms \q{widow} and \q{orphan} are much newer.
+
+ \subsection{Widows}
+
+ The earliest published source that I could find referencing \q{widows} in
+ typography is \textsl{Webster's New International Dictionary} from~1934.
+ However, no one---not even the editors of the
+ dictionary~\cite{widowhistory}---seems to know how it got there. Even then,
+ the definition is somewhat different than it is now:
+ \begin{quote}
+ widow, n.~c.~\emph{Print}\@. A short line or single word carried over
+ from the foot of one column or page to the head of a succeeding column
+ or page.
+ \endofline{\cite{widowhistory}}
+ \end{quote}
+ Contrast this with the modern definition:
+ \begin{quote}
+ The stub-ends left when paragraphs end on the first line of a page are called
+ widows. They have a past but not a future, and they look foreshortened and forlorn.
+ \endofline{\cite{elements}}
+ \end{quote}
+ which includes a single lone line of any length.
+
+ \subsection{Orphans}
+
+ The term \q{orphan} is even more confusing. Its initial usage seems to have
+ occurred some time after \q{widow}~\cite{widowhistory}, and it is given many
+ contradictory definitions. Most sources define an orphan as a first line at
+ the bottom of the page and a widow as the last line at the
+ top~\cite{elements, widowhistory, widowhistory2, Isambert:TB31-1-12,
+ texbook, widows-and-orphans, oed-line, oed-widow}; however, some sources
+ define these two terms as \emph{exact opposites} of each other, with a widow
+ as a first line at the bottom of the page and an orphan as the last
+ line!~\cite{backwards1, widowhistory, backwards3, oed-line,
+ backwards2}\tubsentencespace
+ This usage is plain wrong; nevertheless, it is sufficiently common that you
+ need to be careful when you see the terms \q{widow} and \q{orphan}.
+
+ Similarly to the term \q{widow}, \titlecite{elements} provides a succinct
+ definition of the term \q{club}, along with a helpful mnemonic:
+ \begin{quote}
+ Isolated lines created when paragraphs begin on the last line of a page
+ are known as orphans. They have no past, but they do have a future.
+ \endofline{\cite{elements}}
+ \end{quote}
+
+ \subsection{Clubs}
+
+ \textsl{The \TeX{}book} never refers to \q{orphans} as such; rather, it
+ refers to them as \q{clubs}. This term is remarkably rare: I could only find
+ a \emph{single} source published before \textsl{The \TeX{}book}---a
+ compilation article about the definition of \q{widow}---that mentions
+ a \q{club line}:
+ \begin{quotation}
+ \noindent
+ The Dictionary staff informs me that they have no example of the use of
+ the word widow in the typographical sense.~[\dots]
+
+ Mr.~Watson of the technical staff says that
+ the Edinburgh printing houses referred to it as a \q{clubline}.
+ \endofline{\cite[p.~4]{widowhistory}}
+ \end{quotation}\medskip
+ \begin{quotation}
+ \noindent
+ To my knowledge, a `widow', or `widow-line,' is a short line, forming
+ the end of a paragraph, which is carried over from the foot of a page or
+ column to the top of the succeeding one.~[\dots]
+
+ To my personal knowledge, in typographical parlance in Edinburgh,
+ Scotland, the `widow' is called a `club-line.'
+ \endofline{\cite[p.~23]{widowhistory}}
+ \end{quotation}
+
+ Both quotes above are from separate authors, and they each define a \q{club}
+ like we define \q{widow}, not an \q{orphan}. In addition, they both mention
+ that the term is only used in Scotland. Even the extensive
+ \acro{OED}---which lists 17~full definitions and
+ 103~subdefinitions for the noun \q{club}---doesn't recognize the
+ phrase.~\cite{oed-club}
+
+ I spent a few hours searching through Google Books and my university library
+ catalogue, but I could not find a single additional source. However, Don
+ Knuth---the creator of \TeX{}---read the original article
+ \cite{tb133chernoff-widows} and sent me this reply:
+ \oldlooseness=-1
+
+ \begin{quote}
+ I cannot remember where I found the term \q{club line}. Evidently
+ the books that I scoured in 1977 and 1978 had taught me only that an
+ isolated line, caused by breaking between pages in the midst of a
+ paragraph, was called a \q{widow}; hence \TeX78 had only
+ \q{\cs{chpar4}} to
+ change the \q{\texttt{widowpenalty}}. Sometime between then and \TeX82
+ I must
+ have come across what appeared to be an authoritative source that
+ distinguished between widows at the beginning of a paragraph and
+ orphans or club lines at the end. I may have felt that the term
+ \q{orphan} was somewhat pejorative, who knows?\footnotemark
+ \end{quote}
+
+ \footnotetext{
+ Note that this definition is somewhat mistaken. Widows are located
+ either at the \emph{end} of a paragraph, or the beginning of a
+ \emph{page or column}. Likewise, orphans\slash{}clubs appear at the
+ \emph{beginning} of a paragraph or at the end of a \emph{page or column}.
+ }
+
+ \noindent
+ So this (somewhat) resolves the question of where the term \q{club} came
+ from.
+
+ \section{Pagination in \TeX}
+
+ Let's move on to looking at how \TeX{} treats these \waos/.
+
+ \subsection{Algorithm}
+
+ It is tricky to understand how \lwc/ works if you aren't familiar with how
+ \TeX{} breaks pages and columns. For a full description, you should consult
+ Chapter~15 of~\titlecite{texbook} (\q{How \TeX{} Makes
+ Lines into Pages}); however, this goes into much more detail than most users
+ require, so here is a \emph{very} simplified summary of \TeX{}'s page
+ breaking algorithm:
+
+ \TeX{} fills the page with lines and other objects until the next object
+ will no longer fit. Once no more objects will fit, \TeX{} will align the
+ bottom of the last line with the bottom of the page by stretching any
+ available vertical spaces if (in \LaTeX) \cs{flushbottom} is set;
+ otherwise, it will
+ break the page and leave the bottom empty.
+
+ However, some objects have penalties attached. Penalties encourage or
+ discourage page breaks from occurring at specific places. For example,
+ \LaTeX{} sets a negative penalty before section headings to encourage a
+ page break there; conversely, it sets a positive penalty after section
+ headings to discourage breaking.
+
+ To reduce \waos/, \TeX{} sets weakly-positive penalties between the
+ first and second lines of a paragraph to prevent orphans, and between the
+ penultimate and final lines to prevent widows.
+
+ One important note: once \TeX{} begins breaking a page, it never goes
+ back to modify any content on the page. Page breaking is a localized
+ algorithm, without any backtracking.
+
+ \subsection{Behaviour}
+
+ Merely describing the algorithm doesn't allow us to intuitively
+ understand how
+ \TeX{} deals with \waos/.
+
+ Due to the penalties attached to \waos/, \TeX{} tries to avoid
+ them. Widows and orphans with small penalties attached---like
+ \LaTeX's default values of 150---are only lightly coupled to the rest
+ of the paragraph, while \waos/ with large penalties---values of
+ 10\,000 or more---are treated as infinitely bad and are thus
+ unbreakable. Intermediate values behave just as you would expect,
+ discouraging page breaks proportional to their value.
+
+ When \TeX{} goes to break a page, it tries to avoid breaking at a
+ location with a high penalty. How it does so depends on a few settings:
+
+ \subsubsection{\cs{flushbottom} and \cs{normalbottom}}
+
+ With the settings \cs{normalbottom} (Plain \TeX{}) or \cs{flushbottom}
+ (\LaTeX{}), \TeX{} is willing to stretch any glue on the page by an amount
+ roughly commensurate to the magnitude of the penalty: for small
+ \cs{clubpenalty} and \cs{widowpenalty} values, \TeX{} will only slightly
+ stretch the glue on the page before creating a \woo/; for very large
+ penalties, \TeX{} will stretch the glue by a near-infinite amount.
+ \oldlooseness=-1
+
+ This corresponds to the \q{Stretch} column in
+ Figure~\ref{fig:demo}. It is
+ the default behaviour of Plain~\TeX{}, and of the standard \LaTeX{} classes
+ when the \verb|twocolumn| option is given.
+
+ \subsubsection{\cs{raggedbottom}}
+
+ When \cs{raggedbottom} is set, \TeX{} won't stretch any glue. Instead, for
+ sufficiently high \cs{clubpenalty} and
+ \cs{widowpenalty} values, \TeX{} will shorten the page or column by
+ one~line in order to prevent the \woo/ from being created.
+
+ This corresponds to the \q{Shorten} column in Figure~\ref{fig:demo} and is
+ the default behaviour of the \LaTeX{} classes when the
+ \verb|twocolumn| option is not given.
+
+ \section{\lsness/}\label{sec:looseness} Before we can continue further, we
+ need to discuss one more \TeX{} command: \lsness/. The following is
+ excerpted from Chapter~14 of~\titlecite{texbook} (\q{How \TeX{} Breaks
+ Paragraphs into Lines}):
+
+ \begin{quotation}
+ \noindent
+ If you set \lsness/\verb|=1|, \TeX{} will try to make the current
+ paragraph one line longer than its optimum length, provided that
+ there is a way to choose such breakpoints without exceeding the
+ tolerance you have specified for the badnesses of individual lines.
+ Similarly, if you set \lsness/\verb|=2|, \TeX{} will try to make the
+ paragraph two lines longer; and \lsness/\verb|=-1| causes an attempt
+ to make it shorter.~[\dots]
+
+ For example, you can set \lsness/\verb|=1| if you want to avoid a
+ lonely \q{club line} or \q{widow line} on some page that does not
+ have sufficiently flexible glue, or if you want the total number of
+ lines in some two-column document to come out to be an even number.
+
+ It's usually best to choose a paragraph that is already pretty
+ \q{full}, i.e., one whose last line doesn't have much white space,
+ since such paragraphs can generally be loosened without much harm.
+ You might also want to insert a tie between the last two words of
+ that paragraph, so that the loosened version will not end with only
+ one \q{widow word} on the orphans line; this tie will cover your
+ tracks, so that people will find it hard to detect the fact that you
+ have tampered with the spacing. On the other hand, \TeX{} can take
+ almost any sufficiently long paragraph and stretch it a bit, without
+ substantial~harm.
+ \oldlooseness=1
+ \end{quotation}
+
+ The \wao/ removal strategy suggested in the second paragraph works quite
+ well; however, it requires manual editing each and every time a page
+ or paragraph is rewritten or repositioned.
+
+ \begin{sidewaysfigure}[p!]
+ \includegraphics{lwc-zpravodaj-figure}
+ \caption{A visual comparison of various automated widow-handling
+ techniques.
+ }\label{fig:demo}
+ \end{sidewaysfigure}
+
+ \section{Alternate removal strategies}
+
+ There have been a few previous attempts to improve upon \TeX's
+ previously discussed \wao/-handling abilities; however, none of these
+ have been able to automatically remove \waos/ without stretching any vertical glue
+ or shortening any pages.
+
+ The articles \titlecite{Isambert:TB31-1-12} and \titlecite{mittelbach} both
+ begin with comprehensive discussions of the methods of preventing \waos/.
+ They agree that \waos/ are bad and ought to be avoided; however, they
+ differ in their solutions. \textsl{Strategies}~proposes an output routine
+ that reduces the length of facing pages by one line when necessary to
+ remove \waos/, while \textsl{Managing}~proposes that the author manually
+ rewrites or adjusts \lsness/ when needed.
+
+ The post \titlecite{widow-assist} contains a file
+ \verb|widow-assist.lua| that
+ automatically detects which paragraphs can be safely shortened or
+ lengthened by one line. The \textsf{widows-and-orphans}
+ package~\cite{widows-and-orphans} alerts the author to
+ the pages that contain widows or orphans. Combined, these packages make
+ it simple for the author to quickly remove \waos/ by adjusting the
+ values of \lsness/; however, it still requires the author to make manual
+ source changes after each revision.
+
+ Another article suggests a fully-automated solution to remove
+ \waos/~\cite{global}. This would seem to offer a complete solution; however,
+ it requires multiple passes, an external tool, and has not yet been publicly
+ released.
+
+ \Lwc/ is essentially a combination of
+ \verb|widow-assist.lua|~\cite{widow-assist} and
+ \textsf{widows-and-orphans}~\cite{widows-and-orphans}, although its
+ implementation is independent of both: when the \openalty/
+ value indicates
+ that a \woo/ has occurred, Lua is used to find a stretchable paragraph. What
+ \lwc/ mainly adds on top of these packages is automation: it eliminates the
+ requirement for any manual adjustments or changes to your document's
+ source.
+
+ \section{Visual comparison}
+
+ Although \TeX{}'s page breaking algorithm is reasonably
+ straightforward, it can lead to
+ complex behaviour when \waos/ are involved. The usual
+ choices, when rewriting is not possible, are to ignore them,
+ stretch some glue, or shorten the
+ page. Figure~\ref{fig:demo} has a visual comparison of these
+ options, which we'll discuss in the following:
+
+ \subsection{Ignore}
+
+ As you can see, the last line of the page is on a separate page from the
+ rest of its paragraph, creating a widow. This is usually highly
+ distracting for the reader, so it is best avoided for the reasons previously
+ discussed.
+
+ \subsection{Shorten}
+
+ This page did not leave any widows, but it did shorten the previous page
+ by one line. Sometimes this is acceptable, but usually it looks bad because
+ pages will then have different text-block heights. This can make the pages
+ look quite uneven, especially when typesetting with columns or in a book
+ with~facing~pages.
+ \oldlooseness=1
+
+ \subsection{Stretch}
+
+ This page also has no widows and it has a flush bottom margin. However,
+ the space between each pair of paragraphs had to be stretched.
+
+ If this page had many equations, headings, and other elements with
+ natural space between them, the stretched out space would be much less
+ noticeable. \TeX{} was designed for mathematical typesetting, so it makes
+ sense that this is its default behaviour. However, in a page with mostly
+ text, these paragraph gaps look unsightly.
+
+ Also, this method is incompatible with grid typesetting, where
+ all vertical glue stretching must be quantised to the height of a line.
+
+ \subsection{\lwc/}
+
+ \Lwc/ has none of these issues: it eliminates the widows in a document
+ while keeping a flush bottom margin and constant paragraph spacing.
+
+ To do so, \lwc/ lengthened the second paragraph in Figure~\ref{fig:demo} by
+ one line. If you look closely, you can see that this stretched the
+ interword spaces. This stretching is noticeable when typesetting in a
+ narrow text block, but is mostly imperceptible with larger widths.
+
+ \Lwc/ automatically finds the \q{best} paragraph to stretch, so the
+ increase in interword spaces should almost always be minimal.
+
+ \section{Installation and standard usage}
+
+ The \lwc/ package was first released in
+ October~2021. It is available in the default installations of both
+ MiK\TeX{} and \TeX{}~Live, although you will need recent versions
+ of either.
+
+ You may also download \lwc/ manually from either
+ \inlineurl[ctan.org/pkg/lua-widow-control]{\acro{CTAN},}
+ the \inlineurl%
+ [modules.contextgarden.net/cgi-bin/module.cgi/action=view/id=127]%
+ {\ConTeXt{} Garden,} or \inlineurl%
+ [github.com/gucci-on-fleek/lua-widow-control/releases/latest/]%
+ {GitHub,} although it is best if you can install it through your
+ \TeX~distribution.
+
+ As its name may suggest, \lwc/ \textit{requires} Lua\TeX{} or
+ \LuaMeta\TeX{} regardless of the format used.
+ With that in mind, using \lwc/ is quite simple:
+
+ \begin{tabular}{rl}
+ Plain \TeX{} &
+ \cs{input lua-widow-control}\phantom{\tt]} \\
+ \OpTeX {} &
+ \cs{load[lua-widow-control]} \\
+ \LaTeX{} &
+ \latexuse/ \\
+ \ConTeXt{} &
+ \cs{usemodule[lua-widow-control]} \\
+ \end{tabular}
+
+ And that's usually enough. Most users won't need to do anything else since
+ \lwc/ comes preconfigured and ready-to-go.
+
+ \section{Options}
+
+ Nevertheless, \lwc/ does have a few options.
+
+ \Lwc/ tries very hard to have a \q{natural} user interface with each
+ format, so how you set an option heavily depends on how you are running
+ \lwc/. Also note that not every option is available in every format.
+
+ Some general guidelines:
+
+ \begin{tabularx}\linewidth{rX}
+ \plainop/ & Specially-named \cs{lwc}\meta{option} commands and
+ registers are provided for all options. \\[4pt]
+ \LaTeX{} & Options can be set either as package options or at
+ any point in the document with \cs{lwcsetup}. \\[4pt]
+ \ConTeXt{} & Always use \cs{setuplwc}.
+ \end{tabularx}
+
+ \subsection{Disabling}
+
+ You may want to disable \lwc/ for certain portions of your
+ document. You can do so with the following commands:
+
+ \begin{tabular}{rl}
+ \plainop/ &
+ \cs{lwcdisable} \\
+ \LaTeX{} &
+ \cs{lwcsetup\{disable\}} \\
+ \ConTeXt{} &
+ \cs{setuplwc[state=stop]}\hphantom{\texttt{a}} \\
+ \end{tabular}
+
+ This prevents \lwc/ from stretching any paragraphs that follow. If a page
+ has earlier paragraphs where \lwc/ was still enabled and a \woo/ is
+ detected, \lwc/ will still attempt to remove the \woo/.
+
+ \subsection{Enabling}
+
+ \Lwc/ is enabled as soon as the package is loaded. If you have previously
+ disabled it, you will need to re-enable it to save new paragraphs.
+
+ \begin{tabular}{rl}
+ \plainop/ &
+ \cs{lwcenable} \\
+ \LaTeX{} &
+ \cs{lwcsetup\{enable\}} \\
+ \ConTeXt{} &
+ \cs{setuplwc[state=start]} \\
+ \end{tabular}
+
+ \subsection{Automatically disabling}
+
+ You may want to disable \lwc/ for certain commands where
+ stretching is undesirable such as section headings. Of course, manually
+ disabling and
+ then enabling \lwc/ multiple times
+ throughout a document would quickly become tedious, so \lwc/ provides
+ some options to do this automatically for you.
+
+ \Lwc/ automatically patches the default \LaTeX{}, \ConTeXt{},
+ Plain \TeX{}, \OpTeX{}, \textsf{\mbox{memoir}},
+ \textsf{KOMA-Script}, and \textsf{titlesec} section commands, so you don't
+ need to patch these. Any others, though, you'll need to patch yourself.
+
+ \begin{tabular}{rl}
+ \plainop/ & \cs{lwcdisablecmd\{\meta{\texttt{\char`\\}macro}\}} \\[4pt]
+ \LaTeX{} & \cs{lwcsetup\{disablecmds=\{\texttt{\meta{csnameone},%
+ \meta{csnametwo}\}\}}} \\[4pt]
+ \ConTeXt{} &
+ \cs{prependtoks\textbackslash{}lwc@patch@pre}\cs{to\textbackslash{}everybefore\meta{hook}} \\
+ & \cs{prependtoks\textbackslash{}lwc@patch@post}\cs{to\textbackslash{}everyafter\meta{hook}} \\
+ \end{tabular}
+
+ \subsection{\estretch/}
+
+ \Lwc/ defaults to an \estretch/ value of 3~em for stretched paragraphs,
+ but you can configure this.
+
+ \Lwc/ will only use the \estretch/ when it cannot extend a paragraph in
+ any other way, so it is fairly safe to set this to a large value. \TeX{}
+ accumulates badness when \estretch/ is used~\cite{Knuth:TB10-3-325}, so
+ it's pretty rare that a paragraph that requires any \estretch/ will
+ actually be used on the page.
+
+ \begin{tabular}{rr@=l}
+ \plainop/ & \cs{lwcemergencystretch} & \meta{dimension} \\
+ \LaTeX{} &
+ \cs{lwcsetup\{emergencystretch} & \meta{dimension}\texttt{\}} \\
+ \ConTeXt{} &
+ \cs{setuplwc[emergencystretch} & \meta{dimension}\texttt{]} \\
+ \end{tabular}
+
+ \subsection{Penalties}
+
+ You can also manually adjust the penalties that \TeX{} assigns to \waos/.
+ Usually, the defaults are fine, but there are a few circumstances where you
+ may want to change them.
+
+ \begin{longtable}{rr@{\texttt{=\meta{integer}}}l}
+ \plainop/ & \cs{widowpenalty} \\*
+ & \cs{clubpenalty} \\*
+ & \cs{brokenpenalty} \\[4pt]
+ \LaTeX{} &
+ \cs{lwcsetup\{ widowpenalty} & \texttt{\}} \\*
+ & \cs{lwcsetup\{orphanpenalty} & \texttt{\}} \\*
+ & \cs{lwcsetup\{brokenpenalty} & \texttt{\}} \\[4pt]
+ \leavevmode\hbox{\ConTeXt{}} &
+ \cs{setuplwc[ widowpenalty} & \texttt{]} \\*
+ & \cs{setuplwc[orphanpenalty} & \texttt{]} \\*
+ & \cs{setuplwc[brokenpenalty} & \texttt{]} \\
+ \end{longtable}
+
+ The value of these penalties determines how much \TeX{} should attempt to
+ stretch glue before passing the \woo/ to \lwc/. If you set the values to~1
+ (default), \TeX{} will stretch nothing and immediately trigger \lwc/; if you
+ set the values to 10\,000, \TeX{} will stretch infinitely and \lwc/ will
+ never be triggered. If you set the value to some intermediate number, \TeX{}
+ will first attempt to stretch some glue to remove the \woo/; only if it
+ fails will \lwc/ come in and lengthen a paragraph. As a special case, if you
+ set the values to~0, both \TeX{} and \lwc/ will completely ignore the \woo/.
+
+ \Lwc/ will pick up on the values of \cs{widowpenalty}, \cs{clubpenalty}, and
+ \cs{brokenpenalty} regardless of how you set them, so the use of these
+ dedicated keys is entirely optional.
+
+ \subsection{\cs{nobreak} behaviour}
+
+ When \lwc/ encounters an orphan, it removes it by moving the orphaned line
+ to the next page. The majority of the time, this is an appropriate solution.
+ However, if the orphan is immediately preceded by a section heading (or
+ \cs{nobreak}\slash\cs{penalty 10000}), \lwc/ would na\"ively separate a
+ section heading from the paragraph that follows. This is almost always
+ undesirable, so \lwc/ provides some options to configure this.
+
+ \begin{tabular}{rl}
+ \plainop/ &
+ \cs{lwcnobreak\{\meta{value}\}} \\
+ \LaTeX{} &
+ \cs{lwcsetup\{nobreak=\meta{value}\}\hphantom{"}} \\
+ \ConTeXt{} &
+ \cs{setuplwc[nobreak=\meta{value}]\hphantom{"}} \\
+ \end{tabular}
+
+ The default value, \texttt{keep}, \emph{keep}s the section heading with
+ the orphan by moving both to the next page. The advantage to this option
+ is that it removes the orphan and retains any \cs{nobreak}s; the
+ disadvantage is that moving the section heading can create a large blank
+ space at the end of the page.
+ The value \texttt{split} \emph{split}s up the section heading and the
+ orphan by moving the orphan to the next page while leaving the heading
+ behind. This is usually a bad idea, but exists for the sake of
+ flexibility.
+ The value \texttt{warn} causes \lwc/ to give up on the page and do nothing,
+ leaving an orphaned line. \Lwc/ \emph{warn}s the user so that they can
+ manually remove the orphan.
+
+ See Figure~\ref{tab:nobreak} for a visual reference.
+
+ \begin{figure}
+ \renewcommand{\arraystretch}{1}
+ \renewcommand{\doublerulesep}{0.5em}
+ \begin{tabularx}{\linewidth}{%
+ |X|@{\hskip\doublerulesep}|X|@{\hskip\doublerulesep}|X|%
+ }
+ \multicolumn1c{\ttfamily keep} &
+ \multicolumn1c{\ttfamily split} &
+ \multicolumn1c{\ttfamily warn}
+ \\ \hhline{-||-||-}
+ &
+ &
+ \textbf{Heading} \\
+ &
+ \textbf{Heading} &
+ The\hfill very\hfill first\hfill line
+ \\ \hhline{-||-||-}
+ \textbf{Heading} &
+ The\hfill very\hfill first\hfill line &
+ text\hfill text\hfill text\hfill text \\
+ The\hfill very\hfill first\hfill line &
+ text\hfill text\hfill text\hfill text &
+ last line. \\
+ text\hfill text\hfill text\hfill text &
+ last line. &
+ % Nothing
+ \\ \hhline{-||-||-}
+ \end{tabularx}
+ \caption{A visual comparison of the \texttt{nobreak} option values.}
+ \label{tab:nobreak}
+ \end{figure}
+
+ \subsection{Maximum cost}
+
+ \Lwc/ ranks each paragraph on the page by how much it would \q{cost} to
+ lengthen that paragraph. By default, \lwc/ selects the paragraph on
+ the page with the lowest cost; however, you can configure it to only
+ select paragraphs below a selected cost.
+
+ If there aren't any paragraphs below the set threshold, then \lwc/ won't
+ remove the \woo/ and will instead issue a warning.
+
+ \begin{tabular}{rr@{\texttt{=\meta{integer}}}l}
+ \plainop/ &
+ \cs{lwcmaxcost} \\
+ \LaTeX{} &
+ \cs{lwcsetup\{max-cost} & \texttt{\}} \\
+ \leavevmode\hbox{\ConTeXt{}} &
+ \cs{setuplwc[maxcost} & \texttt{]} \\
+ \end{tabular}
+
+ Based on my testing, \texttt{max-cost} values less than 1\,000 cause
+ completely imperceptible changes in interword spacing; values less than
+ 5\,000 are only noticeable if you are specifically trying to pick out the
+ expanded paragraph on the page; values less than 15\,000 are typically
+ acceptable; and larger values may become distracting. \Lwc/ defaults to an
+ infinite \texttt{max-cost}, although the \q{strict} and \q{balanced} modes
+ sets the values to~5\,000 and 10\,000, respectively.
+
+ \subsection{Draft mode}
+
+ \Lwc/ has a \q{draft mode} which shows how \lwc/ processes pages.
+
+ \begin{tabular}{rl}
+ Plain \TeX{}\slash\OpTeX{} &
+ \cs{lwcdraft 1} \\
+ \LaTeX{} &
+ \cs{lwcsetup\{draft\}} \\
+ \ConTeXt{} &
+ \cs{setuplwc[draft=start]} \\
+ \end{tabular}
+
+ The draft mode has two main features:
+
+ First, it colours lines in the document according to their status. Any
+ remaining widows and orphans will be coloured red, any expanded paragraphs
+ will be coloured green, and any lines moved to the next page will be
+ coloured blue.
+
+ Second, this draft mode shows the paragraph costs at the end of each
+ paragraph, in the margin.
+
+ This draft mode leads to a neat trick: if you don't quite trust \lwc/, or
+ you're writing a document whose final version will need to be compilable by
+ both pdf\LaTeX{} and Lua\LaTeX, you can load the package with:
+
+ \smallskip
+ \cs{usepackage[draft, disable]\{lua-widow-control\}}
+ \smallskip
+
+ \noindent This way, all the widows and orphans will be coloured red and
+ listed in your log file. When you go through the document to try and
+ manually remove the widows and orphans---whether through the \cs{looseness}
+ trick or by rewriting certain lines---you can easily find the best
+ paragraphs to modify by looking at the paragraph costs in the margins. If
+ you're less cautious, you can compile your document with
+ \textsf{lua-widow-control} enabled as normal and inspect all the green
+ paragraphs to see if they look acceptable to you.
+
+ You can also toggle the paragraph colouring and the cost displays
+ individually:
+
+ \begin{tabular}{rl}
+ \plainop/ &
+ \cs{lwcshowcosts 1} \\
+ & \cs{lwcshowcolours 0} \\[4pt]
+ \LaTeX{} &
+ \cs{lwcsetup\{showcosts=true\}} \\
+ & \cs{lwcsetup\{showcolours=false\}} \\[4pt]
+ \ConTeXt{} &
+ \cs{setuplwc[showcosts=start]} \\
+ & \cs{setuplwc[showcolours=stop]} \\
+ \end{tabular}
+
+ \section{Presets}
+
+ As you can see, \lwc/ provides quite a few options. Luckily, there are a few
+ presets that you can use to set multiple options at once. These presets are
+ a good starting point for most documents, and you can always manually
+ override individual options.
+
+ These presets are only available for \LaTeX{} and \ConTeXt{}.
+
+ \begin{tabular}{@{}rl@{}}
+ \LaTeX{} &
+ \cs{lwcsetup\{\meta{preset}\}} \\
+ \ConTeXt{} &
+ \cs{setuplwc[\meta{preset}]} \\
+ \end{tabular}
+
+ \subsection{\texttt{default}}
+
+ If you use \lwc/ without any options, it defaults to this preset. In default
+ mode, \lwc/ takes all possible measures to remove \waos/ and will not
+ attempt to stretch any vertical glue. This usually
+ removes~$\mathord{>}\,95\%$ of all
+ possible \waos/. The catch here is that this mode is quite aggressive, so
+ it often leaves behind some fairly \q{spacey} paragraphs.
+
+ This mode is good if you want to remove (nearly) all \waos/ from your
+ document, without fine-tuning the results.
+
+ \subsection{\texttt{strict}}
+
+ \Lwc/ also offers a strict mode. This greatly restricts \lwc/'s tolerance
+ and makes it so that it will only lengthen paragraphs where the change will
+ be imperceptible.
+
+ The caveat with strict mode is that---depending on the document---\lwc/ will
+ be able to remove less than a third of the \waos/. For the \waos/ that can't
+ be automatically removed, a warning will be printed to your terminal and log
+ file so that a human can manually fix the situation.
+
+ This mode is good if you want the best possible typesetting and are willing
+ to do some manual editing.
+
+ \subsection{\texttt{balanced}}
+
+ Balanced mode sits somewhere between default mode and strict mode. This mode
+ first lets \TeX{} stretch a little glue to remove the \woo/; only if that
+ fails will it then trigger \lwc/. Even then, the maximum paragraph cost is
+ capped. Here, \lwc/ can usually remove 90\% of a document's
+ potential \waos/, and it does so while making a minimal visual impact.
+ \oldlooseness=-1
+
+ This mode is recommended for most users who care about their document's
+ typography. This mode is not the default since it doesn't remove all
+ \waos/: it
+ still requires a little manual intervention.
+
+ \begin{table}
+ \caption{\Lwc/ options set by each mode.}\label{tab:modes}
+ \ttfamily\setlength{\tabcolsep}{4pt}
+ \begin{tabular}{l*3r}\toprule
+ \textrm{Option} & default & balanced & strict \\ \midrule
+ max-cost & $\infty$ & 10000 & 5000 \\
+ \rlap{emergencystretch} & 3em & 1em & 0pt \\
+ nobreak & keep & keep & warn \\
+ widowpenalty & 1 & 500 & 1 \\
+ orphanpenalty & 1 & 500 & 1 \\
+ brokenpenalty & 1 & 500 & 1 \\
+ \bottomrule\end{tabular}
+ \end{table}
+
+ \section{Compatibility}
+
+ The \lwc/ implementation is almost entirely in Lua, with only a minimal
+ \TeX{} footprint. It doesn't modify the output routine or \cs{everypar} and
+ it doesn't insert any whatsits. This means that it should be compatible with
+ nearly any \TeX{} package, class, and format. Most changes that \lwc/ makes
+ are not observable on the \TeX{} side.
+
+ However, on the Lua side, \lwc/ modifies much of a page's internal
+ structure. This should not affect any \TeX{} code; however, it may surprise
+ Lua code that modifies or depends on the page's low-level structure. This
+ does not affect Plain~\TeX{} or \LaTeX{} where even most Lua-based packages
+ don't depend on the node list structure. \ConTeXt{} \emph{does} depend on
+ this internal node structure; however, I have carefully tested the package
+ to ensure that this causes no issues.
+
+ Finally, keep in mind that adding \lwc/ to a document will almost certainly
+ change its page break locations.
+
+ \subsection{Formats}
+
+ \Lwc/ runs on all known Lua\TeX{}-based formats: Plain~Lua\TeX{},
+ Lua\LaTeX{}, \ConTeXt{} Mk\acro{IV}, and~\OpTeX{}. Unless otherwise
+ documented, all features should work equally well in all formats.
+
+ \Lwc/ is also fully-compatible with the \LuaMeta\TeX{}-based formats:
+ \ConTeXt{} Mk\acro{XL}\slash\acro{LMTX}, \LuaMeta\LaTeX{}, and
+ \LuaMeta{}Plain~\cite{luametalatex}. \ConTeXt{} Mk\acro{XL} works equally
+ well as \ConTeXt{} Mk\acro{IV} and Lua\LaTeX{}; however, \LuaMeta\LaTeX{}
+ and \LuaMeta{}Plain support is still quite early. All features should work,
+ although there are still a few minor bugs.
+
+ All told, \lwc/ supports 7 different format\slash{}engine combinations.
+
+ \subsection{Columns}
+
+ Since \TeX{} and the formats implement column breaking and page
+ breaking through the
+ same internal mechanisms, \lwc/ removes \waos/ between columns just
+ as it does with \waos/ between pages.
+
+ \Lwc/ is known to work with the \LaTeX{} class option \verb|twocolumn|
+ and the two-column output routine from Chapter~23 of \titlecite{texbook}.
+ \oldlooseness=-1
+
+ \subsection{Performance}
+
+ \Lwc/ runs entirely in a single pass, without depending on any
+ \verb|.aux| files or the like. Thus, it shouldn't meaningfully
+ increase compile times. Although \lwc/ internally breaks each paragraph
+ twice, modern computers break paragraphs near-instantaneously, so you
+ are not likely to notice any slowdown.
+
+ \Lwc/ has been carefully tested to ensure that there are no memory leaks, so
+ \lwc/ can now easily compile documents $>10\,000$ pages long.
+
+ \vspace*{-1pt}
+
+ \subsection{\eTeX{} penalties}
+
+ Knuth's original \TeX{} has three basic line penalties:
+ \cs{interlinepenalty}, which
+ is inserted between all lines; \cs{club\-penalty}, which is inserted after
+ the first line; and \cs{widow\-penalty}, which is inserted before the last
+ line. The \eTeX{} extensions~\cite{etex} generalize these commands with a
+ syntax similar to \cs{parshape}: with \cs{widow\-penalties} you can set the
+ penalty between the last, second last, and $n$th last lines of a paragraph;
+ \cs{inter\-line\-penalties} and \cs{club\-penalties} behave similarly.
+
+ The \lwc/ package makes no explicit attempts to support these new
+ -\texttt{penalties} commands. Specifically, if you give a line a penalty
+ that matches either \cs{widowpenalty} or \cs{clubpenalty}, \lwc/ will treat
+ the lines exactly as it would a \woo/. So while these commands won't break
+ \lwc/, they are likely to lead to some unexpected behaviour.
+
+ \vspace*{-3pt}
+
+ \section{Short last lines}
+
+ \vspace*{-1pt}
+
+ When lengthening a paragraph with \lsness/, it is common advice to insert
+ ties (\verb|~|) between the last few words of the paragraph to avoid
+ overly-short last lines \cite{texbook}. \Lwc/ does this automatically,
+ but instead of using ties or \cs{hbox}es, it uses the
+ \cs{par\allowbreak fill\allowbreak skip}
+ parameter~\cite{texbook, Wermuth:2018:ECP, naruby}. When lengthening a paragraph
+ (and only when lengthening a paragraph---remember, \lwc/ doesn't
+ interfere with \TeX{}'s output unless it detects a \woo/), \lwc/ sets
+ \cs{parfillskip} to \verb|0.75\hsize plus 0.05\hsize minus 0.75\hsize|.
+ This normally makes the last line of a paragraph be at least
+ 20\% of the overall paragraph's width, thus preventing
+ ultra-short~lines.
+
+ \vspace*{-3pt}
+
+ \section{How it works}
+
+ \vspace*{-1pt}
+
+ \Lwc/ uses a fairly simple algorithm to eliminate \waos/, but there
+ are a few subtleties.
+
+ \vspace*{-1pt}
+
+ \subsection{Setup}
+
+ \Lwc/ sets the \cs{club\-penalty}, \cs{widow\-penalty}, and
+ \cs{broken\-penalty} parameters to sentinel values of~1. This will signal
+ to \lwc/ when a \woo/ occurs, yet it is small enough that it won't stretch
+ any glue.
+
+ \Lwc/ also enables Lua\TeX{}'s micro\-typographic
+ extensions~\cite{thanh}. This isn't strictly necessary;
+ however, it significantly increases the number of paragraphs that can
+ be acceptably \q{loosened}.
+
+ That is all that happens on the \TeX{} end. The rest of \lwc/ is pure Lua.
+
+ \subsection{Paragraph breaking}
+
+ First, \lwc/ hooks into the paragraph breaking process, before any output
+ routines or page breaking.
+
+ Before a paragraph is broken by \TeX{}, \lwc/ grabs the unbroken
+ paragraph. Then \lwc/ breaks the paragraph one line longer than its natural
+ length and stores it for later. It does this in the background,
+ \emph{without} interfering with how \TeX{} breaks paragraphs into their
+ natural length.
+
+ After \TeX{} has broken its paragraph into its natural length, \lwc/
+ appears again. Before the broken paragraph is added to the main
+ vertical list, \lwc/ \q{tags} the first and last nodes of the paragraph
+ using a Lua\TeX{} attribute. These attributes associate the
+ previously-saved lengthened paragraph with the naturally-typeset
+ paragraph on the page.
+
+ \subsection{Page breaking}
+
+ \Lwc/ intercepts \cs{box255} (the \cs{vbox} output by \TeX) immediately
+ before the output routine runs,
+ after all the paragraphs have been typeset.
+
+ First, \lwc/ looks at the \openalty/ of the page or column. If the page
+ was broken at a \woo/, the \openalty/ will be equal to either
+ the \cs{widowpenalty} or the \cs{clubpenalty}. If the \openalty/ does not
+ indicate a \woo/, \lwc/ will stop and return \cs{box255} unmodified to
+ the output~routine, and \TeX{} continues as normal.
+
+ Otherwise, we assume that we have a \woo/ on the page,
+ meaning that we should lengthen the page by 1~line. We iterate through
+ the list of saved paragraphs to find the lengthened paragraph with the
+ least cost. After we've selected a good paragraph, we traverse
+ through the page to find the original version of this paragraph---the
+ one that unmodified \TeX{} originally typeset. Having found the original
+ paragraph, we splice in the lengthened paragraph in place of the original.
+ \oldlooseness=-1
+
+ Since the page is now 1~line longer than it was before, we pull the last
+ line off the page to bring it back to its original length, and place
+ that line onto the top of \TeX's \q{recent contributions} list. When
+ the next page begins, this line will be inserted before all other
+ paragraphs, right at the top. Now, we can return the new, widow-free page
+ (updated \cs{box255}) to the output routine, which proceeds
+ as normal.
+
+ \subsection{Footnotes}
+ Earlier versions of \textsf{lua-widow-control} completely ignored inserts.
+ This meant that if a moved line had associated footnotes,
+ \textsf{lua-widow-control} would move the \q{footnote mark} but not the
+ associated \q{footnote text}. \textsf{lua-widow-control} now handles
+ footnotes correctly through the mechanism detailed in the next section.
+
+ \subsubsection{Inserts}
+
+ Before we go into the details of how \textsf{lua-widow-control} handles
+ footnotes, we need to look at what footnotes actually are to \TeX{}. Every
+ \cs{footnote} command ultimately expands to something like
+ \cs{insert\meta{class}}\allowbreak\verb|{|\meta{content}\verb|}|, where
+ \meta{class} is an insertion class number, defined as \cs{footins} in this
+ case (in Plain \TeX\ and \LaTeX). Inserts can be found in horizontal mode
+ (footnotes) or in vertical mode (\cs{topins} in Plain \TeX{} and floats in
+ \LaTeX{}), but they cannot be inside boxes. Each of these insert types is
+ assigned a different class number, but the mechanism is otherwise identical.
+ \textsf{lua-widow-control} treats all inserts identically, although it
+ safely ignores vertical mode inserts since they are only ever found between
+ paragraphs.
+
+ But what does \cs{insert} do exactly? When \TeX{} sees an \cs{insert}
+ primitive in horizontal mode (when typesetting a paragraph), it does two
+ things: first, it processes the insert's content and saves it invisibly just
+ below the current line. Second, it effectively adds the insert content's
+ height to the height of the material on the current page. Also, for the
+ first insert on a page, the glue in \cs{skip}\meta{class} is added to the
+ current height. All this is done to ensure that there is sufficient room for
+ the insert on the page whenever the line is output onto the page.
+
+ If there is absolutely no way to make the insert fit on the page---say,
+ if you placed an entire paragraph in a footnote on the last line of a
+ page---then \TeX{} will begrudgingly \q{split} the insert, placing the first
+ part on the current page and \q{holding over} the second part until the next
+ page.
+
+ There are some other \TeX{}nicalities involving \cs{count}\meta{class} and
+ \cs{dimen}\meta{class}, but they mostly don't affect
+ \textsf{lua-widow-control}. See Chapter~15 in \textsl{The \TeX{}book} or another reference for
+ all the details.
+
+ After \TeX{} has chosen the breakpoints for a paragraph, it adds the chosen
+ lines one by one to the current page. Whenever the accumulated page height
+ is \q{close enough} to the target page height (normally \cs{vsize}) the
+ \cs{output} token list (often called the ``output routine'') is expanded.
+
+ But before \cs{output} is called, \TeX{} goes through the page contents and
+ moves the contents of any saved inserts into \cs{vbox}es corresponding to
+ the inserts' classes, namely \cs{box}\meta{class}, so \cs{output} can work
+ with them.
+
+ And that's pretty much it on the engine side. Actually placing the inserts
+ on the page is reserved for the output routine, which is defined by the
+ format. This too is a complicated process, although thankfully not one that
+ \textsf{lua-widow-control} needs to worry about.
+
+ \subsubsection{\LuaMeta\TeX{}}
+
+ The \LuaMeta\TeX{} engine treats inserts slightly differently than
+ traditional \TeX{} engines. The first major difference is that insertions
+ have dedicated registers; so instead of \cs{box}\meta{class}, \LuaMeta\TeX{}
+ has \cs{insertbox}\meta{class}; instead of \cs{count}\meta{class},
+ \LuaMeta\TeX{} has \cs{insertmultiplier}\meta{class}; etc. The second major
+ difference is that \LuaMeta\TeX{} will pick up inserts that are inside of
+ boxes, meaning that placing footnotes in things like tables or frames should
+ mostly just work as expected.
+
+ There are also a few new parameters and other minor changes, but the overall
+ mechanism is still quite similar to traditional \TeX{}.
+
+ \subsubsection{Paragraph breaking}
+
+ As stated in the original article~\cite{tb133chernoff-widows},
+ \textsf{lua-widow-control} intercepts \TeX{}'s output immediately before
+ the output routine. However, this is \emph{after} all the inserts on the
+ page have been processed and boxed. This is a bit of a problem because if
+ we move a line to the next page, we need to move the associated insert;
+ however, the insert is already gone.
+
+ To solve this problem, immediately after \TeX{} has naturally broken a
+ paragraph, \textsf{lua-widow-control} copies and stores all its inserts.
+ Then, \textsf{lua-widow-control} tags the first element of each line
+ (usually a glyph) with a Lua\TeX{} attribute that contains the indices for
+ the first and last associated insert. \textsf{lua-widow-control} also tags
+ each line inside the insert's content with its corresponding index so that
+ it can be found later.
+
+ \subsubsection{Page breaking}
+
+ Here, we follow the same algorithm as in the original
+ article~\cite{tb133chernoff-widows}. However, when we move the last line of
+ the page to the next page, we first need to inspect the line to see if any
+ of its contents have been marked with an insert index. If so, we need to
+ move the corresponding insert to the next page. To do so, we unpack the
+ attributes value to get all the inserts associated with this line.
+
+ Using the stored insert indices and class, we can iterate through
+ \cs{box}\meta{class} and delete any lines that match one of the current
+ line's indices. We also need to iterate through the internal \TeX{} box
+ \verb|hold_head|---the box that holds any inserts split onto the next
+ page---and delete any matching lines. We can safely delete any of these
+ lines since they are still stored in the original \cs{insert} nodes that we
+ copied earlier.
+
+ Now, we can retrieve all of our previously-stored inserts and add them to
+ the next page, immediately after the moved line. Then, when \TeX{} builds
+ that page, it will find these inserts and move their contents to the
+ appropriate boxes
+
+ \section{Choosing the \q{best} paragraph}
+
+ As we discussed previously, \lwc/ lengthens the paragraph with the lowest
+ cost. However, assigning a cost to each paragraph is not quite as simple as
+ it sounds. Before we look at how \lwc/ assigns costs, let's look at how
+ \TeX{} scores paragraphs when breaking them naturally.
+
+ \subsection{How \TeX{} scores paragraphs}
+
+ All glue in \TeX{} has a certain natural size: the size that it would be
+ in an ideal scenario. However, most glue also has stretch and shrink
+ components so that the glue can change in size to adapt to its
+ surroundings. For each line, \TeX{} individually sums the total
+ stretch/shrink for the line and the stretch/shrink that was actually used.
+ We define the stretch/shrink ratio~$r$ as the quotient of the
+ stretch/shrink used and the stretch/shrink available. Then the badness~$b$
+ of a line is approximately defined as
+ \begin{equation*}
+ b = 100r^3.
+ \end{equation*}
+ This is the badness referenced in the commonly-seen
+ \texttt{Underfull \cs{hbox}
+ (badness 1234)} warnings that \TeX{} produces.
+
+ \TeX{} calculates the badness for each line individually; however, we also
+ need to assess the paragraph as a whole. To do so, \TeX{} defines the
+ demerits for a whole paragraph~$d$ as approximately\footnotemark{} the sum
+ of the squared badnesses for each line. The natural paragraph that \TeX{}
+ breaks is the one that minimizes~$d$.
+
+ \footnotetext{We ignore any additional demerits or penalties that
+ \TeX{} may add.}
+
+ One important thing to realize is that demerits grow incredibly fast:
+ demerits are proportional to the \emph{sixth} power of glue stretch. This
+ means that you can expect to see extremely large demerit values, even for
+ a relatively \q{good} paragraph.
+
+ \subsection{Possible cost functions}
+
+ Now, let's return to how \lwc/ assigns costs to each paragraph. This is
+ surprisingly more complicated than it sounds, so we'll go through a few
+ possible cost functions first.
+
+ Here, we use $c$~for the cost of a paragraph, $d$~for the total demerits,
+ and $l$~for the number of lines (\cs{prevgraf}).
+
+ \subsubsection{The original implementation}
+
+ The original implementation of \lwc/ used the simple cost function
+ \begin{equation*}
+ c = d.
+ \end{equation*}
+ This cost function works reasonably well, but has one major issue: it
+ doesn't take into account the number of lines in the paragraph. The demerits
+ for a paragraph is the sum of the demerits for each line. This means this
+ cost function will prefer using shorter paragraphs since they tend to have
+ fewer demerits. However, long paragraphs tend to have much more available
+ glue stretch, so this strategy can lead to suboptimal solutions.
+
+ \subsubsection{Scaling by the number of lines}
+
+ Once I realized this issue, I tried correcting it by dividing by the number
+ of lines in the paragraph to get the average demerits instead of the total
+ demerits:
+ \begin{equation*}
+ c = \frac{d}{l}
+ \end{equation*}
+ This works better than the previous function, but still has an issue.
+ If we have a fairly bad ten-line paragraph with total demerits $10d$ and an
+ almost-equally bad two-line paragraph with total demerits $2d + 1$, then by
+ this cost function, the ten-line paragraph will have a lower cost and will
+ be chosen. This means that our page now has ten bad lines instead of two bad
+ lines, which is not ideal.
+
+ \subsubsection{Current implementation}
+
+ Our first cost function, $c=dl^0$, doesn't consider the number of lines at
+ all, while our second cost function, $c=dl^{-1}$, considers the number of
+ lines too much. Splitting the difference between the two functions, we get
+ the current implementation:
+ \begin{equation*}
+ c = \frac{d}{\sqrt{l}}
+ \end{equation*}
+
+ This solves the issue with the previous function, but it adds a new issue: given a
+ short paragraph with a large number of demerits per line and a long
+ paragraph with fairly few average demerits per line, this function will often
+ choose the shorter line. Although this sounds bad, in practice it gives much
+ better results since very bad short paragraphs are \emph{much} less noticeable than
+ slightly bad long paragraphs.
+
+ Of course, this new function may still not be quite perfect. \Lwc/ uses the
+ \texttt{lwc.paragraph\_cost(demerits, lines)} Lua function to calculate a
+ paragraph's cost; if you want, you can redefine this function to anything
+ that you want.
+ \oldlooseness=-1
+
+ % I didn't arrive at this function through any sort of scientific testing;
+ % rather, I picked the simplest function that I could think of that satisfies
+ % the following two properties:
+ % \begin{itemize}
+ % \item Given a long paragraph and a short paragraph with different
+ % average badnesses per line, prefer the one with the least average
+ % badness.
+ % \item Given two paragraphs with equal average badnesses per line,
+ % prefer the shorter one.
+ % \end{itemize}
+
+ \vspace*{-3pt}
+
+ \section{Quantitative analysis}
+
+ \vspace*{-1pt}
+
+ \begin{figure}
+ \begin{tikzpicture}\begin{axis}[
+ ybar interval,
+ xticklabels={1, ..., 15,
+ {$\,\ge\! 16$}},
+ x tick label style={font=\small},
+ y tick label style={font=\small},
+ enlarge y limits=upper,
+ enlarge x limits={abs=1},
+ grid=none,
+ scaled y ticks=base 10:-3,
+ ytick scale label code/.code={},
+ xlabel={Paragraph length (lines)},
+ ylabel={Count (thousands)}
+ ]
+ \addplot+ [
+ draw=black,
+ fill=black!10,
+ semithick,
+ ] table {
+ Length Count
+ 1 4429
+ 2 3704
+ 3 2045
+ 4 1320
+ 5 894
+ 6 717
+ 7 498
+ 8 406
+ 9 379
+ 10 251
+ 11 175
+ 12 152
+ 13 111
+ 14 95
+ 15 79
+ 16 437
+ 18 0
+ };
+
+ \filldraw [fill=black!25, draw=black] (16, 0) rectangle (18, 437);
+ \end{axis}\end{tikzpicture}
+ \caption{Histogram of natural paragraph lengths in the sample text.}
+ \label{fig:hist}
+ \end{figure}
+
+ Let's look at some statistics for \lwc/. For testing, I
+ downloaded the top~ten books on \textsl{Project Gutenberg},\footnotemark{}
+ converted them to \LaTeX{} using \textsf{pandoc}, concatenated them into a
+ single \textsf{article} file, and compiled twice. This gives us a \acro{PDF}
+ with 1\,381~pages, 15\,692~paragraphs, 61\,865~lines, and 399~\waos/
+ (if they aren't removed).
+ \footnotetext{\textsl{Frankenstein},
+ \textsl{Pride and Prejudice},
+ \textsl{Alice's Adventures in Wonderland},
+ \textsl{The Great Gatsby},
+ \textsl{The Adventures of Sherlock Holmes},
+ \textsl{Simple Sabotage Field Manual},
+ \textsl{A Tale of Two Cities},
+ \textsl{The Picture of Dorian Gray},
+ \textsl{Moby Dick},
+ and \textsl{A Doll's House}.
+ }
+
+ This is a fairly challenging test: almost every third page has a \woo/, over
+ half of the paragraphs have two lines or fewer, and the text block is set to
+ the fairly wide \textsf{article} defaults. An average document is
+ much less challenging for \lwc/, so we can consider this to be a
+ worst-case scenario.
+
+ \vspace*{-1pt}
+
+ \subsection{Widows and orphans removed}
+
+ \begin{figure}
+ \begin{tikzpicture}\begin{axis}[
+ ybar=0pt,
+ bar width=0.8,
+ xtick=data,
+ ylabel={Widows and orphans removed},
+ xticklabels={
+ \shortstack[c]{\hfill Maximum\\\hfill possible},
+ \textsf{lwc} \texttt{default},
+ \texttt{balanced},
+ \LaTeX{},
+ \texttt{strict},
+ },
+ x tick label style={
+ font=\small,
+ rotate=45,
+ anchor=east,
+ },
+ enlarge x limits=0.2,
+ ]
+ \addplot+ [
+ draw=black,
+ fill=black!10,
+ semithick,
+ ] table [x expr=\coordindex, y index=0] {
+ 399
+ 392
+ 348
+ 179
+ 52
+ };
+
+ \filldraw [fill=black!25, draw=black]
+ (-0.4, 0) rectangle (0.4, 399);
+ \end{axis}\end{tikzpicture}
+ \divide\abovecaptionskip by 2
+ \caption{The number of \waos/ removed by each method.}\label{fig:modes}
+ \end{figure}
+
+ When we run \LaTeX{} with its default settings on the file, 179~(47\%) of
+ the \waos/ are removed. When we add \lwc/ with default settings, we remove
+ 392~(98\%). Switching to strict mode, we can only remove 52~(13\%) of the
+ \waos/. In balanced mode, we remove 348~(87\%). See Figure~\ref{fig:modes}
+ for a visual comparison.
+
+ \subsection{Paragraph costs}
+
+ \begin{figure}
+ \begin{tikzpicture}\begin{axis}[
+ xlabel={Percentile},
+ ylabel={Cost},
+ ymode=log,
+ legend entries={Long, Natural},
+ legend pos=north west,
+ cycle list={
+ {black, thick},
+ {black!35, thick},
+ },
+ ]
+ \addplot+ table [x=Percentile, y=Long] {\plotdata};
+ \addplot+ table [x=Percentile, y=Natural] {\plotdata};
+
+ \end{axis}\end{tikzpicture}
+ \divide\abovecaptionskip by 2
+ \caption{Paragraph costs by percentile rank for naturally-broken and
+ one-line lengthened paragraphs.}\label{fig:costs}
+ \end{figure}
+
+ The last section showed us that \lwc/ is quite effective at removing \waos/,
+ so now let's look at the paragraphs that \lwc/ expands. As \TeX{}
+ processes a document, \lwc/ is recording the costs for the naturally-broken
+ and expanded versions of each paragraph in the document. Costs don't
+ mean that much on their own, but a lower cost is always better.
+
+ As you can see in Figure~\ref{fig:costs}, the
+ lengthened paragraphs tend to have \emph{much} higher costs than the
+ naturally-broken paragraphs. This is not surprising, since (as we've seen)
+ a paragraph's demerits scale with the sixth power of glue stretch, so even
+ a small amount of glue stretch can cause a huge increase in demerits.
+
+ The empty space on the left of the \q{long} line is from the paragraphs
+ that \lwc/ was unable to lengthen at any cost. Lua\TeX{} assigns these
+ paragraphs zero~demerits, so they disappear on a logarithmic plot.
+
+ \subsection{Lengthening vs.\ shortening paragraphs}
+ \begin{figure}[t]
+ \begin{tikzpicture}\begin{axis}[
+ xbar stacked,
+ height=0.15\linewidth,
+ width=\dimexpr\linewidth-1em,
+ scale only axis,
+ bar width=1,
+ enlargelimits=false,
+ xmin=0,
+ ymin=-0.5,
+ ymax=1,
+ ymajorticks=false,
+ xtick style={draw=none},
+ xlabel={Paragraphs (thousands)},
+ scaled x ticks=base 10:-3,
+ xtick scale label code/.code={},
+ legend style={at={(0.5,1)}, anchor=north},
+ legend columns=5,
+ legend cell align=left,
+ legend style={
+ /tikz/every even column/.append style={column sep=1em},
+ draw=none,
+ fill=none,
+ },
+ legend entries={
+ {$n=1$},
+ {$n$},
+ {$n+1$},
+ {$n\pm1$},
+ {$n-1$}
+ },
+ ]
+ \addplot [fill=black!10 ] coordinates {(4429, 0)}; % One
+ \addplot [fill=white ] coordinates {(4474, 0)}; % None
+ \addplot [pattern=north east lines] coordinates {(5457, 0)}; % Long
+ \addplot [pattern=crosshatch ] coordinates {( 482, 0)}; % Both
+ \addplot [pattern=north west lines] coordinates {( 850, 0)}; % Short
+ \end{axis}\end{tikzpicture}
+ \divide\abovecaptionskip by 2
+ \caption{The number of paragraphs in the test sample that
+ (respectively) have exactly
+ one line, cannot be stretched or shrunk, can be only stretched
+ by one~line, can be either stretched or shrunk, and can be
+ only shrunk.}
+ \label{fig:stretchshrink}
+ \end{figure}
+
+ Figure~\ref{fig:stretchshrink} shows the number of paragraphs that \lwc/
+ could potentially stretch or shrink. The one-line paragraphs are broken out
+ separately since this test sample has an anomalous number of them.
+ Otherwise, we can see that \lwc/ is capable of stretching the majority of
+ paragraphs.
+
+ We can also see that of non-single-line paragraphs, only about 8\%
+ of paragraphs can only be shrunk (the last segment of
+ Figure~\ref{fig:stretchshrink}), and this is in a document where 13\%
+ of paragraphs have at least eight~lines. Most documents rarely have
+ such long paragraphs, and it is these long paragraphs that are the
+ easiest to shrink.
+ \oldlooseness=-1
+
+ Because of this, \lwc/ doesn't even attempt to shrink paragraphs; it
+ only stretches them.
+
+ \vspace*{-10pt}
+
+ \section{Known issues}
+
+ \vspace*{-5pt}
+
+ \Lwc/ is quite stable these days. At this point, all \emph{known} bugs have
+ been resolved; some bugs certainly still remain, but I'd feel quite
+ confident using \textsf{lua-widow-control} in your everyday documents. There
+ are, however, some fundamental limitations due to how \lwc/ operates:
+
+ \begin{itemize}
+ \item When a three-line paragraph is at the end of a page forming a
+ widow, \lwc/ will remove the widow; however, it will leave an orphan.
+ This issue is inherent to any process that removes widows through
+ paragraph expansion and is thus unavoidable. Orphans are considered
+ to be better than widows~\cite{elements}, so this is still an
+ improvement.
+
+ \item Sometimes a \woo/ cannot be eliminated because no paragraph has
+ enough stretch. Sometimes this can be remediated by
+ increasing \lwc/'s \estretch/; however, some pages just don't have
+ any suitable paragraph.
+
+ Long paragraphs with short words tend to be stretchier than short
+ paragraphs with long words since these long paragraphs have more
+ interword glue. Narrow columns also stretch more easily than wide
+ columns since you need to expand a paragraph by less to make a new line.
+
+ \item \Lwc/ only attempts to expand paragraphs on a page with a \woo/. A
+ global system like in~\titlecite{global} would solve this;
+ however, this is both \acro{NP}-complete~\cite{plass} and
+ impossible to solve in a single pass. Very rarely would such a
+ system remove \woos/ that \lwc/ cannot.
+
+ \item \textsf{lua-widow-control} won't properly move footnotes if there
+ are multiple different ``classes'' of inserts on the same line. To the
+ best of my knowledge, this shouldn't happen in any real-world
+ documents. If this happens to be an issue for you, please let me know;
+ this problem is relatively easy to fix, although it will add
+ considerable complexity for what I think isn't a real issue.
+ \oldlooseness=-1
+ \end{itemize}
+
+ \section{Conclusion}
+
+ All this probably makes \lwc/ look quite complicated, and this is true to
+ some extent. However, this complexity is hidden from the end~user:
+ as stated at the outset, most
+ users merely need to place \latexuse/ in their \LaTeX{} document
+ preamble, and \lwc/ will remove all the troublesome \waos/, without needing
+ any manual intervention.
+
+ Should you have any issues, questions, or suggestions for \lwc/, please
+ visit the project's GitHub page:
+ \href{https://github.com/gucci-on-fleek/lua-widow-control}
+ {\ttfamily https://github.com/gucci-on-fleek\discretionary{-}{-}{-}lua-widow-control}.
+ Any feedback is greatly appreciated!
+
+ \let\macro=\cs
+ \AtNextBibliography{\small}
+ \printbibliography
+
+ \section*{Automatické odstraňování vdov a sirotků pomocí balíčku \textsf{lua-widow-control}}
+ \begin{otherlanguage}{czech}
+ Balíček \textsf{lua-widow-control} pro
+ Lua\TeX\slash{}Lua\LaTeX\slash{}\ConTeXt\slash{}\OpTeX{} odstraňuje vdovy
+ a sirotky bez dalšího zásahu uživatele. Využívá přitom sílu Lua\TeX u a přitom
+ nenatahuje žádné vertikální mezery a ani nezkracuje stránky nebo sloupce.
+ Namísto toho balíček automaticky prodlužuje některý z odstavců na té stránce
+ nebo sloupci, kde by se vdova nebo sirotek vyskytli.
+
+ Pro použití balíčku postačí většině uživatelů \LaTeX u uvést v~preambuli
+ dokumentu \verb|\usepackage{lua-widow-control}|. Žádné další změny
+ v~dokumentu nejsou zapotřebí.
+ \end{otherlanguage}
+ \klicovaslova: Lua\TeX, vdova, sirotek
+
+\end{document}
diff --git a/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.pdf b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.pdf
new file mode 100644
index 0000000000..1c37d25bf2
--- /dev/null
+++ b/macros/luatex/generic/lua-widow-control/lwc-zpravodaj.pdf
Binary files differ
diff --git a/macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl b/macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl
index 1293e08090..b4d35eb15f 100644
--- a/macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl
+++ b/macros/luatex/generic/lua-widow-control/t-lua-widow-control.mkxl
@@ -1,24 +1,29 @@
%D \module
%D [ file=t-lua-widow-control,
-%D version=2.2.2, %%version
+%D version=3.0.0, %%version
%D title=lua-widow-control,
%D subtitle=\ConTeXt module for lua-widow-control,
%D author=Max Chernoff,
-%D date=2022-08-23, %%dashdate
+%D date=2022-11-22, %%dashdate
%D copyright=Max Chernoff,
%D license=MPL-2.0+,
%D url=https://github.com/gucci-on-fleek/lua-widow-control]
\startmodule[lua-widow-control]
\unprotect
+% Preliminaries
\installnamespace{lwc}
-\installcommandhandler \????lwc {lwc} \????lwc
+\installswitchcommandhandler \????lwc {lwc} \????lwc
+% Set up the options
\newdimen\lwc_emergency_stretch
+\newdimen\lwc_draft_offset
\newcount\lwc_max_cost
-\appendtoks
+
+\starttexdefinition lwc_set_parameters
\lwc_emergency_stretch=\lwcparameter{emergencystretch}
+ \lwc_draft_offset=\lwcparameter{draftoffset}
\doifelse{\lwcparameter{\c!state}}\v!start{
\lwc_enable
@@ -28,7 +33,18 @@
\lwc_debug{\lwcparameter{debug}}
- \lwc_draft{\lwcparameter{draft}}
+ \doif{\lwcparameter{draft}}\v!start{
+ \setlwcparameter{showcosts}{\v!start}
+ \setlwcparameter{showcolours}{\v!start}
+ }
+
+ \doif{\lwcparameter{draft}}\v!stop{
+ \setlwcparameter{showcosts}{\v!stop}
+ \setlwcparameter{showcolours}{\v!stop}
+ }
+
+ \lwc_show_costs{\lwcparameter{showcosts}}
+ \lwc_show_colours{\lwcparameter{showcolours}}
\lwc_nobreak{\lwcparameter{nobreak}}
@@ -55,22 +71,69 @@
\stopsetups
\setups[*default]
-\to\everysetuplwc
+\stoptexdefinition
+% Load the main Lua file
\ctxloadluafile{lua-widow-control}
-\setuplwc[
+% Define the presets
+\definelwc[default][
emergencystretch=3em,
- \c!state=\v!start,
- debug=\v!stop,
- draft=\v!stop,
+ maxcost=2147483647,
+ nobreak=keep,
orphanpenalty=1,
widowpenalty=1,
brokenpenalty=1,
+]
+
+\definelwc[strict][
+ emergencystretch=0pt,
+ maxcost=5000,
+ nobreak=warn,
+ widowpenalty=1,
+ orphanpenalty=1,
+ brokenpenalty=1,
+]
+
+\definelwc[balanced][
+ emergencystretch=1em,
+ maxcost=10000
nobreak=keep,
- maxcost=2147483647,
+ widowpenalty=500,
+ orphanpenalty=500,
+ brokenpenalty=500,
]
+% Set up the default options
+\setuplwc[
+ \c!state=\v!start,
+ debug=\v!stop,
+ draft=,
+ showcosts=\v!stop,
+ showcolours=\v!stop,
+ draftoffset=1in,
+]
+
+\setuplwc[default]
+
+\appendtoks
+ \ifcase\lwcsetupmode
+ % can't happen
+ \or % \setuplwc[name][key=value]
+ \ifx\previouslwc\currentlwc
+ \let\currentlwc\currentlwc
+ \lwc_set_parameters
+ \fi
+ \or % \setuplwc[key=value]
+ \let\currentlwc\previouslwc
+ \lwc_set_parameters
+ \or % \setuplwc[name]
+ \glet\currentlwc\currentlwc % global
+ \lwc_set_parameters
+ \fi
+\to \everysetuplwc
+
+\lwc_set_parameters
% Here, we enable font expansion/contraction. It isn't strictly necessary for
% \lwc/'s functionality; however, it is required for the
@@ -97,6 +160,7 @@
\fi%
}
+% Add the default patches
\prependtoks\lwc_patch_pre\to\everybeforesectionheadhandle % Sectioning
\prependtoks\lwc_patch_post\to\everyaftersectionheadhandle
diff --git a/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx b/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx
index 7cd18ab68c..bcae2c01c6 100644
--- a/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx
+++ b/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.ltx
@@ -21,11 +21,11 @@
% Please refer to the PDF on tug.org for the authoritative version.
% Compiling:
-% context tb1333chernoff-widows-figure.ctx
-% lualatex tb1333chernoff-widows.ltx
-% bibtex tb1333chernoff-widows
-% lualatex tb1333chernoff-widows.ltx
-% lualatex tb1333chernoff-widows.ltx
+% context tb133chernoff-widows-figure.ctx
+% lualatex tb133chernoff-widows.ltx
+% bibtex tb133chernoff-widows
+% lualatex tb133chernoff-widows.ltx
+% lualatex tb133chernoff-widows.ltx
% The original article was built with the final/frozen TeX Live 2021.
% Set the publication info
@@ -72,9 +72,9 @@
\def\lwc/{\textsf{lua-\allowbreak widow-\allowbreak control}}
\def\Lwc/{\textsf{lua-\allowbreak widow-\allowbreak control}}
\def\estretch/{%
- \texorpdfstring{\cs{emergency}\-\mbox{\tt stretch}}{\textbackslash{}emergencystretch}%
+ \texorpdfstring{\cs{emergency}\-\mbox{\ttfamily stretch}}{\textbackslash{}emergencystretch}%
}
-\def\openalty/{\cs{output}\-\mbox{\tt penalty}}
+\def\openalty/{\cs{output}\-\mbox{\ttfamily penalty}}
\def\waos/{widows and orphans}
\def\wao/{widow and orphan}
\def\woo/{widow or orphan}
@@ -83,7 +83,7 @@
\cs{use\-package\{lua-\allowbreak widow-\allowbreak control\}}
}
\def\lsness/{\texorpdfstring{%
- \cs{loose}\-\mbox{\tt ness}}{\textbackslash{}looseness}%
+ \cs{loose}\-\mbox{\ttfamily ness}}{\textbackslash{}looseness}%
}
\def\plainop/{Plain~\TeX\slash\OpTeX{}}
\newcommand{\LuaMetaTeX}{Lua\-Meta\-\TeX{}}
@@ -177,6 +177,9 @@
pdfdate={2022-05}
}
+% TODO: Temporary fix
+\def\Thanh{H{\`a}n Th\^e\llap{\raise0.5ex\hbox{\'{\relax}}} Th{\`a}nh}
+
\begin{document}
\maketitle
@@ -1291,7 +1294,7 @@
xlabel={Percentile},
ylabel={Cost},
ymode=log,
- legend entries={Natural, Long},
+ legend entries={Long, Natural},
legend pos=north west,
cycle list={
{black, thick},
@@ -1443,7 +1446,7 @@
Should you have any issues, questions, or suggestions for \lwc/, please
visit the project's GitHub page:
\href{https://github.com/gucci-on-fleek/lua-widow-control}
- {\tt github.com/gucci-on-fleek/lua-widow-control}.
+ {\ttfamily github.com/gucci-on-fleek/lua-widow-control}.
Any feedback is greatly appreciated!
\bibliographystyle{tugboat}
diff --git a/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf b/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf
index 2595747b8a..e77e4df285 100644
--- a/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf
+++ b/macros/luatex/generic/lua-widow-control/tb133chernoff-widows.pdf
Binary files differ
diff --git a/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdf b/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdf
index b64b05c93d..ed1756eacf 100644
--- a/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdf
+++ b/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.pdf
Binary files differ
diff --git a/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex b/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex
index 5140d0a2b5..093e183bf7 100644
--- a/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex
+++ b/macros/xetex/plain/unimath-plain-xetex/doc/unimath-plain-xetex-doc.tex
@@ -11,6 +11,8 @@
\def\monofontname{Source Code Pro}
\def\mathfontname{Erewhon Math}
\input unimath-plain-xetex
+\unicodeprimesoff
+\betweenprimeskip=-1mu\relax
\def\xetex{X\kern-.125em\lower.5ex\hbox{\char"018E}\kern-.1667em%
T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX}
@@ -23,6 +25,7 @@
\def\pkg#1{{\tensf #1}}
%\catcode`\@=11 \@sizeat{40pt}\the\sf@size \catcode`\@=12
\font\hugesans="\sansfontname" at 35pt
+\font\sevenlmmath="Latin Modern Math:script=math,+ssty=0" at 7pt
\makefontcmdcompatible{ten}
\def\ttverbatim{\begingroup
@@ -34,6 +37,7 @@
{\catcode`\|=0 |catcode`|\=12 % | is temporary escape character
|obeylines % end of line is active
|gdef|ttfinish#1^^M#2\endtt{#1|vbox{#2}|endgroup$$}}
+\def\charhex{\char"}
\catcode`\"=\active
{\obeylines \gdef"{\ttverbatim \spaceskip.5em \let^^M=\ \let"=\endgroup}}
\def\<#1>{$\langle${\it#1\/}$\rangle$}
@@ -85,7 +89,7 @@
\centerline{Zhang Tingxuan}
\medskip
-\centerline{2022/11/06\quad Version 0.0β}
+\centerline{2022/11/23\quad Version 0.0γ}
\biggskip
\centerline{\bf Abstract}
@@ -199,4 +203,46 @@ You can also input Unicode math characters in your document's source file.
For example, "$∫_a^b y\,dx$" yields $∫_a^b y\,dx$ and "$$∫_a^b y\,dx.$$" yields
$$∫_a^b y\,dx.$$
+
+
+\section{Primes ($'$)}
+The package changed ``"'"'' command in math mode, which yields prime(s)
+in superscript. After loading this package, the primes produced by ``"'"''
+will be turned into Unicode primes:
+$$\vbox{\openup2pt\halign{#\hfil\quad&\quad#\hfil\quad&\quad#\hfil\cr
+{\it Input} & {yields} & {\it Unicode slot}\cr
+"'" & $^{\hbox{\sevenlmmath\charhex2032}}$ & U+2032 \cr
+"''" & $^{\hbox{\sevenlmmath\charhex2033}}$ & U+2033 \cr
+"'''" & $^{\hbox{\sevenlmmath\charhex2034}}$ & U+2034 \cr
+"''''" & $^{\hbox{\sevenlmmath\charhex2057}}$ & U+2057 \cr
+"'''''" & $^{\hbox{\sevenlmmath\charhex2032
+ \hskip-.15em\charhex2032
+ \hskip-.15em\charhex2032
+ \hskip-.15em\charhex2032
+ \hskip-.15em\charhex2032}}$
+ & $(\hbox{U+2032})\times5$\cr
+$\vdots$ & $\vdots$ & $\vdots$ \cr
+$(\hbox{"'"})\times N$ & $(^{\hbox{\sevenlmmath\charhex2032}})\times N$ &
+$(\hbox{U+2032})\times N$\hbox to 20pt{\quad$(N>4)$\hss} \cr
+}}$$
+However, some OpenType math fonts don't contain some of the characters above.
+For example, there is no U+2032, U+2033 or U+2034 in Erewhon Math.
+When using such fonts, you can ``turn off'' the Unicode primes easily
+by inputing the following line {\it after} loading the package:
+\begintt
+\unicodeprimesoff
+\endtt
+Then when you input ``"'"'' $n$ times you will get $n$ primes,
+and each prime's Unicode character slot is U+2032, even when $n\leq 4$.
+
+If the primes contain more than one single prime encoded U+2032,
+a negative math skip will inserted between every two single primes.
+This math skip is defined as "\betweenprimeskip" and its default value
+is "-2.7mu", which is proper for Latin Modern Math. To change the value
+of "\betweenprimeskip" is just like change any math skip, for example,
+\begintt
+\betweenprimeskip=-1mu
+\endtt
+This line should also written {\it after} loading the package.
+
\bye \ No newline at end of file
diff --git a/macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex b/macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex
index 37118739d8..5346a34963 100644
--- a/macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex
+++ b/macros/xetex/plain/unimath-plain-xetex/tex/unimath-plain-xetex.tex
@@ -14,7 +14,6 @@
\newdimen\@tempdimd
% text font
-%\gdef\mainfontname{Latin Modern Roman}
\ifdefined\mainfontname\else
\gdef\mainfontname{Latin Modern Roman}
\fi
@@ -32,7 +31,7 @@
\def\textfontopt{mapping=tex-text}
\fi
\else
- \errmessage{umath-plain-xetex Error: Needs XeTeX!}
+ \errmessage{unimath-plain-xetex Error: Needs XeTeX!}
\fi
\font\tenrm = "\mainfontname/R:\textfontopt" at 10pt
@@ -52,7 +51,7 @@
\gdef\tt@innerratio{\numexpr\dimexpr256\@tempdima/\@tempdimc\relax}
\let\tensf@test\relax \let\tentt@test\relax
-\def\@sizeat#1{\@tempdimd#1\relax%
+\def\@sizeat#1{\@tempdimd#1\relax
\sf@size=\dimexpr\sf@innerratio\@tempdimd/256\relax
\tt@size=\dimexpr\tt@innerratio\@tempdimd/256\relax
}
@@ -130,6 +129,9 @@
\def\mathbotaccent{bA}
\def\mathbotaccentwide{bAw}
+\def\sqrt{sqrt} \def\cuberoot{cuberoot}
+\def\fourthroot{fourthroot} \def\longdivision{longdivision}
+
\begingroup%
\catcode`\^^@=13
\protected\gdef\@activedef#1#2{\begingroup% #1: char code; #2: definition
@@ -141,6 +143,7 @@
\ifx#3\mathord
\Umathchardef #2 = 0 \unimathfam #1
\Umathcode #1 = 0 \unimathfam #1
+ % In the future, this module will use another \fam.
%\else\ifx#3\mathalpha
% \Umathchardef #2 = 0 \unimathfam #1
% \Umathcode #1 = 0 \unimathfam #1 % a \fi in the end
@@ -168,13 +171,13 @@
\Umathcode #1 = 4 \unimathfam #1
\Udelcode #1 = \unimathfam #1
\gdef#2{\Udelimiter 4 \unimathfam #1 }
- \ifx#2\sqrt
+ \ifx#2\sqrt%="221A%
\gdef#2{\Uradical \unimathfam #1 }
- \fi\ifx#2\cuberoot
+ \fi\ifx#2\cuberoot%="221B
\gdef#2{\Uradical \unimathfam #1 }
- \fi\ifx#2\fourthroot
+ \fi\ifx#2\fourthroot%="221C
\gdef#2{\Uradical \unimathfam #1 }
- \fi\ifx#2\longdivision
+ \fi\ifx#2\longdivision%="27CC
\gdef#2{\Uradical \unimathfam #1 }
\fi
\else\ifx#3\mathclose
@@ -406,7 +409,7 @@
\chardef\AE="00C6
\chardef\OE="0152
\chardef\O="00D8
-\chardef\i="0131 \chardef\j="237 % dotless letters
+\chardef\i="0131 \chardef\j="0237 % dotless letters
\chardef\aa="00E5
\chardef\l="0142
\chardef\L="0141
@@ -417,6 +420,23 @@
\chardef\P"00B6
\chardef\copyright="00A9
+% Primes. Patch on plain.tex, line 735--739
+\newcount\c@primes% \c@primes=0
+% If the quantity of primes were more than 4, use \nonUprim@s instead.
+\newmuskip\betweenprimeskip
+\betweenprimeskip=-2.7mu\relax
+\def\after@prim@s{\ifcase\c@primes\or\prime\or\dprime\or\trprime\or\qprime%
+ \else\nonUprim@s\fi}
+\def\nonUprim@s{\prime\loop\ifnum\c@primes>1 \advance\c@primes by -1%
+ \mskip\betweenprimeskip\prime\repeat}
+\def\prim@s{\advance\c@primes by 1\futurelet\next\pr@m@s}
+\def\pr@m@s{\ifx'\next\let\nxt\pr@@@s \else\ifx^\next\let\nxt\pr@@@t
+ \else\let\nxt\pr@@@f\fi\fi \nxt}
+\def\pr@@@t#1#2{\after@prim@s#2\egroup}
+\def\pr@@@f{\after@prim@s\egroup}
+% The following command aims to avoid to use \dprime, \trprime, etc.
+\def\unicodeprimesoff{\def\after@prim@s{\nonUprim@s}}
+
\catcode`\@=12
\tenrm
\endinput \ No newline at end of file
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index a9fe288e21..47acd72460 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,14 @@
+2022-11-21 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (biblatex.4ht): removed spurious space from in text
+ citations.
+
+ * tex4ht-4ht.tex (nameref.4ht): removed spurious space after \ref.
+
+ * tex4ht-4ht.tex (babel-sty-hooks.4ht): disable the \babelfont
+ command.
+ https://github.com/michal-h21/tex4ebook/issues/94
+
2022-11-20 Karl Berry <karl@freefriends.org>
* tex4ht-4ht.tex (authblk.4ht, caption-hooks.4ht): copyright 2022.
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index f007b9e8c3..d7e023a132 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1243 2022-11-20 15:09:18Z karl $
+% $Id: tex4ht-4ht.tex 1246 2022-11-21 21:00:44Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -2837,7 +2837,7 @@ Fix backlink support in BibLaTeX
\html:addr\Link-{}{|<haddr prefix|>\last:haddr}\EndLink%
% save link to the .xref file
% we need to use \protected@write to get correct page numbers in backrefs
- \protected@write\:refout{}{\string\:CrossWord{)Q##1\thepage}{|<haddr prefix|>\last:haddr}{\folio}}
+ \protected@write\:refout{}{\string\:CrossWord{)Q##1\thepage}{|<haddr prefix|>\last:haddr}{\folio}}%
% we need to save the link destination in .xref file
% too, otherwise \Link command would issue warning
\Tag{)Q|<haddr prefix|>\last:haddr}{\FileNumber}%
@@ -3588,11 +3588,11 @@ definitions.
\let\T:ref=\::ref
\def\::ref{\@ifstar{\protect\T@ref}{\protect\T@ref}}
\def\T@ref#1{%
- \@safe@activestrue
- \let\::ref \T:ref
+ \@safe@activestrue%
+ \let\::ref\T:ref%
\expandafter\@setref\csname r@#1\endcsname\@firstoffive{#1}%
- \def\::ref{\@ifstar{\protect\T@ref}{\protect\T@ref}}
- \@safe@activesfalse
+ \def\::ref{\@ifstar{\protect\T@ref}{\protect\T@ref}}%
+ \@safe@activesfalse%
}
\gdef\defineautorefname#1#2{%
@@ -24007,9 +24007,23 @@ Handle circumflex catcodes when the \Verb|early^| option is used.
% Copyright 2022 TeX Users Group
|<TeX4ht license text|>
|<disable early sup|>
+|<babelfont|>
>>>
\AddFile{9}{babel-sty-hooks}
+The babelfont command can be used in the document preamble.
+It can cause fatal errors, because it changes font encodings
+and can cause loating of OTF fonts
+
+\<babelfont\><<<
+\NewDocumentCommand\:babelfont{o m o m}{}
+
+\:AtEndOfPackage{%
+ % disable \babelfont
+ \let\babelfont\:babelfont
+}
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%
\Section{CJK}
%%%%%%%%%%%
diff --git a/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl b/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
index 694d2c7b40..5511fe04e9 100644
--- a/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
+++ b/systems/texlive/tlnet/tlpkg/installer/ctan-mirrors.pl
@@ -49,9 +49,11 @@ $mirrors = {
'https://cran.asia/tex/' => 1,
'https://ftp.kaist.ac.kr/pub/tex-archive/' => 1,
'https://lab.uklee.pe.kr/tex-archive/' => 1,
- 'https://mirror.kakao.com/CTAN/' => 1,
'https://mirror.navercorp.com/CTAN/' => 1,
},
+ 'Philippines' => {
+ 'http://mirror.rise.ph/ctan/' => 1,
+ },
'Singapore' => {
'https://download.nus.edu.sg/mirror/ctan/' => 1,
},
@@ -205,9 +207,6 @@ $mirrors = {
'https://mirror.aarnet.edu.au/pub/CTAN/' => 1,
'https://mirror.cse.unsw.edu.au/pub/CTAN/' => 1,
},
- 'New Zealand' => {
- 'https://mirror.aut.ac.nz/CTAN/' => 1,
- },
},
'South America' => {
'Brazil' => {
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb b/systems/texlive/tlnet/tlpkg/texlive.tlpdb
index 4d816a5b30..bf9882b2d6 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb
@@ -26,7 +26,7 @@ depend container_split_src_files/1
depend frozen/0
depend minrelease/2016
depend release/2022
-depend revision/65060
+depend revision/65076
name 00texlive.image
category TLCore
@@ -4671,7 +4671,7 @@ depend setting_available_architectures:aarch64-linux amd64-freebsd amd64-netbsd
name 00texlive.installer
category TLCore
-revision 65056
+revision 65062
shortdesc TeX Live standalone installer package
longdesc This package defines the files to go into the installer
longdesc archives (install-tl-unx.tar.gz, install-tl.zip) built by the
@@ -42925,7 +42925,7 @@ catalogue-version 1.4
name bodeplot
category Package
-revision 64902
+revision 65074
shortdesc Draw Bode, Nyquist and Nichols plots with gnuplot or pgfplots
relocated 1
longdesc This is a LaTeX package to plot Bode, Nichols, and Nyquist
@@ -42939,15 +42939,15 @@ longdesc and unstable second order transfer functions. Support for both
longdesc Gnuplot (default) and pgfplots (package option pgf). Support
longdesc for linear and asymptotic approximation of magnitude and phase
longdesc plots of any transfer function given poles, zeros, and gain.
-containersize 5548
-containerchecksum 4ba5b448a04d26dc7de90fdf48e3246fdbe694219ff5a3c0fb7b2ddec996fa161e4d27e8310701ed22c657d23930e25b41d6f8c581366eddf0b70d63c39de861
-doccontainersize 731560
-doccontainerchecksum 4980d10afd33fd5e4b3d5346c16aba0a908b77d7b677bba6b63fd8d58806b5d7e60d78b412fd75d9cfa18cae7196d2c97983f192a55f3d4a2d4120b6a94d5420
-docfiles size=262
+containersize 5484
+containerchecksum 671f6373b4057279d92e7153c561a72d6b28031dedd395d8a35a9b7e82f89be8983f7e8598c85694fa68497d7af1092d6f5f403c0dc9c8fb3e24b3b373a51f9f
+doccontainersize 730360
+doccontainerchecksum 02dbe19ab0243fed2609c5aadd91dc4a32e5bc8cd36a38244c5ee8e875d68ee5aa8e3c7bd4248c4287ff5fcdbc8d0c81adbbf5168d40e3e03eb44804dacd7109
+docfiles size=259
RELOC/doc/latex/bodeplot/README.md details="Readme"
RELOC/doc/latex/bodeplot/bodeplot.pdf details="Package documentation"
-srccontainersize 16832
-srccontainerchecksum 49d4d111c7c287ef9c1e823f13c5aa8343604c17ce6573c6bace7277a01215062fcc3b86eea4dc9cd5704b3594a4cc462326066b8b945803e156dc025f79a846
+srccontainersize 16756
+srccontainerchecksum c4f2f526cf9f9ed20364b555728664b68763b1ecebbf4c47be80fde5f9dc0af2766f2a9724824442fef362798dc42618268157028ec482dcea3572290ddbbde4
srcfiles size=25
RELOC/source/latex/bodeplot/bodeplot.dtx
RELOC/source/latex/bodeplot/bodeplot.ins
@@ -42959,7 +42959,7 @@ catalogue-contact-repository https://github.com/rlkamalapurkar/bodeplot
catalogue-ctan /graphics/pgf/contrib/bodeplot
catalogue-license lppl1.3c
catalogue-topics engineering graphics-plot pgf-tikz
-catalogue-version 1.1.2
+catalogue-version 1.1.3
name bohr
category Package
@@ -94789,7 +94789,7 @@ catalogue-version 1.4
name docshots
category Package
-revision 64986
+revision 65072
shortdesc TeX samples next to their PDF Snapshots
relocated 1
longdesc This LaTeX package helps you show TeX code next to the
@@ -94800,17 +94800,17 @@ depend iexec
depend pdfcrop
depend pgf
depend pgf-blur
-containersize 2736
-containerchecksum d907e5604af4c1a3d74790ab51711c5bb0544219e65f03cc8cecc1a5a1b0becd265b587485561e4f24021e080d34703e12d18e7da24da22183af0017023f66a8
-doccontainersize 336080
-doccontainerchecksum f87779cee89ffa735b9752ea51988a5d7526ea98be18a1b02b85921cba7065b6f91b0db7383bda9bc647390b696970e136dbdaa896807c1fa1a4b2b2c9bfc215
+containersize 2740
+containerchecksum 292e0c6b8ca5194946efbc87a9ffbab0b904019280c5de6eb916b406b06519b8a7fe7a703746a2353635473a058d70429490bb508d0d0bf54bf20414a9ca6751
+doccontainersize 336488
+doccontainerchecksum 1b92854243054c255f9fca26efe4abd4b8dfb5e2e65713fa58fbfcdb6de52d833da9025660ecccf338327aef501d2ac9e2f534c8d7d26f9546f56986cfc915ee
docfiles size=87
RELOC/doc/latex/docshots/DEPENDS.txt
RELOC/doc/latex/docshots/LICENSE.txt
RELOC/doc/latex/docshots/README.md details="Readme"
RELOC/doc/latex/docshots/docshots.pdf details="Package documentation"
-srccontainersize 7008
-srccontainerchecksum 016405894fb7dd4bedfb4820e90c5c4dbb669ce979b91de367c117cfc0d8d8a203fdf2917b4a4541ed4a3f4e3c56b78a5fe1845632bc97a6ef4b95a96258639c
+srccontainersize 7048
+srccontainerchecksum 411023cb4fea5ba8cee8f26023def944da61cc465b563ff7f543aacc69e80314e477b553dcb1f83d110651f86a3560a4c5b62ece0bcaf177905534d10ab87ccb
srcfiles size=7
RELOC/source/latex/docshots/docshots.dtx
RELOC/source/latex/docshots/docshots.ins
@@ -94820,7 +94820,7 @@ catalogue-contact-repository https://github.com/yegor256/docshots
catalogue-ctan /macros/latex/contrib/docshots
catalogue-license mit
catalogue-topics doc-supp
-catalogue-version 0.3.0
+catalogue-version 0.3.1
name docsurvey
category Package
@@ -114678,7 +114678,7 @@ catalogue-version 0.3
name etoc
category Package
-revision 65048
+revision 65068
shortdesc Completely customisable TOCs
relocated 1
longdesc The package gives the user complete control of how the entries
@@ -114696,44 +114696,44 @@ longdesc with either a standard heading, or a ruled title (optionally
longdesc with a frame around the table). The \tableofcontents command
longdesc may be used arbitrarily many times in the same document, while
longdesc \localtableofcontents provides a 'local' table of contents.
-containersize 10988
-containerchecksum 730915a98ccca24574115d20374b4e4b2c5e8207fe2287618c4ecb6aa41a1f9d1b338c0bcc24e609ef1ca8f8a693545bf02e95aadd689f3a91fe46a9baab5555
-doccontainersize 787788
-doccontainerchecksum 4dd557a89e6ed4f01ad773378b4e3c4620e3b71dadf217a31f0e1894cb10cccd994fcfefe025bdb8b120f9f71b6f1a2e837e99f3f1c3f1febf5307fa7f75d2e9
-docfiles size=232
+containersize 10996
+containerchecksum 973e624e837672b5166817a46547d8f73f73dcae12b22e3a90dc8a4e2031cba464c8264f69d380226cd083d2863b3ea14761acb4ba8f9604b1ae0c8db81c7266
+doccontainersize 854848
+doccontainerchecksum d3119a24c5572ac6dfc6f035b56de6a811970237f04ffa2fd8e9e5a8e74d9d6b49d21acab58ffa06d3d5a3aa25396f40c196961cb1f9b10d97911221c6b85fa6
+docfiles size=249
RELOC/doc/latex/etoc/README.md details="Readme"
RELOC/doc/latex/etoc/etoc.pdf details="Package documentation"
RELOC/doc/latex/etoc/etoc.tex
+ RELOC/doc/latex/etoc/etocsnippet-01.tex
+ RELOC/doc/latex/etoc/etocsnippet-02.tex
+ RELOC/doc/latex/etoc/etocsnippet-03.tex
+ RELOC/doc/latex/etoc/etocsnippet-04.tex
+ RELOC/doc/latex/etoc/etocsnippet-05.tex
+ RELOC/doc/latex/etoc/etocsnippet-06.tex
+ RELOC/doc/latex/etoc/etocsnippet-07.tex
+ RELOC/doc/latex/etoc/etocsnippet-08.tex
+ RELOC/doc/latex/etoc/etocsnippet-09.tex
RELOC/doc/latex/etoc/etocsnippet-10.tex
- RELOC/doc/latex/etoc/etocsnippet-20-A.tex
- RELOC/doc/latex/etoc/etocsnippet-20-B.tex
- RELOC/doc/latex/etoc/etocsnippet-21-A.tex
- RELOC/doc/latex/etoc/etocsnippet-21-B.tex
- RELOC/doc/latex/etoc/etocsnippet-22-A.tex
+ RELOC/doc/latex/etoc/etocsnippet-11.tex
+ RELOC/doc/latex/etoc/etocsnippet-12.tex
+ RELOC/doc/latex/etoc/etocsnippet-13.tex
+ RELOC/doc/latex/etoc/etocsnippet-14.tex
+ RELOC/doc/latex/etoc/etocsnippet-15.tex
+ RELOC/doc/latex/etoc/etocsnippet-16.tex
+ RELOC/doc/latex/etoc/etocsnippet-17.tex
+ RELOC/doc/latex/etoc/etocsnippet-18.tex
+ RELOC/doc/latex/etoc/etocsnippet-19.tex
+ RELOC/doc/latex/etoc/etocsnippet-20.tex
+ RELOC/doc/latex/etoc/etocsnippet-21.tex
+ RELOC/doc/latex/etoc/etocsnippet-22.tex
RELOC/doc/latex/etoc/etocsnippet-23.tex
RELOC/doc/latex/etoc/etocsnippet-24.tex
RELOC/doc/latex/etoc/etocsnippet-25.tex
RELOC/doc/latex/etoc/etocsnippet-26.tex
RELOC/doc/latex/etoc/etocsnippet-27.tex
- RELOC/doc/latex/etoc/etocsnippet-28.tex
- RELOC/doc/latex/etoc/etocsnippet-29.tex
- RELOC/doc/latex/etoc/etocsnippet-30-A.tex
- RELOC/doc/latex/etoc/etocsnippet-30-B.tex
- RELOC/doc/latex/etoc/etocsnippet-31.tex
- RELOC/doc/latex/etoc/etocsnippet-32.tex
- RELOC/doc/latex/etoc/etocsnippet-40.tex
- RELOC/doc/latex/etoc/etocsnippet-46.tex
- RELOC/doc/latex/etoc/etocsnippet-48.tex
- RELOC/doc/latex/etoc/etocsnippet-5.tex
- RELOC/doc/latex/etoc/etocsnippet-52-A.tex
- RELOC/doc/latex/etoc/etocsnippet-52-B.tex
- RELOC/doc/latex/etoc/etocsnippet-53.tex
- RELOC/doc/latex/etoc/etocsnippet-54.tex
- RELOC/doc/latex/etoc/etocsnippet-6.tex
- RELOC/doc/latex/etoc/etocsnippet-7.tex
-srccontainersize 97400
-srccontainerchecksum 98242656a68733fcca646ed2a50c479f7a26f2ebc8e73c1880d61672fe068318afdeb9b646d235325e8f5f10297daa2d648926815158e8967f6c96384d31ec74
-srcfiles size=97
+srccontainersize 103456
+srccontainerchecksum efcc86dbbd61d4cdbb61c3d5ca3c89e1df947de5837740f25d8612c3718a5936819171dcb8ae22728ef3942b2a1592bedf572968619f52aa0835582e0e3aecb8
+srcfiles size=103
RELOC/source/latex/etoc/etoc.dtx
runfiles size=15
RELOC/tex/latex/etoc/etoc.sty
@@ -114741,7 +114741,7 @@ catalogue-also titletoc tocbasic
catalogue-ctan /macros/latex/contrib/etoc
catalogue-license lppl1.3c
catalogue-topics toc-etc etex
-catalogue-version 1.09g
+catalogue-version 1.09i
name etoolbox
category Package
@@ -144754,7 +144754,7 @@ catalogue-version 0.32
name hvfloat
category Package
-revision 64967
+revision 65069
shortdesc Controlling captions, fullpage and doublepage floats
relocated 1
longdesc This package defines a macro to place objects (tables and
@@ -144766,11 +144766,11 @@ longdesc \hvFloat{figure}{\includegraphics{rose}}{Caption}{fig:0}.
longdesc Options are provided to place captions to the right or left,
longdesc and rotated. Setting nonFloat=true results in placing the float
longdesc here.
-containersize 11976
-containerchecksum 0143d591510f29c2395d380ec9ff79773d1e0dd20e127fa68092f5ae454e02b3d98dbd76d8ef980373bf700f646b673a57c8185842a56a4a2ee9791a10e9e977
-doccontainersize 10334624
-doccontainerchecksum dd6ea0be3001c9245e9473949037fcd2018555f86725798bee1eefe0b7dfab3ac90a6006bb88d9ed0c81d5dc8602f0b2eae7fd4f2914ee9b594c85cd021abfa8
-docfiles size=4805
+containersize 12372
+containerchecksum 0471fa0fa232068b67613132f52e3b45162aa87405961d7791e4d3c3527df8a4406a4de328966ed34634070497e43ff1f11b20b1216ee90a327ef231eeae5286
+doccontainersize 11546656
+doccontainerchecksum 4e66d93022aae324ecab00c3ededbec9d68f8fd780f933c56b0a9de60ef8c400410f4a6b3898280f3ff4d3ee35241101e9aad3fd350a361db525fb1cb7ef8c65
+docfiles size=4445
RELOC/doc/latex/hvfloat/CTAN.png
RELOC/doc/latex/hvfloat/Changes
RELOC/doc/latex/hvfloat/README details="Readme"
@@ -144791,8 +144791,6 @@ docfiles size=4805
RELOC/doc/latex/hvfloat/default2s1c.tex
RELOC/doc/latex/hvfloat/default2s2c.pdf
RELOC/doc/latex/hvfloat/default2s2c.tex
- RELOC/doc/latex/hvfloat/doublefullpage2s2c.pdf
- RELOC/doc/latex/hvfloat/doublefullpage2s2c.tex
RELOC/doc/latex/hvfloat/doublepage2s1c.pdf
RELOC/doc/latex/hvfloat/doublepage2s1c.tex
RELOC/doc/latex/hvfloat/doublepage2s2c.pdf
@@ -144807,8 +144805,6 @@ docfiles size=4805
RELOC/doc/latex/hvfloat/even2s2c.tex
RELOC/doc/latex/hvfloat/felsen-wasser-small.pdf
RELOC/doc/latex/hvfloat/frose.png
- RELOC/doc/latex/hvfloat/fullpage1s1c.pdf
- RELOC/doc/latex/hvfloat/fullpage1s1c.tex
RELOC/doc/latex/hvfloat/fullpage1s2c.pdf
RELOC/doc/latex/hvfloat/fullpage1s2c.tex
RELOC/doc/latex/hvfloat/hvfloat.pdf details="Package documentation"
@@ -144854,8 +144850,6 @@ docfiles size=4805
RELOC/doc/latex/hvfloat/outer2s2c.tex
RELOC/doc/latex/hvfloat/paper-after1s1c.pdf
RELOC/doc/latex/hvfloat/paper-after1s1c.tex
- RELOC/doc/latex/hvfloat/paper-after2s2c.pdf
- RELOC/doc/latex/hvfloat/paper-after2s2c.tex
RELOC/doc/latex/hvfloat/paper-default1s1c.pdf
RELOC/doc/latex/hvfloat/paper-default1s1c.tex
RELOC/doc/latex/hvfloat/paper-default1s2c.pdf
@@ -144864,16 +144858,10 @@ docfiles size=4805
RELOC/doc/latex/hvfloat/paper-default2s1c.tex
RELOC/doc/latex/hvfloat/paper-default2s2c.pdf
RELOC/doc/latex/hvfloat/paper-default2s2c.tex
- RELOC/doc/latex/hvfloat/paper-even2s1c.pdf
- RELOC/doc/latex/hvfloat/paper-even2s1c.tex
RELOC/doc/latex/hvfloat/paper-inner2s2c.pdf
RELOC/doc/latex/hvfloat/paper-inner2s2c.tex
- RELOC/doc/latex/hvfloat/paper-odd2s1c.pdf
- RELOC/doc/latex/hvfloat/paper-odd2s1c.tex
RELOC/doc/latex/hvfloat/paper-right1s1c.pdf
RELOC/doc/latex/hvfloat/paper-right1s1c.tex
- RELOC/doc/latex/hvfloat/paper-twocolcaption-after2s2c.pdf
- RELOC/doc/latex/hvfloat/paper-twocolcaption-after2s2c.tex
RELOC/doc/latex/hvfloat/preamble.ltx
RELOC/doc/latex/hvfloat/right1s1c.pdf
RELOC/doc/latex/hvfloat/right1s1c.tex
@@ -144907,14 +144895,14 @@ docfiles size=4805
RELOC/doc/latex/hvfloat/wide1s2c.tex
RELOC/doc/latex/hvfloat/wide2s2c.pdf
RELOC/doc/latex/hvfloat/wide2s2c.tex
-runfiles size=19
+runfiles size=21
RELOC/tex/latex/hvfloat/hvfloat-fps.sty
RELOC/tex/latex/hvfloat/hvfloat.sty
catalogue-also rotating
catalogue-ctan /macros/latex/contrib/hvfloat
catalogue-license lppl
catalogue-topics float box-manip
-catalogue-version 2.43
+catalogue-version 2.44
name hvindex
category Package
@@ -194531,7 +194519,7 @@ binfiles arch=x86_64-linuxmusl size=3921
name luakeys
category Package
-revision 65041
+revision 65071
shortdesc A Lua module for parsing key-value options
relocated 1
longdesc This package provides a Lua module that can parse key-value
@@ -194541,15 +194529,15 @@ longdesc entirely by using the Lua language and does not rely on TeX.
longdesc Therefore this package can only be used with the TeX engine
longdesc LuaTeX. Since luakeys uses LPeg, the parsing mechanism should
longdesc be pretty robust.
-containersize 9840
-containerchecksum 63364ade18fcb3b02f13dc2e8346a6295f2ce2d5817abd523c2ba43bed689d06c1156b6a91cf2dbf3e0a17564d0810650ce116357b0e2b4eeaafbbc7492fe0d4
-doccontainersize 294000
-doccontainerchecksum 91e4377a012e0bfe6556b95cc87e5bf8ffd5692a902567dcf6d2d267d8d74ebc7cd1bda1260c816df4b73a4a15ef5143724a951180974050624825653322bddd
+containersize 9964
+containerchecksum 0839af24bcf2fd30d67aaa0a8b1b35924ae9a36cc15c2912c07482964838c807e06726de1280b97f037a92bb0e6587550a56d9c52df40aba30c2e54bb0fd2c46
+doccontainersize 296820
+doccontainerchecksum 6e279452f86ef9bc7ed533227dcb0447fd7d5debf36f8dac4d4c375c6b519b8a194cd5035a6935bf2bd465f51475396cbc1e3a0809074fa17d1e852a9c814ef9
docfiles size=86
RELOC/doc/luatex/luakeys/README.md details="Readme"
RELOC/doc/luatex/luakeys/luakeys-doc.pdf details="Package documentation"
RELOC/doc/luatex/luakeys/luakeys-doc.tex
-runfiles size=13
+runfiles size=14
RELOC/tex/luatex/luakeys/luakeys-debug.sty
RELOC/tex/luatex/luakeys/luakeys-debug.tex
RELOC/tex/luatex/luakeys/luakeys.lua
@@ -194560,7 +194548,7 @@ catalogue-contact-repository https://github.com/Josef-Friedrich/luakeys
catalogue-ctan /macros/luatex/generic/luakeys
catalogue-license lppl1.3c
catalogue-topics keyval luatex
-catalogue-version 0.8.0
+catalogue-version 0.9.0
name lualatex-doc
category Package
@@ -224908,7 +224896,7 @@ catalogue-topics font font-type1 font-decor
name nicematrix
category Package
-revision 65021
+revision 65073
shortdesc Improve the typesetting of mathematical matrices with PGF
relocated 1
longdesc This package is based on the package array. It creates PGF/TikZ
@@ -224920,17 +224908,17 @@ longdesc border matrices); control of the width of the columns; tools to
longdesc color rows and columns with a good PDF result; blocks of cells;
longdesc etc. The package requires and loads l3keys2e, xparse, array,
longdesc amsmath, pgfcore, and the module shapes of PGF.
-containersize 38336
-containerchecksum 30112161efdf21bf9078362d7e5714cc518bd67fa5e6ea0791af5c82a21de6aac2c35cda166db2b501a44f5ffe355688322b32ca986915549df5f6e6725b7a1f
-doccontainersize 1820004
-doccontainerchecksum dca4539900839b3107bd4ca95a346a48a11db6aaebcdd4776d361c64000cadd1c0856aa5e2baee488c9e0fa58a31c47d9709d9ec2c57dfb06863ae17c99e1d15
+containersize 38344
+containerchecksum 7a6a4d6e6c23d86ba9bd91a5c1e16496960bd4203e2d475c9547d0fadd83008ced65ce2978e3ec3c712c3851fe20fa4e0c0a858941b77da4dc4659eb019515aa
+doccontainersize 1819820
+doccontainerchecksum ae1e65d39d65580f76631888604398300d131dc68d7e222fb4758ee94596b7bd022e2db76976f5cd34b7d94145348bb4da56c3abc3f047e30b422d06e3edd25c
docfiles size=499
RELOC/doc/latex/nicematrix/README.md details="Readme"
RELOC/doc/latex/nicematrix/nicematrix-french.pdf details="Package documentation in French" language="fr"
RELOC/doc/latex/nicematrix/nicematrix-french.tex
RELOC/doc/latex/nicematrix/nicematrix.pdf details="Package documentation"
-srccontainersize 120844
-srccontainerchecksum 113a06c6777aca68746d5756296e19602eb77b310eee130b90faaf3a9f2ba11eb4afaeeabe8203c969c8723631c51f513a6a8b80f7c5133dbc722fa4de8f2067
+srccontainersize 120840
+srccontainerchecksum 82070d77994f8e97b1ff1df1e8ef4cb9a26c5461fa9d97ed2748ffd51adc3d6913aefe4f73f7092c4765d7365ecc80ee6089b06a8d8dd53a79ff215da7bafe98
srcfiles size=186
RELOC/source/latex/nicematrix/nicematrix.dtx
RELOC/source/latex/nicematrix/nicematrix.ins
@@ -224939,7 +224927,7 @@ runfiles size=85
catalogue-ctan /macros/latex/contrib/nicematrix
catalogue-license lppl1.3
catalogue-topics maths matrix pgf-tikz expl3
-catalogue-version 6.13c
+catalogue-version 6.13d
name nicetext
category Package
@@ -248721,33 +248709,34 @@ catalogue-version 1.618
name pixelart
category Package
-revision 57508
+revision 65075
shortdesc A package to draw pixel-art pictures
relocated 1
longdesc A LaTeX package to draw single-color pixel-art pictures using
longdesc TikZ.
-containersize 1580
-containerchecksum 47f667a417ebe5a7cd265055d6a4c88bb8f561e020069ddc0bde818aa2394e69d6a575e48bc6d4feaf5761d356a6554189ba6c1a57cf2bfbf1099132b8398805
-doccontainersize 154092
-doccontainerchecksum 5221b337718d13512359c3e0d349dd83afb9c2585f013501badb06483e8ab23f146672860426047fbed3d55471e32301ed695b6c416c31683915f569c4b3c3a7
-docfiles size=45
+containersize 6696
+containerchecksum 8591f3b2223f06aba4d1366f77ebd4068edb125773e86c54202cebfe6a0b66aae55db11f4da3085e2f4068bf82b2149c79524274db3e02910f560bfb0ca920ba
+doccontainersize 385852
+doccontainerchecksum 231ae3ced6626612dbe75ad2e0fc7128c7b8fa34d2485709fbb2bf274a5b86fc71f17750777303d8c70929b6c7763c3c51cc90607816fcd04203c2d29fbcbfcd
+docfiles size=115
RELOC/doc/latex/pixelart/CHANGELOG.md
RELOC/doc/latex/pixelart/LICENSE.txt
RELOC/doc/latex/pixelart/README.md details="Readme"
RELOC/doc/latex/pixelart/pixelart.pdf details="Package documentation"
-srccontainersize 6560
-srccontainerchecksum 9b69ddc19d4ca5ca050ff22ea88dd5be1743c5e910066d8f412ce59620906e642dc979831d571ebe44e05b5284cc4f36ab05935bfc03c4a82b869bad24672199
-srcfiles size=6
- RELOC/source/latex/pixelart/pixelart.dtx
- RELOC/source/latex/pixelart/pixelart.ins
-runfiles size=1
+ RELOC/doc/latex/pixelart/pixelart.tex
+ RELOC/doc/latex/pixelart/pixelart0.pdf
+ RELOC/doc/latex/pixelart/pixelart0.tex
+runfiles size=8
+ RELOC/tex/latex/pixelart/pixelart.lua
RELOC/tex/latex/pixelart/pixelart.sty
+ RELOC/tex/latex/pixelart/pixelart0.sty
catalogue-contact-bugs https://framagit.org/spalax/pixelart/issues
+catalogue-contact-home https://framagit.org/spalax/pixelart
catalogue-contact-repository https://framagit.org/spalax/pixelart
catalogue-ctan /graphics/pgf/contrib/pixelart
catalogue-license lppl1.3
catalogue-topics graphics pgf-tikz
-catalogue-version 0.2.0
+catalogue-version 1.0.0
name pkfix
category Package
@@ -255844,7 +255833,7 @@ catalogue-version 1.0
name proflycee
category Package
-revision 64967
+revision 65070
shortdesc A LaTeX package for French maths teachers in high school
relocated 1
longdesc This package provides some commands to help French mathematics
@@ -255853,11 +255842,11 @@ longdesc create splines with "derivative control";
longdesc \CalculFormelParametres and \CalculFormelLigne in order to
longdesc create an xcas-windows-like; \CodePythonLstFichier to create
longdesc code presentation and code execution with pythontex.
-containersize 22768
-containerchecksum 99be1c0773ee796b21ac3d5bc5e86285d445078a82e3211c8b09ce0cb7995a0fd09adf42875fb443bcbf1dc0155bbe91d032e2ca654725bde2133269d1b0088d
-doccontainersize 1294860
-doccontainerchecksum d01a6ca71bf8df9e65145840c4f1c3c245a709f7daad2967f6693d46f907fb8dce4277112439e121a1b02031f5347c63500d1ffb1d7f33da0fd329623bf112cb
-docfiles size=484
+containersize 24020
+containerchecksum 93cf2bd29fe7ccf1d20d3cf7ec323820f21ecd5335c29498a3294681f20440b58b6c0c1401825b3e08bab846afb2a7bc8bbaab2d8d9231d3db74cb4610930702
+doccontainersize 1428816
+doccontainerchecksum db57f8a8b4a83962a5f24f3e2741ebabc5423b162c9be2e77d9fd1c6a4ed7a06d947af211096a2c0d9fc9ecc91e1be58f9d92357206abb8510c9ad7fce93fe7a
+docfiles size=491
RELOC/doc/latex/proflycee/ProfLycee-doc.pdf details="Package documentation" language="fr"
RELOC/doc/latex/proflycee/ProfLycee-doc.tex
RELOC/doc/latex/proflycee/ProfLycee-old-doc.pdf
@@ -255879,7 +255868,7 @@ docfiles size=484
RELOC/doc/latex/proflycee/pl-doc-stats_d.png
RELOC/doc/latex/proflycee/pl-doc-stats_e.png
RELOC/doc/latex/proflycee/testscript.py
-runfiles size=56
+runfiles size=57
RELOC/tex/latex/proflycee/ProfLycee-old.sty
RELOC/tex/latex/proflycee/ProfLycee.sty
catalogue-also profcollege
@@ -255888,7 +255877,7 @@ catalogue-contact-repository https://github.com/cpierquet/ProfLycee
catalogue-ctan /macros/latex/contrib/proflycee
catalogue-license lppl1.3c
catalogue-topics maths french teaching expl3 pgf-tikz
-catalogue-version 2.0.1
+catalogue-version 2.0.5
name program
category Package
@@ -260064,17 +260053,17 @@ catalogue-version 0.01
name pst-plot
category Package
-revision 60620
+revision 65066
shortdesc Plot data using PSTricks
relocated 1
longdesc The package provides plotting of data (typically from external
longdesc files), using PSTricks. Plots may be configured using a wide
longdesc variety of parameters.
-containersize 22632
-containerchecksum b389155d1bb56cee20cc035dcec1551974d9de57a7acde79b40d1342e621454e879e760d150f5e3d71e28d7f379442c32a828ce2f9b2a9813fafcef9476e4af3
-doccontainersize 1375272
-doccontainerchecksum b8033d9879f06a995bac06a1849e3349dd1e9c675279520c7e1c563cced38e58612b2a826de285d8abc2ecf1312faf17c2424d38a9cbce22431219da79245828
-docfiles size=565
+containersize 22692
+containerchecksum c691064297f4eeabe4bef9f1a6ad2fffd8176c8d217d8fe9881deb40e1668243a69eb9b2ed0eb897070e95806c7a4c1920530deee3c7f360f83acd50bca9106e
+doccontainersize 1346668
+doccontainerchecksum d3b4cd6426bf17dcff6e7e5b7880e0f59b0e561d09e1136a32c69e14822152187dfacf7cde446d67f848cc28df7d07c19dd1f89860c295047742065969943625
+docfiles size=582
RELOC/doc/generic/pst-plot/Changes
RELOC/doc/generic/pst-plot/README details="Readme"
RELOC/doc/generic/pst-plot/data/Data.dat
@@ -260103,12 +260092,11 @@ runfiles size=32
RELOC/tex/latex/pst-plot/pst-plot.sty
catalogue-also pgfplots
catalogue-contact-home https://www.tug.org/PSTricks/
-catalogue-contact-repository https://archiv.dante.de/~herbert/texnik/
catalogue-contact-support https://tug.org/mailman/listinfo/pstricks
catalogue-ctan /graphics/pstricks/contrib/pst-plot
catalogue-license lppl
catalogue-topics data-import data-disp pstricks
-catalogue-version 1.93
+catalogue-version 1.94
name pst-poker
category Package
@@ -261393,7 +261381,7 @@ catalogue-version 3.17
name pstricks-add
category Package
-revision 61407
+revision 65067
shortdesc A collection of add-ons and bugfixes for PSTricks
relocated 1
longdesc Collects together examples that have been posted to the
@@ -261405,11 +261393,11 @@ longdesc (e.g., logarithm axes); polar plots; plotting tangent lines of
longdesc curves or functions; solving and printing differential
longdesc equations; box plots; matrix plots; and pie charts. The package
longdesc makes use of PostScript routines provided by pst-math.
-containersize 21888
-containerchecksum 85c329cfe915f85e3caa93296190041a0dc6078a1c7d7fdd3ded149ce1faa610780c962bda91ae6c0b0552ae131b0a679ab2b75334009cefd852c7dbf2957a75
-doccontainersize 9152100
-doccontainerchecksum 62b7f8dc64a071e70c358f1547dc3bf07bc3b336e0a2085806cc9390e41c5a77710245db515dd71064c08df0755cd3553e69088e083abf14ac5693acc285f755
-docfiles size=4947
+containersize 21896
+containerchecksum 89a2e5c037dcaab7b14bb673cece21220f66865e75eeae5f2dcd0ccc48d69b26e906d97e07fef4a0fb1908906d47c75394b06a1b378787e1c3d02eb7df11a1da
+doccontainersize 10578276
+doccontainerchecksum 1021ece59cb0cc41c0ee9620c84a2de8aa5dffe7e8ff7f3adc286054f880dbadec70b888c7e23152c318e5013e581e0c34a68581ec1eff8508397730a5fc8886
+docfiles size=4600
RELOC/doc/generic/pstricks-add/Changes
RELOC/doc/generic/pstricks-add/History
RELOC/doc/generic/pstricks-add/README details="Readme"
@@ -261439,7 +261427,7 @@ runfiles size=26
catalogue-ctan /graphics/pstricks/contrib/pstricks-add
catalogue-license lppl
catalogue-topics graphics-in-tex pstricks
-catalogue-version 3.92
+catalogue-version 3.93
name pstricks_calcnotes
category Package
@@ -299879,7 +299867,7 @@ binfiles arch=x86_64-solaris size=1
name tex4ht
category Package
-revision 65059
+revision 65076
shortdesc Convert (La)TeX to HTML/XML
longdesc A converter from TeX and LaTeX to SGML-based formats such as
longdesc (X)HTML, MathML, OpenDocument, and Docbook, providing a
@@ -299900,10 +299888,10 @@ longdesc files from them is nontrivial, and generally done with the
longdesc Makefile in development, from which the TeX4ht package in TeX
longdesc Live is updated.
depend tex4ht.ARCH
-containersize 952364
-containerchecksum 4cab140aaaf2d077c0cdac81ddc822e4bbbfd067616089ed80c19c329749d12e8acf3cf804e4ad4d9eb20fac58c894c239cf31d4c323426374b2fc2ef166395a
+containersize 952412
+containerchecksum 1ff69792a37c12896ea9a0021e5e393f807fa41ab90f7ab6737067614353035231df73517572ce383ce39b8c1007a9ab232e5d052c22bf04513c3e98513cb42e
doccontainersize 136384
-doccontainerchecksum 50bf80241750ed655d968d0d9fb81c112e94f56451aaa929af18cc4a8f60a6917c8855792bc6087c0c214a95aabb447c3b03235bae4edb02d9443d050810bb86
+doccontainerchecksum defc5fcebef8057bfb989d6f56d0d17479bd1aa75c8682d8f378ed5acbf824aac2c7079e22a2f5ff3f77683c069da1b2de3de722486e5b22f2a6822f266eb8c7
docfiles size=260
texmf-dist/doc/generic/tex4ht/Makefile
texmf-dist/doc/generic/tex4ht/README details="Readme"
@@ -299975,8 +299963,8 @@ docfiles size=260
texmf-dist/doc/generic/tex4ht/mn56.html
texmf-dist/doc/generic/tex4ht/mn5x.png
texmf-dist/doc/generic/tex4ht/mn6x.png
-srccontainersize 1291600
-srccontainerchecksum 637eefe2c1c42dd87b06f45006e874a4a859537934a27e22b57e76a0f38386af7eb7eb1e7462a780abcad1bdc5f26614220163248e827d215edaa34a359871fe
+srccontainersize 1292132
+srccontainerchecksum 5ab34f62f5e683b515dde6c9f56ca9110e7ff899d4eb31dbc85339f1f55de52274afa9c13b4b610b2f4da163e6aa27e02ae9fee6ce68303001c20830a6faa907
srcfiles size=3920
texmf-dist/source/generic/tex4ht/ChangeLog
texmf-dist/source/generic/tex4ht/Makefile
@@ -310672,7 +310660,7 @@ docfiles size=376
name texlive-scripts
category TLCore
-revision 65056
+revision 65062
shortdesc TeX Live infrastructure programs
longdesc Includes install-tl, tl-portable, rungs, etc.; not needed for
longdesc tlmgr to run but still ours. Not included in tlcritical.
@@ -310680,10 +310668,10 @@ depend texlive-scripts.ARCH
depend texlive.infra
execute addMap mathpple.map
postaction shortcut type=menu name="TeX Live command-line" cmd=TEXDIR/tlpkg/installer/tl-cmd.bat
-containersize 113708
-containerchecksum 1cd87dfd2b0c6496450d2333372db698264f2fcd820928499578ee469254e20b59960de627c18786bf06e2eea35fd627127c734b9fa2d743f6a28c2c2353f13e
-doccontainersize 423428
-doccontainerchecksum 0c73916e4222cdbadc002e96647102c3cb90be8f10e0d62ac9f277097d7c972b82d72e02bf8a1129b7b829d5bf0693da1d53ba90976298ccafbd2c7812236859
+containersize 113712
+containerchecksum 8bc1774965a8750366eeef7bcb35843d8780522c8f30d50862c57a7235d3e0d4c51470f719b8084635cfd3f815b9579d6f0797fef79648fd9172de4cfc5fd678
+doccontainersize 423432
+doccontainerchecksum f5dee646a480a00db675dc5e33dd3db369294d53a1c24385b94e5ad648485e926cc1117575517fa9b862862420c925e01515d9d78d96e6a2ccec71b068c95931
docfiles size=532
doc.html
texmf-dist/doc/man/man1/fmtutil-sys.1
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5 b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
index 48846940e2..e2ad2678e4 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.md5
@@ -1 +1 @@
-827a94414f1a620ac2fe558daa7d418c texlive.tlpdb
+1b0103e3c7e16c36624f939751f9f6a1 texlive.tlpdb
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512 b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
index 9f79349984..ca1328c8b1 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512
@@ -1 +1 @@
-182a900406fc21b195e7e996750851daae48c9c5449d30c420198584c7c1c20c7fd7bc9fb706c5153aa013f7c95cd79c78892ed652922b63f6d4ad07e19c7a93 texlive.tlpdb
+7baa928a22580961147deee3dd13e94d5e639c91422d5e2c28180ee8ffdda546026cf0205034e18db2eb750f59eed997ef1d3948e2203f0444781f26cd93e542 texlive.tlpdb
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
index 6d16a5c4a8..f66f63658e 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.sha512.asc
@@ -1,10 +1,10 @@
-----BEGIN PGP SIGNATURE-----
-iQEcBAEBCgAGBQJjeswVAAoJEEzhh34ZQ4xwb1cIAJJSLSKm9snhFNHs94gNvYPA
-TND+2+2AE/0oja7t2AAy3rKN8hJLMrtOF2u+6hYf0IhvDOqCS7vf/4Nn7lM1SWpY
-g8Wy4qXJ1r0MiRqME8eeQyxGJwYqGsnSJghbmL0jO2Ks+SbuvsLRulz1nIwZbFDS
-jVCplm8w02cA4tOigLxq2eU1xp/fQbxsJaErOv2qPdwlkZbJBTTzAXHpZbjHxT+h
-BHOXUOOPy11tLDl5rwS4dMFWC8H/y/Q5hkQZg8gHdrKE1ENsE/RqBBW9sPr6/VUs
-YgwZP0MHYM0y26KWW6Vm/BnmmKA34do6Fn9Zkp4pZH16OPFDztPfc1YU612vbr0=
-=xMFI
+iQEcBAEBCgAGBQJjfB3FAAoJEEzhh34ZQ4xwHXwH/igD55CMFhAcgxjexBOqN2iC
+7LBpkcw7+SLkTKFduyxNGXU5XZV4zhUkieOBm08d3v8GYAXjvY42grp3P9S8L1Q+
+Y6TA2wRjEF8DeSnch4Z/DKGscGt+DcAyHQXm3Wis0OQbjM794d/4HUaFytV0gnRF
+y7Nl54tttpNyYRwyTABOdUHC9QRVeJylrAhqA3vgpScEeigSiIRM0Qp6ixWJbUDa
++skSZfusdziUIPUq/nZE12QD+pq75c3djbl5CwcFOPRRC10LumXxgqnuq5aChXjO
+nFWsBe7HvRQb1jsxEYg7kdHVvruGumH/br4JF0ElmV9s+jYTZD/WL2EszDyGqDE=
+=ASyc
-----END PGP SIGNATURE-----
diff --git a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
index c54db1da20..440728d0e8 100644
--- a/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
+++ b/systems/texlive/tlnet/tlpkg/texlive.tlpdb.xz
Binary files differ
diff --git a/timestamp b/timestamp
index 19f46d30a5..d858d7c3f4 100644
--- a/timestamp
+++ b/timestamp
@@ -2,4 +2,4 @@
# The source CTAN of this site's material:
dante.ctan.org
# The year-month-day-hour-minute of this site's material:
-2022-11-22-02-02
+2022-11-23-02-02