diff options
Diffstat (limited to 'macros')
74 files changed, 1753 insertions, 540 deletions
diff --git a/macros/latex/contrib/bfh-ci/README.md b/macros/latex/contrib/bfh-ci/README.md index c7afa87fa6..3df5c97b40 100644 --- a/macros/latex/contrib/bfh-ci/README.md +++ b/macros/latex/contrib/bfh-ci/README.md @@ -2,7 +2,7 @@ Copyright (C) Marei Peischl <marei@peitex.de> & Andreas Habegger <andreas.habegger@bfh.ch>, 2021–2022 -bfh 2022/03/01 v2.1.2 +bfh 2022/03/20 v2.1.3 *************************************************************************** @@ -94,4 +94,6 @@ BFH-CI uses the translations package to provide translations for specific elemen - Automatically enable handout mode for paperNotes with bfhbeamer - Fix rule setup for landscape mode of bfhsciposter * v2.1.2 (2022/03/01) - - Small layout adjustments for bfhterminal
\ No newline at end of file + - Small layout adjustments for bfhterminal +* v2.1.3 (2022/03/20) + - Fix partnerlogo alignment for titlepage=false in bfhlayout
\ No newline at end of file diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf Binary files differindex 65ecdd5961..8f29a11846 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf Binary files differindex 978d8642b6..67b27ba0ab 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf Binary files differindex 7a61a903cd..d6ce6a79f5 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf Binary files differindex f92cbb987a..22743d9230 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf Binary files differindex 5957656b5d..bfa6e89597 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf Binary files differindex d1c4bf58c6..437fb99474 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf Binary files differindex a1a84dc1e6..99a9c783b4 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf Binary files differindex 0e295b3b64..5159adb617 100644 --- a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf +++ b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf diff --git a/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty index b6585e80d0..ff347fe363 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamercolorthemeBFH.sty' version 2.1.2 (2022/03/01), +%% This is file `beamercolorthemeBFH.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty index 04ef94d4e3..8e8612cad6 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerfontthemeBFH.sty' version 2.1.2 (2022/03/01), +%% This is file `beamerfontthemeBFH.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty index e6bd0c512d..d09dfcb7dd 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerinnerthemeBFH.sty' version 2.1.2 (2022/03/01), +%% This is file `beamerinnerthemeBFH.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty index b2dcb15c67..cf6c5277de 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty @@ -1,4 +1,4 @@ -%% This is file `beamerouterthemeBFH-sidebar.sty' version 2.1.2 (2022/03/01), +%% This is file `beamerouterthemeBFH-sidebar.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty index 6d316418f9..af0197c701 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerouterthemeBFH.sty' version 2.1.2 (2022/03/01), +%% This is file `beamerouterthemeBFH.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty index e0d29ed81b..3f0f9adfd9 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty @@ -1,4 +1,4 @@ -%% This is file `beamerthemeBFH.sty' version 2.1.2 (2022/03/01), +%% This is file `beamerthemeBFH.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo index b1f2519b7b..b06b6cda4e 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a0paper.clo' version 2.1.2 (2022/03/01), +%% This is file `bfh-a0paper.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo index ad0463fa86..c793edbd67 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a1paper.clo' version 2.1.2 (2022/03/01), +%% This is file `bfh-a1paper.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo index 8be826decc..8ca1958ad5 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a2paper.clo' version 2.1.2 (2022/03/01), +%% This is file `bfh-a2paper.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo index 3c4c621950..bbd41515c5 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a3paper.clo' version 2.1.2 (2022/03/01), +%% This is file `bfh-a3paper.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo index f2da547e43..ccff9f8b5e 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a4paper.clo' version 2.1.2 (2022/03/01), +%% This is file `bfh-a4paper.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo index e8c479a35f..5f8f235255 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a5paper.clo' version 2.1.2 (2022/03/01), +%% This is file `bfh-a5paper.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo index 6661595285..eb8025be2a 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo @@ -1,4 +1,4 @@ -%% This is file `bfh-a6paper.clo' version 2.1.2 (2022/03/01), +%% This is file `bfh-a6paper.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg index 2e7c30a475..aa8eff7730 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-beamerarticle.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-beamerarticle.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg index 4307c75897..d296706507 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-factsheet.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-factsheet.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg index 7d907bd1ec..c69a8ceeba 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-boxes.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-layout-boxes.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg index 7e250caf2c..c61235cde8 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-listings.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-layout-listings.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg index eb097e357f..4f0f74321b 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-rules.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-layout-rules.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg index 86a8a58de3..babc8be728 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-tabular.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-layout-tabular.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg index 3e68c785ad..9245d08dcc 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-layout-tabular.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-layout-tabular.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg index 359255a57e..d48d720b9c 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg @@ -1,4 +1,4 @@ -%% This is file `bfh-projectproposal.cfg' version 2.1.2 (2022/03/01), +%% This is file `bfh-projectproposal.cfg' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls b/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls index 621e08d342..c2578cc8be 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls @@ -1,4 +1,4 @@ -%% This is file `bfhbeamer.cls' version 2.1.2 (2022/03/01), +%% This is file `bfhbeamer.cls' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty b/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty index dfbc44aaa5..44b1a0ece3 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty @@ -1,4 +1,4 @@ -%% This is file `bfhcolors.sty' version 2.1.2 (2022/03/01), +%% This is file `bfhcolors.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty b/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty index afccc9789d..6f7ed2f289 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty @@ -1,4 +1,4 @@ -%% This is file `bfhfonts.sty' version 2.1.2 (2022/03/01), +%% This is file `bfhfonts.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty b/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty index cbe4679d1d..a7f49c39f7 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty @@ -1,4 +1,4 @@ -%% This is file `bfhlayout.sty' version 2.1.2 (2022/03/01), +%% This is file `bfhlayout.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- @@ -462,7 +462,7 @@ foreground, align=tr, hoffset=\oddsidemargin+1in+\textwidth, - voffset=\coverpagetopmargin+\ht\strutbox, + voffset=\coverpagetopmargin, width=\textwidth - \box_wd:N \g__ptxcd_logo_box, height=\box_ht:N \g__ptxcd_logo_box, contents={% @@ -470,7 +470,7 @@ \makebox[\layerwidth][r]{% \let\width\layerwidth \let\height\layerheight - \g_ptxcd_partnerlogo_tl}% + \raisebox{-\height}{\g_ptxcd_partnerlogo_tl}}% }% }% ]{title.BFH.partnerlogo} diff --git a/macros/latex/contrib/bfh-ci/tex/bfhletter.sty b/macros/latex/contrib/bfh-ci/tex/bfhletter.sty index 00d03748b3..cd15d4b40d 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhletter.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhletter.sty @@ -1,4 +1,4 @@ -%% This is file `bfhletter.sty' version 2.1.2 (2022/03/01), +%% This is file `bfhletter.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo b/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo index c66ad3a94f..cd26e125d1 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo @@ -1,4 +1,4 @@ -%% This is file `bfhlettersize9.5pt.clo' version 2.1.2 (2022/03/01), +%% This is file `bfhlettersize9.5pt.clo' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty b/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty index 0f09714c93..8b1fff86c4 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty @@ -1,4 +1,4 @@ -%% This is file `bfhmodule.sty' version 2.1.2 (2022/03/01), +%% This is file `bfhmodule.sty' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhpub.cls b/macros/latex/contrib/bfh-ci/tex/bfhpub.cls index ab001e8538..0a0fbaa8b3 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhpub.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhpub.cls @@ -1,4 +1,4 @@ -%% This is file `bfhpub.cls' version 2.1.2 (2022/03/01), +%% This is file `bfhpub.cls' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls b/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls index 24741dca83..bb9745e890 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls @@ -1,4 +1,4 @@ -%% This is file `bfhsciposter.cls' version 2.1.2 (2022/03/01), +%% This is file `bfhsciposter.cls' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls b/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls index 3600a19134..ab07784437 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls @@ -1,4 +1,4 @@ -%% This is file `bfhthesis.cls' version 2.1.2 (2022/03/01), +%% This is file `bfhthesis.cls' version 2.1.3 (2022/03/20), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- diff --git a/macros/latex/contrib/lwarp/README.txt b/macros/latex/contrib/lwarp/README.txt index 780cab2409..b4d606ed34 100644 --- a/macros/latex/contrib/lwarp/README.txt +++ b/macros/latex/contrib/lwarp/README.txt @@ -1,5 +1,5 @@ -LaTeX lwarp package v0.904a README.txt +LaTeX lwarp package v0.905 README.txt Files included are: diff --git a/macros/latex/contrib/lwarp/lwarp.dtx b/macros/latex/contrib/lwarp/lwarp.dtx index 56963b9049..c812a89da0 100644 --- a/macros/latex/contrib/lwarp/lwarp.dtx +++ b/macros/latex/contrib/lwarp/lwarp.dtx @@ -16,7 +16,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] %<package>\ProvidesPackage{lwarp} -%<package> [2022/03/16 v0.904a Allows LaTeX to directly produce HTML5 output.] +%<package> [2022/03/22 v0.905 Allows LaTeX to directly produce HTML5 output.] % %<*driver> \documentclass{ltxdoc} @@ -3246,7 +3246,7 @@ This boolean may be tested by the user for later use. %<*package> % \fi % -% \CheckSum{55400} +% \CheckSum{55580} % % \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 @@ -3395,6 +3395,7 @@ This boolean may be tested by the user for later use. % \changes{v0.904}{2022/03/09}{\ 2022/03/09} % \changes{v0.904a}{2022/03/16}{\ 2022/03/16} % \changes{v0.904a}{2022/03/16}{Fixed missing \pkg{common-mathjax-siunitx}.} +% \changes{v0.905}{2022/03/22}{\ 2022/03/22} @@ -3628,6 +3629,12 @@ 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.905:] Bug fixes, internal improvements. +% \begin{itemize} +% \item Fixed conflict between \pkg{cleveref} and \pkg{splitidx}. +% \item Improved coexistence with \cs{AtEndDocument}. +% \item \pkg{acronym}: Updated to v1.47, added hyper links. +% \end{itemize} % \needspace{2\baselineskip} % \item[v0.904a:] Fixed missing \pkg{lwarp-common-mathjax-siunitx} package. % \needspace{2\baselineskip} @@ -14461,6 +14468,9 @@ This boolean may be tested by the user for later use. % % \subsection{Argument selection} % +% \changes{v0.905}{2022/03/21}{Added last of three, four.} +% \begin{macro}{\LWR@thirdofthree} \marg{first} \marg{second} \marg{third} +% \begin{macro}{\LWR@fourthoffour} \marg{first} \marg{second} \marg{third} \marg{fourth} % \begin{macro}{\LWR@firstoffive} \marg{first} \marg{second} \marg{third} \marg{fourth} \marg{fifth} % \changes{v0.63}{2019/01/25}{Added.} % \changes{v0.896}{2021/04/05}{Changed to firstoffive instead of four.} @@ -14473,6 +14483,9 @@ This boolean may be tested by the user for later use. % Used for extra cross referencing. % % \begin{macrocode} +\long\def\LWR@thirdofthree#1#2#3{#3}% +\long\def\LWR@fourthoffour#1#2#3#4{#4}% + \long\def\LWR@firstoffive#1#2#3#4#5{#1} \long\def\LWR@secondoffive#1#2#3#4#5{#2} \long\def\LWR@thirdoffive#1#2#3#4#5{#3} @@ -14484,6 +14497,8 @@ This boolean may be tested by the user for later use. % \end{macro} % \end{macro} % \end{macro} +% \end{macro} +% \end{macro} % % % \subsection{Inside boxes} @@ -21005,7 +21020,7 @@ MathJax = { -- Copyright 2016-2022 Brian Dunn -printversion = "v0.904a" +printversion = "v0.905" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () @@ -22509,20 +22524,21 @@ end -- not --version % \end{macrocode} -% \begin{macro}{\LWR@fontfortags} \marg{macro name} +% \begin{macro}{\LWR@fontfortags} \marg{macro name} \marg{argument} % % Forces roman TT font for \HTML\ tags. % \changes{v0.904}{2022/03/02}{Improved font control.} % \begin{macrocode} -\newrobustcmd*{\LWR@fontfortags}[1]{% +\newrobustcmd*{\LWR@fontfortags}[2]{% \ifmmode% \PackageError{lwarp}% {% An HTML tag was generated inside math.\MessageBreak This should never occur.\MessageBreak - Something is broken in Lwarp% + Something is broken in Lwarp.\MessageBreak + Enter `h' for details% }% - {(Using #1.)}% + {(Using #1{#2}.)}% \else% % \end{macrocode} % @@ -22558,7 +22574,7 @@ end -- not --version % \LWR@traceinfo{HTMLentity \detokenize{#1}}% \begingroup% \LWR@hook@processingtags% - \LWR@fontfortags{HTMLentity}% + \LWR@fontfortags{HTMLentity}{\detokenize{#1}}% \protect\LWR@origampersand\LWR@isolate{#1};% \endgroup% % \LWR@traceinfo{HTMLentity done}% @@ -23427,7 +23443,7 @@ end -- not --version \LWR@traceinfo{LWR@htmltagc !\detokenize{#1}!}% \begingroup% \LWR@hook@processingtags% - \LWR@fontfortags{LWR@htmltagc}% + \LWR@fontfortags{LWR@htmltagc}{\detokenize{#1}}% \protect\LWR@origtextless% \LWR@isolate{#1}% \protect\LWR@origtextgreater% @@ -23611,7 +23627,7 @@ end -- not --version % \LWR@traceinfo{LWR@htmlopencomment}% \begingroup% \LWR@hook@processingtags% - \LWR@fontfortags{LWR@htmlopencomment}% + \LWR@fontfortags{LWR@htmlopencomment}{}% \LWR@print@mbox{\LWR@origtextless{}!-\/-}% \endgroup% } @@ -23620,7 +23636,7 @@ end -- not --version % \LWR@traceinfo{LWR@htmlclosecomment}% \begingroup% \LWR@hook@processingtags% - \LWR@fontfortags{LWr@htmlclosecomment}% + \LWR@fontfortags{LWr@htmlclosecomment}{}% \LWR@print@mbox{-\/-\LWR@origtextgreater}% \endgroup% } @@ -35889,9 +35905,11 @@ end -- not --version \makeatletter% % \end{macrocode} % -% Disable CJK \pkg{xpinyin} while generating the side\TOC. +% Disable \cs{ref} to avoid nested \HTML\ references. +% \changes{v0.905}{2022/03/21}{Disable \cs{ref} and CJK pinyin in \TOC, etc.} % \begin{macrocode} - \LWR@disablepinyin% + \LetLtxMacro\ref\LWR@print@ref% + \LWR@disablepinyin% % \end{macrocode} % % Read in the \TOC\ file: @@ -35979,7 +35997,7 @@ end -- not --version % \begin{macrocode} \AtBeginDocument{ -\let\LWR@origtableofcontents\tableofcontents +\LetLtxMacro\LWR@origtableofcontents\tableofcontents \renewcommand*{\tableofcontents}{% % \end{macrocode} @@ -36002,7 +36020,16 @@ end -- not --version \booltrue{LWR@copiedsidetoc}% }% \LWR@printpendingfootnotes - \LWR@origtableofcontents +% \end{macrocode} +% +% Disable \cs{ref} to avoid nested \HTML\ references. +% \changes{v0.905}{2022/03/21}{Disable \cs{ref} and CJK pinyin in \TOC, etc.} +% \begin{macrocode} + \begingroup% + \LetLtxMacro\ref\LWR@print@ref% + \LWR@disablepinyin% + \LWR@origtableofcontents% + \endgroup% } }% \tableofcontents @@ -36023,7 +36050,16 @@ end -- not --version } { \LWR@printpendingfootnotes - \LWR@origlistoffigures +% \end{macrocode} +% +% Disable \cs{ref} to avoid nested \HTML\ references. +% \changes{v0.905}{2022/03/21}{Disable \cs{ref} and CJK pinyin in \TOC, etc.} +% \begin{macrocode} + \begingroup% + \LetLtxMacro\ref\LWR@print@ref% + \LWR@disablepinyin% + \LWR@origlistoffigures% + \endgroup% } } % \end{macrocode} @@ -36042,7 +36078,16 @@ end -- not --version } { \LWR@printpendingfootnotes - \LWR@origlistoftables +% \end{macrocode} +% +% Disable \cs{ref} to avoid nested \HTML\ references. +% \changes{v0.905}{2022/03/21}{Disable \cs{ref} and CJK pinyin in \TOC, etc.} +% \begin{macrocode} + \begingroup% + \LetLtxMacro\ref\LWR@print@ref% + \LWR@disablepinyin% + \LWR@origlistoftables% + \endgroup% } } % \end{macrocode} @@ -36513,6 +36558,7 @@ end -- not --version % \end{macro} + % \begin{macro}{\LWR@xindex@modifyentry} \marg{indexing term} % % If using \prog{xindex}, modifies the pipe character to become \cs{hyperindexformat}. @@ -36551,6 +36597,12 @@ end -- not --version % \end{macrocode} % \end{macro} +% \DescribeBoolean{LWR@xindex@tricked} Used to track \pkg{xindex} creation. See next. +% \begin{macrocode} +\newbool{LWR@xindex@tricked} +\boolfalse{LWR@xindex@tricked} +% \end{macrocode} + % \begin{macro}{\@wrindex} \marg{indexing term} \qquad % Redefined to write the |LWR@autoindex| counter instead of |page|. @@ -36562,9 +36614,6 @@ end -- not --version % \changes{v0.28}{2017/04/13}{Improved indexing.} % \changes{v0.88}{2020/07/12}{Added support for \prog{xindex}.} % \begin{macrocode} -\newbool{LWR@xindex@tricked} -\boolfalse{LWR@xindex@tricked} - \def\LWR@wrindex#1{% \ifbool{LWR@xindex}{% \ifbool{LWR@xindex@tricked}{}{% @@ -36580,9 +36629,13 @@ end -- not --version \def\LWR@tempone{#1}% }% \addtocounter{LWR@autoindex}{1}% - \label{LWRindex-\arabic{LWR@autoindex}}% \protected@write\@indexfile{}% - {\string\indexentry{\LWR@tempone}{\arabic{LWR@autoindex}}}% + {\string\indexentry{\LWR@tempone}{\arabic{LWR@autoindex}}}% +% \end{macrocode} +% The label is assigned after the file write to avoid conflict with \pkg{cleveref}. +% \changes{v0.905}{2022/03/21}{Label after file write.} +% \begin{macrocode} + \label{LWRindex-\arabic{LWR@autoindex}}% \endgroup% \@esphack% } @@ -43186,9 +43239,11 @@ color:\LWR@origpound\LWR@tempcolor% % \begin{macro}{\LWR@LwarpEnd} % Automatically sets up the \HTML-related actions for the start and end of the % document. +% \changes{v0.905}{2022/03/21}{Fixed \cs{LWR@LwarpEnd} hook order.} % \begin{macrocode} \AfterEndPreamble{\LWR@LwarpStart} \AtEndDocument{\LWR@LwarpEnd} +\DeclareHookRule{enddocument}{lwarp}{after}{legacy} % \end{macrocode} % \end{macro} % \end{macro} @@ -44502,7 +44557,73 @@ color:\LWR@origpound\LWR@tempcolor% % \codehtml % % \begin{macrocode} -\LWR@ProvidesPackagePass{acronym}[2015/03/21] +\LWR@ProvidesPackagePass{acronym}[2020/04/17] +% \end{macrocode} + +% Simplifies for \HTML: +% \changes{v0.905}{2022/03/21}{\pkg{acronym}: Updated to v1.47.} +% \begin{macrocode} +\expandafter\def\csname AC@\AC@prefix{}@acro\endcsname#1[#2]#3{% + \ifAC@nolist% + \else% + \ifnum% + \ifAC@printonlyused 1% + \else\ifAC@printonlyreused 1% + \else 0\fi\fi% + =1\relax% + \ifnum% + \ifAC@printonlyused% + \expandafter\ifx\csname acused@#1@once\endcsname\AC@used 1 \else 0 \fi% + \else\ifAC@printonlyreused% + \expandafter\ifx\csname acused@#1@twice\endcsname\AC@used 1 \else 0 \fi% + \else 0 \fi\fi% + =1\relax% + \item[\protect\AC@hypertarget{#1}{% + \AC@hyperref[acro:#1]{\aclabelfont{#2}\hfill}% + }]\AC@hyperref[acro:#1]{#3}% + \ifAC@withpage% + \expandafter\ifx\csname r@acro:#1\endcsname\relax% + \PackageInfo{acronym}{% + Acronym #1 used in text but not spelled out in + full in text}% + \else% +% \nobreak\leaders\hbox{% +% $\m@th\mkern\@dotsep mu\hbox{.}\mkern\@dotsep mu$% +% }\hfill% +% \nobreak\hb@xt@\@pnumwidth{% +% \hfil\normalfont\normalcolor + \qquad --- % lwarp + \AC@pageref{acro:#1}% +% }% + \fi% + \fi\\% + \fi% + \else% + \item[\protect\AC@hypertarget{#1}{\AC@hyperref[acro:#1]{\aclabelfont{#2}\hfill}}]% + \AC@hyperref[acro:#1]{#3}% + \fi% + \fi% + \begingroup + \def\acroextra##1{}% + \@bsphack + \ifAC@printonlyreused% + \protected@write\@auxout{}{% + \string\newacro{#1}[% + \expandafter\ifx\csname acused@#1@twice\endcsname\AC@used% + \string\AC@hyperlink{#1}{#2}% + \else% + {#2}% + \fi% + ]{#3}% + }% + \else% + \protected@write\@auxout{}{% + \string\newacro{#1}[\string\AC@hyperlink{#1}{#2}]{#3}% + }% + \fi% + \@esphack + \endgroup + \ignorespaces} % \end{macrocode} % Uses \cs{textit} instead of \cs{itshape}: @@ -44550,6 +44671,41 @@ color:\LWR@origpound\LWR@tempcolor% }% % \end{macrocode} +% Improve paragraph handling: +% \changes{v0.905}{2022/03/21}{\pkg{acronym}: Improved pars.} +% \begin{macrocode} +\BeforeBeginEnvironment{acronym}{\LWR@stoppars} +\AfterEndEnvironment{acronym}{\LWR@startpars} +% \end{macrocode} + +% Create hyperlinks, even though \pkg{hyperref} is only emulated: +% \changes{v0.905}{2022/03/21}{\pkg{acronym}: Add hyperlinks.} +% \begin{macrocode} +\AtBeginDocument{ + \LetLtxMacro\AC@hyperlink\hyperlink + \LetLtxMacro\AC@hyperref\hyperref + \newcommand*\AC@raisedhypertarget[2]{% +% \Hy@raisedlink{% + \hypertarget{#1}{}% +% }% + #2}% + \LetLtxMacro\AC@hypertarget\AC@raisedhypertarget + \def\AC@phantomsection{% +% \Hy@GlobalStepCount\Hy@linkcounter +% \edef\@currentHref{section*.\the \Hy@linkcounter}% +% \Hy@raisedlink{% +% \hyper@anchorstart{\@currentHref}\hyper@anchorend +% }% +% \phantomsection% + }% +} + +\appto\LWR@restoreorigformatting{% + \LetLtxMacro\AC@hyperlink\@secondoftwo% + \LetLtxMacro\AC@hyperref\LWR@nullify@hyperref% +} +% \end{macrocode} + % \iffalse %</acronym> % \fi @@ -49403,34 +49559,7 @@ s% } % \end{macrocode} -% Patch to fix bug for \pkg{cases} when used with \pkg{microtype}: -% \changes{v0.903}{2022/01/30}{\pkg{cases}: Updated to v3.2.} -% ^^A *88* Remove the following if microtype is fixed: -% \begin{macrocode} -\makeatletter -\begin{warpHTML} -\AtBeginDocument{ - \@ifpackageloaded{amsmath} - { - \xpatchcmd{\tagform@}{\leftprotrusion{(}}{(} - {} - {\LWR@patcherror{cases}{tagform@ A}}% - \xpatchcmd{\tagform@}{\rightprotrusion{)}}{)} - {} - {\LWR@patcherror{cases}{tagform@ B}}% - } - { - \xpatchcmd{\@eqnnum}{\leftprotrusion{(}}{(} - {} - {\LWR@patcherror{cases}{@eqnnum A}}% - \xpatchcmd{\@eqnnum}{\rightprotrusion{)}}{)} - {} - {\LWR@patcherror{cases}{@eqnnum A}}% - }% -} -\end{warpHTML} -\makeatother -% \end{macrocode} +% \changes{v0.905}{2022/03/21}{\pkg{cases}: Removed \pkg{microtype} bug fix.} % % \iffalse @@ -62238,12 +62367,11 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % % Creates an \HTML\ link to |URL#category.name| with the given text. % -% To avoid nested links, \cs{ref} is temporarily redefined to the print version. % \begin{macrocode} \newcommand{\LWR@hyperreffinish}[1]{% \begingroup% \RenewDocumentCommand{\ref}{s m}{\LWR@print@ref{##2}}% - #1% + #1% \endgroup% \LWR@htmltag{/a}% } @@ -62272,7 +62400,6 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % % Creates text as an \HTML\ link to the \LaTeX\ label. % \begin{macrocode} - \NewDocumentCommand{\LWR@hyperrefcb}{O{label}}{% \LWR@startref{#1}% \endgroup% @@ -62354,6 +62481,32 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % \end{noindmacro} +% \begin{noindmacro}{\LWR@nullify@hyperref} +% \marg{1: URL} \marg{2: category} \marg{3: name} \marg{4: text} \quad ---\,or\,--- \\ +% \oarg{1: label} \marg{2: text} +% +% \begin{macrocode} +\newcommand{\LWR@nullify@hyperrefb}[2][]{} + +\newcommand*{\LWR@nullify@hyperref}{% + \@ifnextchar[\LWR@nullify@hyperrefb\@fourthoffour% +} +% \end{macrocode} +% \end{noindmacro} +% +% To nullify in a \env{lateximage} or \SVG\ math. +% \cs{hypertarget} must be left active for references to work, and does not harm. +% \changes{v0.905}{2022/03/21}{\pkg{hyperref}: Fix: No \HTML\ tags if math mode.} +% \begin{macrocode} +\appto\LWR@restoreorigformatting{% + \LetLtxMacro\hyperdef\@thirdofthree + \LetLtxMacro\hyperlink\@secondoftwo% + \LetLtxMacro\hyperref\LWR@nullify@hyperref% +} +% \end{macrocode} + + + % \begin{noindmacro}{\autoref} * \marg{label} % % For \HTML, \cs{cleveref} is used instead. @@ -62967,17 +63120,25 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % writes the label's index instead of the page number: % \begin{macrocode} \renewcommand\imki@wrindexentrysplit[3]{% -\addtocounter{LWR@autoindex}{1}% -\label{LWRindex-\arabic{LWR@autoindex}}% - \expandafter\protected@write\csname#1@idxfile\endcsname{}% - {\string\indexentry{#2}{\arabic{LWR@autoindex}}}% + \addtocounter{LWR@autoindex}{1}% + \expandafter\protected@write\csname#1@idxfile\endcsname{}% + {\string\indexentry{#2}{\arabic{LWR@autoindex}}}% +% \end{macrocode} +% The label is assigned after the file write to avoid conflict with \pkg{cleveref}. +% \changes{v0.905}{2022/03/21}{Label after file write.} +% \begin{macrocode} + \label{LWRindex-\arabic{LWR@autoindex}}% } \renewcommand\imki@wrindexentryunique[3]{% -\addtocounter{LWR@autoindex}{1}% -\label{LWRindex-\arabic{LWR@autoindex}}% - \protected@write\@indexfile{}% - {\string\indexentry[#1]{#2}{\arabic{LWR@autoindex}}}% + \addtocounter{LWR@autoindex}{1}% + \protected@write\@indexfile{}% + {\string\indexentry[#1]{#2}{\arabic{LWR@autoindex}}}% +% \end{macrocode} +% The label is assigned after the file write to avoid conflict with \pkg{cleveref}. +% \changes{v0.905}{2022/03/21}{Label after file write.} +% \begin{macrocode} + \label{LWRindex-\arabic{LWR@autoindex}}% } \def\imki@wrindexsplit#1#2{% @@ -68489,7 +68650,7 @@ do not attempt to patch lwarp's version of `hyperref'.)\MessageBreak} % \trouble[no effect]{maybemath=\pkg{maybemath}} % so all \pkg{maybemath} macros are ignored. % -% \changes{v0.0.895}{2021/01/08}{\pkg{maybemath}: Added.} +% \changes{v0.895}{2021/01/08}{\pkg{maybemath}: Added.} % % \codehtml % @@ -82457,13 +82618,17 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', \csname index@#1@hook\endcsname % \expandafter\ifx\csname @@wrsindex\endcsname\relax \addtocounter{LWR@autoindex}{1}% lwarp - \label{LWRindex-\arabic{LWR@autoindex}}% lwarp % \@@@wrsindex{#1}{{\@tempa}{\thepage}}% - \@@@wrsindex{#1}{{\@tempa}{\arabic{LWR@autoindex}}}% + \@@@wrsindex{#1}{{\@tempa}{\arabic{LWR@autoindex}}}% % \else % \def\@tempb{\@@wrsindex{#1}}% % \expandafter\@tempb\@tempa||\\% % \fi +% \end{macrocode} +% The label is assigned after the file write to avoid conflict with \pkg{cleveref}. +% \changes{v0.905}{2022/03/21}{Label after file write.} +% \begin{macrocode} + \label{LWRindex-\arabic{LWR@autoindex}}% lwarp \endgroup \@esphack \fi @@ -94408,12 +94573,16 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', \AtBeginDocument{ \def\@@wrindexhyp#1||\\{% - \addtocounter{LWR@autoindex}{1}% - \label{LWRindex-\arabic{LWR@autoindex}}% + \addtocounter{LWR@autoindex}{1}% lwarp % \ifshowindexmark\@showidx{#1}\fi \protected@write\@auxout{}% % {\string\@@wrindexm@m{\@idxfile}{#1}{\thepage}}% - {\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% + {\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% lwarp +% \end{macrocode} +% The label is assigned after the file write to avoid conflict with \pkg{cleveref}. +% \changes{v0.905}{2022/03/21}{Label after file write.} +% \begin{macrocode} + \label{LWRindex-\arabic{LWR@autoindex}}% lwarp \endgroup \@esphack}% % \end{macrocode} @@ -94429,11 +94598,15 @@ remember to convert PDF images to SVG using 'lwarpmk pdftosvg *-fig.pdf', % \begin{macrocode} \def\@@wrspindexhyp#1||\\{% \addtocounter{LWR@autoindex}{1}% - \label{LWRindex-\arabic{LWR@autoindex}}% % \ifshowindexmark\@showidx{#1}\fi \protected@write\@auxout{}% % {\string\@@wrindexm@m{\@idxfile}{#1}{\@nameuse{the\@sptheidx}}}% {\string\@@wrindexm@m{\@idxfile}{#1}{\arabic{LWR@autoindex}}}% +% \end{macrocode} +% The label is assigned after the file write to avoid conflict with \pkg{cleveref}. +% \changes{v0.905}{2022/03/21}{Label after file write.} +% \begin{macrocode} + \label{LWRindex-\arabic{LWR@autoindex}}% \endgroup \@esphack}% diff --git a/macros/latex/contrib/lwarp/lwarp.pdf b/macros/latex/contrib/lwarp/lwarp.pdf Binary files differindex 1522f8b7d9..e3c1f196a7 100644 --- a/macros/latex/contrib/lwarp/lwarp.pdf +++ b/macros/latex/contrib/lwarp/lwarp.pdf diff --git a/macros/latex/contrib/lwarp/lwarpmk.lua b/macros/latex/contrib/lwarp/lwarpmk.lua index 6b4d48c89e..901d7d3f42 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.904a" +printversion = "v0.905" requiredconfversion = "2" -- also at *lwarpmk.conf function printhelp () diff --git a/macros/latex/contrib/uni-titlepage/README.md b/macros/latex/contrib/uni-titlepage/README.md index 5b396a6fa9..b7305e2fc1 100644 --- a/macros/latex/contrib/uni-titlepage/README.md +++ b/macros/latex/contrib/uni-titlepage/README.md @@ -2,7 +2,7 @@ Copyright (c) Markus Kohm <komascript at gmx.info> -Release: 2022/01/24 v0.7b +Release: 2022/03/22 v1.0 License: LPPL 1.3c diff --git a/macros/latex/contrib/uni-titlepage/titlepage-DHBW.pdf b/macros/latex/contrib/uni-titlepage/titlepage-DHBW.pdf Binary files differindex 7f953a421f..8e74c0e66d 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-DHBW.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-DHBW.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-JT-Aufsaetze.pdf b/macros/latex/contrib/uni-titlepage/titlepage-JT-Aufsaetze.pdf Binary files differindex b02558e27e..d71006437f 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-JT-Aufsaetze.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-JT-Aufsaetze.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-JT-Geschichte.pdf b/macros/latex/contrib/uni-titlepage/titlepage-JT-Geschichte.pdf Binary files differindex 0acd1758cc..b26f3ef14d 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-JT-Geschichte.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-JT-Geschichte.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-JT-Typography.pdf b/macros/latex/contrib/uni-titlepage/titlepage-JT-Typography.pdf Binary files differindex 679dd6e5c7..af1fdea335 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-JT-Typography.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-JT-Typography.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-KIT.pdf b/macros/latex/contrib/uni-titlepage/titlepage-KIT.pdf Binary files differindex 69bf4a87be..9f1527a8a8 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-KIT.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-KIT.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-KOMAScript.pdf b/macros/latex/contrib/uni-titlepage/titlepage-KOMAScript.pdf Binary files differindex 7a2e4c3499..ebfbb6ed81 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-KOMAScript.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-KOMAScript.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-Markus-1.pdf b/macros/latex/contrib/uni-titlepage/titlepage-Markus-1.pdf Binary files differindex 29108aec67..7942a5cb70 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-Markus-1.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-Markus-1.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-Markus-2.pdf b/macros/latex/contrib/uni-titlepage/titlepage-Markus-2.pdf Binary files differindex 6f031043a7..5d2090588a 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-Markus-2.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-Markus-2.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-Spacer.pdf b/macros/latex/contrib/uni-titlepage/titlepage-Spacer.pdf Binary files differindex 3412a6166e..308aa0d6ff 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-Spacer.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-Spacer.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-TU-DD.pdf b/macros/latex/contrib/uni-titlepage/titlepage-TU-DD.pdf Binary files differindex b03e455eba..1157fdd76d 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-TU-DD.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-TU-DD.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-TU-HH.pdf b/macros/latex/contrib/uni-titlepage/titlepage-TU-HH.pdf Binary files differindex 2e5127e5bc..95cf4df9a8 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-TU-HH.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-TU-HH.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-UKoLa.pdf b/macros/latex/contrib/uni-titlepage/titlepage-UKoLa.pdf Binary files differindex ac410c1f71..1ee571f006 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-UKoLa.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-UKoLa.pdf diff --git a/macros/latex/contrib/uni-titlepage/titlepage-WWUM.pdf b/macros/latex/contrib/uni-titlepage/titlepage-WWUM.pdf Binary files differindex 58a10dfd38..9d497d28e1 100644 --- a/macros/latex/contrib/uni-titlepage/titlepage-WWUM.pdf +++ b/macros/latex/contrib/uni-titlepage/titlepage-WWUM.pdf diff --git a/macros/latex/contrib/uni-titlepage/uni-titlepage.dtx b/macros/latex/contrib/uni-titlepage/uni-titlepage.dtx index e1f4c342c3..20ebed49f9 100644 --- a/macros/latex/contrib/uni-titlepage/uni-titlepage.dtx +++ b/macros/latex/contrib/uni-titlepage/uni-titlepage.dtx @@ -17,27 +17,6 @@ % The Current Maintainer and author of this work is Markus Kohm. % % This work consists of the file `uni-titlepage.dtx'. -% -% ========================================================================== -% \fi^^A meta-comment -% -% \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 -% Lower-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 -% Digits \0\1\2\3\4\5\6\7\8\9 -% Exclamation \! Double quote \" Hash (number) \# -% Dollar \$ Percent \% Ampersand \& -% Acute accent \' Left paren \( Right paren \) -% Asterisk \* Plus \+ Comma \, -% Minus \- Point \. Solidus \/ -% Colon \: Semicolon \; Less than \< -% Equals \= Greater than \> Question mark \? -% Commercial at \@ Left bracket \[ Backslash \\ -% Right bracket \] Circumflex \^ Underscore \_ -% Grave accent \` Left brace \{ Vertical bar \| -% Right brace \} Tilde \~} -% -% \iffalse meta-comment % ========================================================================== %<*dtx|ins> \expandafter\ifx\csname ProvidesFile\endcsname\relax @@ -81,10 +60,10 @@ }[% %</!README> %<README> -%<README>Release: 2022/01/24 v0.7b +%<README>Release: 2022/03/22 v1.0 %<README> %<README>License: LPPL 1.3c -%<!README>2022/01/24 v0.7b +%<!README>2022/03/22 v1.0 %<README> KOMA presents the title page project %<*!README> @@ -94,8 +73,8 @@ KOMA presents the title page project % \fi^^A meta-comment % % \changes{v0.5f}{2021/07/29}{usage of \texttt{l3build}} -% \changes{v0.6}{2021/07/29}{package renamed from \Package{titlepage} into -% \Package{uni-titlepage}} +% \changes{v0.6}{2021/07/29}{package renamed from \pkg*{titlepage} into +% \pkg*{uni-titlepage}} % % \tableofcontents % @@ -103,12 +82,12 @@ KOMA presents the title page project % \label{sec:Loading-the-Package} % % You may load this package like all the other package, simply using: -% \begin{verbatim} +%\begin{verbatim} % \usepackage{uni-titlepage} -% \end{verbatim}\vskip-\baselineskip +%\end{verbatim} % % This package declares several options for title page manipulation. We will -% declare all those options in the following. Most of the options are package +% describe all those options in the following. Most of the options are package % options as well, but some are style options only. You may use every package % option already as optional argument of \cs{usepackage} and even of % \cs{documentclass}. But in most cases it would be better to use them as @@ -119,7 +98,7 @@ KOMA presents the title page project % \section{The Title Page Styles and their Options} % \label{sec:The-Title-Page-Style-and-their-Options} % -% \DescribeMacro{TitlePageStyle} +% \DescribeInterfaceMacro{TitlePageStyle} % Several title page styles are supported. You may select a title page style % using: % \begin{quote} @@ -130,7 +109,7 @@ KOMA presents the title page project % The available styles are shown at the following sub-sections. Options may be % every package option and every style option. % -% \DescribeMacro{maketitle} +% \DescribeInterfaceMacro{maketitle} % After loading a style you may generate title pages using: % \begin{quote} % \cs{maketitle}^^A @@ -140,8 +119,8 @@ KOMA presents the title page project % Again, you may use every package option and every style option as optional % argument. % -% \DescribeMacro{TitleOption} -% \DescribeMacro{TitleOptions} +% \DescribeInterfaceMacro{TitleOption} +% \DescribeInterfaceMacro{TitleOptions} % Another way to set an option is to use either % \begin{quote} % \cs{TitleOption}\marg{option}\marg{value} @@ -154,7 +133,7 @@ KOMA presents the title page project % You can set every package option an every option of already loaded title % page styles. % -% For every option, that expects a string argument exists a corresponding +% For every main option, that expects a string argument exists a corresponding % command with the same name. So you may set, e.g., the title either using % \cs{TitleOptions}\linebreak[2]\texttt{\{title=\{This is the Title\}\}} or % \cs{TitleOption}\linebreak[2]\texttt{\{title\}\linebreak[2]\{This is the @@ -162,10 +141,13 @@ KOMA presents the title page project % Title\}]} or \cs{TitlePageStyle}\linebreak[2]\texttt{[title=\{This is the % Title\}]\{\dots\}} or \cs{title}\linebreak[2]\texttt{\{This is the % Title\}}. The most robust way is to use the command \cs{title} instead of -% the option at one of the other commands! If you use the option you may need -% to add \cs{protect} in front of commands inside the option value! +% the option at one of the other commands. If you use the option you may need +% to add \cs{protect} in front of some commands inside the option value. But +% note: This is not valid for alias options like \texttt{student}, because +% alias options do not have a corresponding command! % -% \begin{xltabular}{\linewidth}{>{\ttfamily}l>{\ttfamily\raggedright}p{.25\linewidth}>{\RaggedRight}X} +% \begin{xltabular}{\linewidth} +% {>{\ttfamily}l>{\ttfamily\raggedright}p{.25\linewidth}>{\RaggedRight}X} % \toprule % \normalfont\emph{String Option} % & \normalfont\emph{Styles} @@ -265,7 +247,7 @@ KOMA presents the title page project % e.\,g., ``Naturwissenschaften'' % \tabularnewline % student & \normalfont\emph{see \texttt{author}} -% & same like \texttt{author} +% & alias option to \texttt{author} % \tabularnewline % subject & \normalfont\emph{every style} % & the kind of work, there are special @@ -294,13 +276,27 @@ KOMA presents the title page project % \tabularnewline % \end{xltabular} % +% \begin{description} +% \item[Note:] Depending on the used style some elements are mandatory. You will get +% an error message like +%\begin{verbatim} +% Package uni-titlepage Error: empty title element `author'. +%\end{verbatim} +% if such a mandatory element has not been set. In this case use either the +% option or the corresponding command to setup at least a dummy value, e.g. +%\begin{verbatim} +% \author{DON'T FORGET TO CHANGE THE AUTHOR} +%\end{verbatim} +% before the corresponding \cs{maketitle}. +% \end{description} +% % Let's have a look at the already defined title page styles. You should find % an example \LaTeX{} file for each of them at the documentation folder. If % not, ask you distributor or administrator for those! But you may find the -% code of all examples in \File{docstrip} syntax even at +% code of all examples in \pkg{docstrip} syntax even at % \autoref{sec:The-Examples-and-the-Manual} starting at % \autopageref{sec:The-Examples-and-the-Manual}. At the shown examples most -% variable contents was made red. +% variable contents have been made red. % % % \clearpage @@ -712,7 +708,7 @@ KOMA presents the title page project % Koblenz-Landau. At that time, I've made a package for the title they asked % for. The package has been published at % \url{https://komascript.de/unikoblenzlandau} only. In 2021, after I've -% published \Package{uni-titlepage}, it was time to implement this title also +% published \pkg{uni-titlepage}, it was time to implement this title also % as a title style definition. Note, this is not an official style of the % University Koblenz-Landau. Several referees can be separated by % \cs{and}. Female referees should be prefixed by \textsf{[f]}. @@ -737,7 +733,7 @@ KOMA presents the title page project % \section{Additonal Commands} % \label{sec:Additional-Commands} % -% \DescribeMacro{\NowButAfterBeginDocument} +% \DescribeInterfaceMacro{\NowButAfterBeginDocument} % Command % \begin{quote} % \cs{NowButAfterBeginDocument}\marg{code} @@ -773,13 +769,13 @@ KOMA presents the title page project % \end{quote} % is almost the same like above. But \texttt{fullsizetitle} removes the % margins from the generated title page. Nevertheless if binding correction -% (aka binding offset) of package \File{typearea} or \File{geometry} could be +% (aka binding offset) of package \pkg{typearea} or \pkg{geometry} could be % recognized, it will not be removed. Some of the title page styles use this % environment instead of \texttt{titlepage} inside \cs{maketitle}. With this % the margins of the title page do not depend on the type area of the % document. % -% \DescribeMacro{\usetitleelement} +% \DescribeInterfaceMacro{\usetitleelement} % Command % \begin{quote} % \cs{usetitleelement}\marg{element} @@ -796,7 +792,16 @@ KOMA presents the title page project % \texttt{student} isn't a main \meta{element}, because it's only an alias for % \texttt{author}. % -% \StopEventually{\PrintIndex\PrintChanges} +% \DescribeInterfaceMacro{\usenonemptytitleelement}\NewIn{v1.0} +% Command +% \begin{quote} +% \cs{usenonemptytitleelement}\marg{element} +% \end{quote} +% is a variant of \cs{usetitleelement} that not only reports an error for a +% not existing \meta{element} but also for an empty \meta{element}. It should +% be used to print mandatory elements. +% +% \MaybeStop{\PrintIndex\PrintChanges} % % \section{Implementation} % \label{sec:Implementation} @@ -805,22 +810,22 @@ KOMA presents the title page project % % Note: To generate all files, developers and beta testers should simply use % the source from \url{https://github.com/komascript/uni-titlepage} and call -% \begin{verbatim} +%\begin{verbatim} % l3build unpack % l3build doc -% \end{verbatim} +%\end{verbatim} % The resulting documentation will be placed in the main folder. The unpacked % style file are in \texttt{build/unpacked}, You can use -% \begin{verbatim} +%\begin{verbatim} % l3build install -% \end{verbatim} -% to install them in \texttt{TEXMFHOME}. See the manual of \Package{l3build} +%\end{verbatim} +% to install them in \texttt{TEXMFHOME}. See the manual of \pkg{l3build} % for more information. % % As an alternative you can use the source distribution from CTAN and run: -% \begin{verbatim} +%\begin{verbatim} % tex uni-titlepage.dtx -% \end{verbatim} +%\end{verbatim} % The documentation is usually part of the source distribution at CTAN. Note, % that all the generated \texttt{tex} files are example files. Do not copy % them to the run-time files but the documentation folder! @@ -831,7 +836,7 @@ KOMA presents the title page project %<*dtx|ins> % \fi ^^A meta-comment % First of all we produce \File{uni-titlepage.ins}, the installation driver. It -% starts very common with loading \File{docstrip}, preamble declaration and +% starts very common with loading \pkg{docstrip}, preamble declaration and % start of generation. % \begin{macrocode} \def\batchfile{uni-titlepage.dtx} @@ -848,7 +853,7 @@ KOMA presents the title page project } \preamble -Copyright (c) 2009-2021 by Markus Kohm <komascript(at)gmx.info> +Copyright (c) 2009-2022 by Markus Kohm <komascript(at)gmx.info> This file was generated from file(s) of uni-titlepage distribution. @@ -925,16 +930,16 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %</dtx|ins> % \fi^^A meta-comment % -% \subsection{The Package `\File{scrbase.sty}'} +% \subsection{The Package \pkg{scrbase}} % \label{sec:The-Package-scrbase.sty} % \iffalse meta-comment %<*package> % \fi^^A meta-comment % -% \begin{macro}{\TitleOptions} -% \begin{macro}{\TitleOption} +% \begin{imacro}{\TitleOptions} +% \begin{imacro}{\TitleOption} % We use the extended option handling of \KOMAScript, so we load package -% \File{scrbase} and declare a family, a member and a something like +% \pkg{scrbase} and declare a family, a member and a something like % \verb|\KOMAoptions| and \verb|\KOMAoption| but for this package. % \begin{macrocode} \RequirePackage{scrbase}[2014/12/03] @@ -943,8 +948,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \newcommand*{\TitleOptions}{\FamilyOptions{title}} \newcommand*{\TitleOption}{\FamilyOption{title}} % \end{macrocode} -% \end{macro} -% \end{macro} +% \end{imacro} +% \end{imacro} % % \begin{option}{pagenumber} % \begin{macrocode} @@ -955,7 +960,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % -% \begin{macro}{\titlepagestyle} +% \begin{imacro}{\titlepagestyle} % \begin{option}{pagestyle} % \begin{macrocode} \providecommand*{\titlepagestyle}{} @@ -965,7 +970,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } % \end{macrocode} % \end{option} -% \end{macro} +% \end{imacro} % % \begin{macro}{\if@resonecol} % \begin{macrocode} @@ -986,14 +991,14 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{environment} % -% \begin{macro}{\inittitle} -% \begin{macro}{\makepretitle} -% \begin{macro}{\makepretitleback} -% \begin{macro}{\makemaintitle} -% \begin{macro}{\makemaintitleback} -% \begin{macro}{\makeposttitle} -% \begin{macro}{\makeposttitleback} -% \begin{macro}{\exittitle} +% \begin{imacro}{\inittitle} +% \begin{imacro}{\makepretitle} +% \begin{imacro}{\makepretitleback} +% \begin{imacro}{\makemaintitle} +% \begin{imacro}{\makemaintitleback} +% \begin{imacro}{\makeposttitle} +% \begin{imacro}{\makeposttitleback} +% \begin{imacro}{\exittitle} % \begin{macro}{\tp@undefinedtitle} % Set of commands, that define a title style: % \begin{macrocode} @@ -1010,16 +1015,16 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \newcommand*{\exittitle}{} % \end{macrocode} % \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} % -% \begin{macro}{\inittitlestyle} +% \begin{imacro}{\inittitlestyle} % Will be called before loading a title style: % \begin{macrocode} \newcommand*{\inittitlestyle}{% @@ -1085,10 +1090,10 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } \inittitlestyle % \end{macrocode} -% \end{macro} +% \end{imacro} % % \begin{macro}{\titlebox} -% \begin{macro}{fullsizetitle} +% \begin{imacro}{\fullsizetitle} % New environment for full page titles (with respect to BCOR or % Gm@bindingoffset if defined) % \begin{macrocode} @@ -1149,11 +1154,11 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \end{titlepage} } % \end{macrocode} -% \end{macro} +% \end{imacro} % \end{macro} % -% \begin{macro}{\DefineSimpleTitleKey} -% \begin{macro}{\DefineReplaceTitleKey} +% \begin{imacro}{\DefineSimpleTitleKey} +% \begin{imacro}{\DefineReplaceTitleKey} % \begin{macro}{\tp@replacewarning} % \begin{macro}{\tp@dokeys} % Define title page ``variables'': @@ -1184,10 +1189,10 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{macro} % \end{macro} -% \end{macro} -% \end{macro} +% \end{imacro} +% \end{imacro} % -% \begin{macro}{\titlehead} +% \begin{imacro}{\titlehead} % \begin{macro}{\@titlehead} % \begin{option}{titlehead} % \begin{macrocode} @@ -1197,13 +1202,13 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\homepage} -% \changes{v0.3}{2012/07/05}{new command} +% \end{imacro} +% \begin{imacro}{\homepage} +% \changes{v0.3}{2012/07/05}{added} % \begin{macro}{\@homepage} -% \changes{v0.3}{2012/07/05}{new internal} +% \changes{v0.3}{2012/07/05}{added} % \begin{option}{homepage} -% \changes{v0.3}{2012/07/05}{new option} +% \changes{v0.3}{2012/07/05}{added} % \begin{macrocode} \providecommand*{\@homepage}{} \providecommand{\homepage}[1]{\gdef\@homepage{#1}} @@ -1211,8 +1216,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\title} +% \end{imacro} +% \begin{imacro}{\title} % \begin{macro}{\@title} % \begin{option}{title} % \begin{macrocode} @@ -1220,8 +1225,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\author} +% \end{imacro} +% \begin{imacro}{\author} % \begin{macro}{\@author} % \begin{option}{author} % \begin{macrocode} @@ -1229,8 +1234,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\date} +% \end{imacro} +% \begin{imacro}{\date} % \begin{macro}{\@date} % \begin{option}{date} % \begin{macrocode} @@ -1238,8 +1243,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\duration} +% \end{imacro} +% \begin{imacro}{\duration} % \begin{macro}{\@duration} % \begin{option}{duration} % \begin{macrocode} @@ -1247,8 +1252,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\course} +% \end{imacro} +% \begin{imacro}{\course} % \begin{macro}{\@course} % \begin{option}{course} % \begin{macrocode} @@ -1256,8 +1261,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\company} +% \end{imacro} +% \begin{imacro}{\company} % \begin{macro}{\@company} % \begin{option}{company} % \begin{macrocode} @@ -1265,8 +1270,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\subtitle} +% \end{imacro} +% \begin{imacro}{\subtitle} % \begin{macro}{\@subtitle} % \begin{option}{subtitle} % \begin{macrocode} @@ -1274,8 +1279,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\university} +% \end{imacro} +% \begin{imacro}{\university} % \begin{macro}{\@university} % \begin{option}{university} % \begin{macrocode} @@ -1283,8 +1288,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\faculty} +% \end{imacro} +% \begin{imacro}{\faculty} % \begin{macro}{\@faculty} % \begin{option}{faculty} % \begin{macrocode} @@ -1292,8 +1297,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\chair} +% \end{imacro} +% \begin{imacro}{\chair} % \begin{macro}{\@chair} % \begin{option}{chair} % \begin{macrocode} @@ -1301,8 +1306,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\professor} +% \end{imacro} +% \begin{imacro}{\professor} % \begin{macro}{\@professor} % \begin{option}{professor} % \begin{macrocode} @@ -1310,8 +1315,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\subject} +% \end{imacro} +% \begin{imacro}{\subject} % \begin{macro}{\@subject} % \begin{option}{subject} % \changes{v0.4c}{2012/12/18}{typing error fixed (mrpiggi)} @@ -1342,32 +1347,32 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\Ifstr} +% \end{imacro} +% \begin{imacro}{\Ifstr} % For compatibility with old versions of \textsf{scrbase} the macro is % provided based on \cs{ifstr} if it has not been defined by \textsf{scrbase}. % \begin{macrocode} \providecommand*{\Ifstr}{\ifstr} % \end{macrocode} -% \end{macro} +% \end{imacro} % \begin{option}{student} % \begin{macrocode} \DefineReplaceTitleKey{student}{author} % \end{macrocode} % \end{option} -% \begin{macro}{\sience} -% \changes{v0.5}{2016/06/21}{new} +% \begin{imacro}{\sience} +% \changes{v0.5}{2016/06/21}{added} % \begin{macro}{\@sience} -% \changes{v0.5}{2016/06/21}{new} +% \changes{v0.5}{2016/06/21}{added} % \begin{option}{sience} -% \changes{v0.5}{2016/06/21}{new} +% \changes{v0.5}{2016/06/21}{added} % \begin{macrocode} \DefineSimpleTitleKey{sience} % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\discipline} +% \end{imacro} +% \begin{imacro}{\discipline} % \begin{macro}{\@discipline} % \begin{option}{discipline} % \begin{macrocode} @@ -1375,8 +1380,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\academicgrade} +% \end{imacro} +% \begin{imacro}{\academicgrade} % \changes{v0.6}{2021/07/29}{renamed ``degree'' to ``academic grade'' to avoid % name clash with the degree symbol} % \begin{macro}{\@academicgrade} @@ -1390,8 +1395,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\matriculationnumber} +% \end{imacro} +% \begin{imacro}{\matriculationnumber} % \begin{macro}{\@matriculationnumber} % \begin{option}{matriculationnumber} % \begin{macrocode} @@ -1399,8 +1404,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\advisor} +% \end{imacro} +% \begin{imacro}{\advisor} % \begin{macro}{\@advisor} % \begin{option}{advisor} % \begin{macrocode} @@ -1408,8 +1413,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\referee} +% \end{imacro} +% \begin{imacro}{\referee} % \begin{macro}{\@referee} % \begin{option}{referee} % \begin{macrocode} @@ -1417,8 +1422,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\place} +% \end{imacro} +% \begin{imacro}{\place} % \begin{macro}{\@place} % \begin{option}{place} % \begin{macrocode} @@ -1426,8 +1431,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\publisher} +% \end{imacro} +% \begin{imacro}{\publisher} % \begin{macro}{\@publisher} % \begin{option}{publisher} % \begin{macrocode} @@ -1436,32 +1441,32 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\mainlogo} -% \changes{v0.4}{2012/07/24}{new} +% \end{imacro} +% \begin{imacro}{\mainlogo} +% \changes{v0.4}{2012/07/24}{added} % \begin{macro}{\@mainlogo} -% \changes{v0.4}{2012/07/24}{new (internal)} +% \changes{v0.4}{2012/07/24}{added} % \begin{option}{mainlogo} -% \changes{v0.4}{2012/07/24}{new} +% \changes{v0.4}{2012/07/24}{added} % \begin{macrocode} \DefineSimpleTitleKey{mainlogo} % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\secondlogo} -% \changes{v0.7}{2021/08/18}{new} +% \end{imacro} +% \begin{imacro}{\secondlogo} +% \changes{v0.7}{2021/08/18}{added} % \begin{macro}{\@secondlogo} -% \changes{v0.7}{2021/08/18}{new (internal)} +% \changes{v0.7}{2021/08/18}{added} % \begin{option}{secondlogo} -% \changes{v0.7}{2021/08/18}{new} +% \changes{v0.7}{2021/08/18}{added} % \begin{macrocode} \DefineSimpleTitleKey{secondlogo} % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\oralexaminationdate} +% \end{imacro} +% \begin{imacro}{\oralexaminationdate} % \begin{macro}{\@oralexaminationdate} % \begin{option}{oralexaminationdate} % \begin{macrocode} @@ -1469,8 +1474,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} -% \begin{macro}{\dedication} +% \end{imacro} +% \begin{imacro}{\dedication} % \begin{macro}{\@dedication} % \begin{option}{dedication} % \begin{macrocode} @@ -1480,12 +1485,12 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macrocode} % \end{option} % \end{macro} -% \end{macro} +% \end{imacro} % -% \begin{macro}{\usetitleelement} -% \changes{v0.4}{2012/04/24}{new} +% \begin{imacro}{\usetitleelement} +% \changes{v0.4}{2012/04/24}{added} % \begin{macro}{\@usetitleelement@error} -% \changes{v0.4}{2012/04/24}{new (internal)} +% \changes{v0.4}{2012/04/24}{added} % Users cannot simply use, e.g., \cs{@title}, \cs{@mainlogo} etc. So we need a % command to get them: % \begin{macrocode} @@ -1508,7 +1513,29 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } % \end{macrocode} % \end{macro} -% \end{macro} +% \end{imacro} +% +% \begin{imacro}{\usenonemptytitleelement} +% \changes{v1.0}{2022/03/22}{added} +% Sometimes we want to use a title element that must not be empty. +% \begin{macrocode} +\newcommand*{\usenonemptytitleelement}[1]{% + \expandafter\ifx\csname @#1\endcsname\@empty + \PackageError{uni-titlepage}{empty title element `#1'}{% + Title element `#1' is empty but mandatory for the used title page + style.\MessageBreak + So it must not be empty.\MessageBreak + Please see the manual for more information about assigning + values to\MessageBreak + main title elements via options or commands.\MessageBreak + If you'll continue, a \string\strut\space will be used.}% + \strut + \else + \usetitleelement{#1}% + \fi +} +% \end{macrocode} +% \end{imacro} % % Some variables use their own configurable font: % \begin{option}{titlepagefont} @@ -1563,7 +1590,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{macro} % \end{option} % -% \begin{macro}{\TitlePageStyle} +% \begin{imacro}{\TitlePageStyle} % Load a title page style from file % \begin{macrocode} \newcommand*{\TitlePageStyle}[2][]{% @@ -1586,9 +1613,9 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } } % \end{macrocode} -% \end{macro} +% \end{imacro} % -% \begin{macro}{\NowButAfterBeginDocument} +% \begin{imacro}{\NowButAfterBeginDocument} % Nice shortcut: % \begin{macrocode} \newcommand*{\NowButAfterBeginDocument}{% @@ -1599,65 +1626,65 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \fi } % \end{macrocode} -% \end{macro} +% \end{imacro} % % \begin{macrocode} \DeclareOption*{\expandafter\TitlePageStyle\expandafter{\CurrentOption}} \FamilyProcessOptions*\relax % \end{macrocode} % -% \begin{macro}{\chairmanname} -% \changes{v0.5}{2016/06/21}{new} +% \begin{imacro}{\chairmanname} +% \changes{v0.5}{2016/06/21}{added} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\projectpapername} +% \begin{imacro}{\projectpapername} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\seminarpapername} +% \begin{imacro}{\seminarpapername} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\studentreserchname} +% \begin{imacro}{\studentreserchname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\diplomathesisname} +% \begin{imacro}{\diplomathesisname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\degreethesisname} +% \begin{imacro}{\degreethesisname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\masterthesisname} +% \begin{imacro}{\masterthesisname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\bachelorthesisname} +% \begin{imacro}{\bachelorthesisname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\presentedbyname} +% \begin{imacro}{\presentedbyname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\advisorname} +% \begin{imacro}{\advisorname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\thename} +% \begin{imacro}{\thename} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\ofthename} +% \begin{imacro}{\ofthename} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\fromname} +% \begin{imacro}{\fromname} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\fromplacename} +% \begin{imacro}{\fromplacename} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\malerefereename} -% \changes{v0.5}{2016/06/21}{new} +% \begin{imacro}{\malerefereename} +% \changes{v0.5}{2016/06/21}{added} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\femalerefereename} -% \changes{v0.5}{2016/06/21}{new} +% \begin{imacro}{\femalerefereename} +% \changes{v0.5}{2016/06/21}{added} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\ordinalmalerefereename} -% \changes{v0.7}{2021/08/18}{new} -% \begin{macro}{\ordinalfemalerefereename} -% \changes{v0.7}{2021/08/18}{new} -% \begin{macro}{\refereename} +% \begin{imacro}{\ordinalmalerefereename} +% \changes{v0.7}{2021/08/18}{added} +% \begin{imacro}{\ordinalfemalerefereename} +% \changes{v0.7}{2021/08/18}{added} +% \begin{imacro}{\refereename} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\oralexaminationdatename} +% \begin{imacro}{\oralexaminationdatename} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\ordinal} +% \begin{imacro}{\ordinal} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\maleordinal} -% \changes{v0.5}{2016/06/21}{new} -% \begin{macro}{\femaleordinal} -% \changes{v0.5}{2016/06/21}{new} +% \begin{imacro}{\maleordinal} +% \changes{v0.5}{2016/06/21}{added} +% \begin{imacro}{\femaleordinal} +% \changes{v0.5}{2016/06/21}{added} % \changes{v0.5c}{2019/05/27}{not needed \cs{AtBeginDocument} removed} -% \begin{macro}{\indatename} -% \changes{v0.7}{2021/08/18}{new} +% \begin{imacro}{\indatename} +% \changes{v0.7}{2021/08/18}{added} % Language dependent terms: % \begin{macrocode} \providecommand*{\chairmanname}{Chairman} @@ -1811,25 +1838,26 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\indatename}{im}% % \end{macrocode} -% \begin{macro}{\englishordinalmalerefereename} -% \changes{v0.7}{2021/08/18}{new} +% \begin{imacro}{\englishordinalmalerefereename} +% \changes{v0.7}{2021/08/18}{added} % \begin{macrocode} \newcommand*{\englishordinalmalerefereename}[1]{% \englishordinal{#1} \refereename% } % \end{macrocode} -% \end{macro} -% \begin{macro}{\englishordinalfemalerefereename} -% \changes{v0.7}{2021/08/18}{new} +% \end{imacro} +% \begin{imacro}{\englishordinalfemalerefereename} +% \changes{v0.7}{2021/08/18}{added} % \begin{macrocode} \newcommand*{\englishordinalfemalerefereename}[1]{% \englishordinalmalereferename{#1}% } % \end{macrocode} -% \end{macro} -% \begin{macro}{\germanordinalmalerefereename} -% \changes{v0.7}{2021/08/18}{new} +% \end{imacro} +% \begin{imacro}{\germanordinalmalerefereename} +% \changes{v0.7}{2021/08/18}{added} % \changes{v0.7b}{2022/01/24}{missing \cs{fi} added} +% \changes{v0.7c}{2022/01/24}{orphan empty line removed} % \begin{macrocode} \newcommand*{\germanordinalmalerefereename}[1]{% \ifnum #1<\@ne @@ -1841,22 +1869,21 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \PackageError{uni-titlepage}{Ordinal of `#1' not defined}{% This package does only define German ordinal names for referees up to 4}% - \fi \fi } % \end{macrocode} -% \end{macro} -% \begin{macro}{\germanordinalfemalerefereename} -% \changes{v0.7}{2021/08/18}{new} +% \end{imacro} +% \begin{imacro}{\germanordinalfemalerefereename} +% \changes{v0.7}{2021/08/18}{added} % \begin{macrocode} \newcommand*{\germanordinalfemalerefereename}[1]{% \germanordinalfemalerefereename{#1}in% } % \end{macrocode} -% \end{macro} -% \begin{macro}{\germanordinalmalecorrectorname} -% \changes{v0.7}{2021/08/18}{new} +% \end{imacro} +% \begin{imacro}{\germanordinalmalecorrectorname} +% \changes{v0.7}{2021/08/18}{added} % \changes{v0.7b}{2022/01/24}{missing \cs{fi} added} % \begin{macrocode} \newcommand*{\germanordinalmalecorrectorname}[1]{% @@ -1873,16 +1900,16 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \fi } % \end{macrocode} -% \end{macro} -% \begin{macro}{\germanordinalfemalecorrectorname} -% \changes{v0.7}{2021/08/18}{new} +% \end{imacro} +% \begin{imacro}{\germanordinalfemalecorrectorname} +% \changes{v0.7}{2021/08/18}{added} % \begin{macrocode} \newcommand*{\germanordinalfemalecorrectorname}[1]{% \germanordinalmalecorrectorname{#1}in% } % \end{macrocode} -% \end{macro} -% \begin{macro}{\englishordinal} +% \end{imacro} +% \begin{imacro}{\englishordinal} % \begin{macrocode} \newcommand*{\englishordinal}[1]{% \ifcsname engordnumber\endcsname @@ -1904,10 +1931,10 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \fi } % \end{macrocode} -% \end{macro} -% \begin{macro}{\germanordinal} -% \begin{macro}{\germanmaleordinal} -% \begin{macro}{\germanfemaleordinal} +% \end{imacro} +% \begin{imacro}{\germanordinal} +% \begin{imacro}{\germanmaleordinal} +% \begin{imacro}{\germanfemaleordinal} % \begin{macrocode} \newcommand*{\germanordinal}[1]{% \ifnum #1<\@ne @@ -1938,33 +1965,33 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \fi } % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} % % \iffalse meta-comment %</package> @@ -2091,153 +2118,153 @@ You may however distribute the file `uni-titlepage.dtx' without this file. % \end{option} % % An some has their own terms: -% \begin{macro}{\presentationinformationUKoLA} -% \changes{v0.7}{2021/08/18}{new} -% \begin{macro}{\presentationinformationWWUM} +% \begin{imacro}{\presentationinformationUKoLA} +% \changes{v0.7}{2021/08/18}{added} +% \changes{v1.0}{2022/03/22}{using \cs{usenonemptytitleelement}} +% \begin{imacro}{\presentationinformationWWUM} % \changes{v0.5}{2016/06/21}{new style WWUM} -% \begin{macro}{\presentationinformationTUHH} +% \changes{v1.0}{2022/03/22}{using \cs{usenonemptytitleelement}} +% \begin{imacro}{\presentationinformationTUHH} % \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any % more} % \changes{v0.5}{2016/06/21}{provide sevaral English and German % languages} -% \begin{macro}{\presentationinformationDHBW} +% \changes{v1.0}{2022/03/22}{using \cs{usenonemptytitleelement}} +% \begin{imacro}{\presentationinformationDHBW} % \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any % more} % \changes{v0.5}{2016/06/21}{provide sevaral English and German languages} % \changes{0.5e}{2019/11/20}{\cs{if} replaced by \cs{ifx}} -% \begin{macro}{\presentationinformationKIT} +% \changes{v1.0}{2022/03/22}{using \cs{usenonemptytitleelement}} +% \begin{imacro}{\presentationinformationKIT} % \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any % more} % \changes{v0.5}{2016/06/21}{provide sevaral English and German languages} % \begin{macrocode} +% \changes{v1.0}{2022/03/22}{using \cs{usenonemptytitleelement}} %<*UKoLa> \providecommand*{\presentationinformationUKoLa}{% to optain the degree\\ - \@academicgrade\\ - of \@discipline\\ + \usenonemptytitleelement{academicgrade}\\ + of \usenonemptytitleelement{discipline}\\ } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationUKoLa}{% to optain the degree\\ - \@academicgrade\\ - of \@discipline\\ + \usenonemptytitleelement{academicgrade}\\ + of \usenonemptytitleelement{discipline}\\ }% \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationUKoLa}{% zur Erlangung des Grades eines\\ - \@academicgrade\\ - im Studiengang \@discipline\\ + \usenonemptytitleelement{academicgrade}\\ + im Studiengang \usenonemptytitleelement{discipline}\\ }% %</UKoLa> %<*DHBW> \providecommand*{\presentationinformationDHBW}{% for the \examinationname{} of\\[.5\baselineskip] - \@academicgrade\\[0pt plus 1fill] - of \@discipline\\[.5\baselineskip] - at the \@university{} \@place\\ + \usenonemptytitleelement{academicgrade}\\[0pt plus 1fill] + of \usenonemptytitleelement{discipline}\\[.5\baselineskip] + at the \usenonemptytitleelement{university}\ifx\@place\@empty\else\space\@place\fi } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationDHBW}{% for the \examinationname\\[.5\baselineskip] - \@academicgrade\\[0pt plus 1fill] - of degree course \@discipline\\[.5\baselineskip] - at the \@university\ifx\@place\@empty\else\space\@place\fi + \usenonemptytitleelement{academicgrade}\\[0pt plus 1fill] + of degree course \usenonemptytitleelement{discipline}\\[.5\baselineskip] + at the \usenonemptytitleelement{university}\ifx\@place\@empty\else\space\@place\fi }% \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationDHBW}{% f\"ur die \examinationname{} zum\\[.5\baselineskip] - \@academicgrade\\[0pt plus 1fill] - des Studienganges \@discipline\\[.5\baselineskip] - an der \@university{}\ifx\@place\@empty\else\space\@place\fi + \usenonemptytitleelement{academicgrade}\\[0pt plus 1fill] + des Studienganges \usenonemptytitleelement{discipline}\\[.5\baselineskip] + an der \usenonemptytitleelement{university}\ifx\@place\@empty\else\space\@place\fi }% %</DHBW> %<*TU-HH> \providecommand*{\presentationinformationTUHH}{% \iffinal Of the \else The \fi Graduation Committee of the\\ - \@university\\[.5ex] + \usenonemptytitleelement{university}\\[.5ex] to the Acquisition of the Academic Degree\\[.5ex] - \@academicgrade\\[.5ex] + \usenonemptytitleelement{academicgrade}\\[.5ex] \iffinal approved \else submitted \fi\@subject} \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationTUHH}{% \iffinal Of the \else The \fi Graduation Committee of the\\ - \@university\\[.5ex] + \usenonemptytitleelement{university}\\[.5ex] to the Acquisition of the Academic Degree\\[.5ex] - \@academicgrade\\[.5ex] + \usenonemptytitleelement{academicgrade}\\[.5ex] \iffinal approved \else submitted \fi\@subject} \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationTUHH}{% \iffinal Vom \else Dem \fi Promotionsausschuss der\\ - \@university\\[.5ex] + \usenonemptytitleelement{university}\\[.5ex] zur Erlangung des akademischen Grades\\[.5ex] - \@academicgrade\\[.5ex] + \usenonemptytitleelement{academicgrade}\\[.5ex] \iffinal genehmigte \else vorgelegte \fi\@subject}% %</TU-HH> %<*KIT> \providecommand*{\presentationinformationKIT}{% - At the \@faculty\\ + At the \usenonemptytitleelement{faculty}\\ \strut\ignorespaces\@chair\\ } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationKIT}{% - At the \@faculty\\ + At the \usenonemptytitleelement{faculty}\\ \strut\ignorespaces\@chair\\ }% \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationKIT}{% - An der \@faculty\\ + An der \usenonemptytitleelement{faculty}\\ \strut\ignorespaces\@chair\\ }% %</KIT> %<*WWUM> \providecommand*{\presentationinformationWWUM}{% - \@subject\\ + \usenonemptytitleelement{subject}\\ to the Aquisition of the Academic Degree\\ - \@academicgrade\\ - of the \@sience{} of \@discipline\\ - of the \@faculty{} faculty\\ - of the \@university + \usenonemptytitleelement{academicgrade}\\ + of the \usenonemptytitleelement{sience} of \usenonemptytitleelement{discipline}\\ + of the \usenonemptytitleelement{faculty} faculty\\ + of the \usenonemptytitleelement{university}% } \providecaptionname{american,australian,british,canadian,% english,newzealand,UKenglish,USenglish}{\presentationinformationWWUM}{% - \@subject\\ + \usenonemptytitleelement{subject}\\ to the Aquisition of the Academic Degree\\ - \@academicgrade\\ - of the \@sience{} of \@discipline\\ - of the \@faculty{} faculty\\ - of the \@university + \usenonemptytitleelement{academicgrade}\\ + of the \usenonemptytitleelement{sience} of \usenonemptytitleelement{discipline}\\ + of the \usenonemptytitleelement{faculty} faculty\\ + of the \usenonemptytitleelement{university}% } \providecaptionname{german,ngerman,austrian,naustrian,% swissgerman,nswissgerman}{\presentationinformationWWUM}{% - \@subject\\ - zur Erlangung des \@academicgrade\\ - der \@sience{} im Fachbereich \@discipline\\ - der \@faculty{} Fakult\"at\\ - der \@university + \usenonemptytitleelement{subject}\\ + zur Erlangung des \usenonemptytitleelement{academicgrade}\\ + der \usenonemptytitleelement{sience} im Fachbereich + \usenonemptytitleelement{discipline}\\ + der \usenonemptytitleelement{faculty} Fakult\"at\\ + der \usenonemptytitleelement{university}% } %</WWUM> % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \begin{macro}{\KITlongname} -% \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any -% more}^^A -% \changes{v0.5}{2016/06/21}{provide sevaral English and German -% languages}^^A -% \begin{macro}{\fromname} -% \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any -% more}^^A -% \changes{v0.5}{2016/06/21}{provide sevaral English and German -% languages}^^A -% \begin{macro}{\refereename} -% \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any -% more}^^A -% \changes{v0.5}{2016/06/21}{provide sevaral English and German -% languages}^^A -% \begin{macro}{\KITurl} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \begin{imacro}{\KITlongname} +% \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any more} +% \changes{v0.5}{2016/06/21}{provide sevaral English and German languages} +% \begin{imacro}{\fromname} +% \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any more} +% \changes{v0.5}{2016/06/21}{provide sevaral English and German languages} +% \begin{imacro}{\refereename} +% \changes{v0.5}{2016/06/21}{\cs{NowButAfterBeginDocument} not needed any more} +% \changes{v0.5}{2016/06/21}{provide sevaral English and German languages} +% \begin{imacro}{\KITurl} % \begin{macrocode} %<*KIT> \providecaptionname{american,australian,british,canadian,% @@ -2285,21 +2312,21 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \newcommand*{\KITurl}{www.kit.edu} %</KIT> % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} +% \end{imacro} +% \end{imacro} +% \end{imacro} +% \end{imacro} % -% \begin{macro}{\presentedbyname} +% \begin{imacro}{\presentedbyname} % \changes{v0.5}{2016/06/21}{changed value for \texttt{WWUM}} % \changes{v0.5a}{2016/06/22}{fixed \texttt{swissgerman} instead of % \texttt{swiss}} % \changes{v0.5b}{2018/08/31}{changes have to be delayed} % \changes{v0.7}{2021/08/18}{changed value also for \texttt{UKoLa}} -% \begin{macro}{\ordinalmalerefereename} +% \begin{imacro}{\ordinalmalerefereename} % \changes{v0.7}{2021/08/18}{changed value for \texttt{UKoLa}} % \changes{v0.7a}{2021/10/26}{typofix for \texttt{austrian}} -% \begin{macro}{\ordinalfemalerefereename} +% \begin{imacro}{\ordinalfemalerefereename} % \changes{v0.7}{2021/08/18}{changed value for \texttt{UKoLa}} % \changes{v0.7a}{2021/10/26}{typofix for \texttt{austrian}} % \begin{macrocode} @@ -2351,9 +2378,9 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } %</WWUM|UKoLa> % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} +% \end{imacro} +% \end{imacro} +% \end{imacro} % % While style initialization, something may change: % \begin{macrocode} @@ -2393,9 +2420,10 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %<TU-HH> Hamburg% %<KIT> Karlsruhe% %<*WWUM> - \PackageWarning{uni-titlepage}{Birth place missing.\MessageBreak - Style `WWUM' needs the birth place of\MessageBreak - the student}% + \PackageError{uni-titlepage}{Birth `place' missing}{% + Style `WWUM' needs the birth place of the student, so option `place=...' + resp.\MessageBreak + command `\string\place{...}' is mandatory}% %</WWUM> %<UKoLa> Koblenz% } @@ -2522,17 +2550,18 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } % \end{macrocode} % -% \begin{macro}{\publishers} +% \begin{imacro}{\publishers} % \KOMAScript{} defines this macro. But we use \verb|\publisher| instead. % \begin{macrocode} %<KOMAScript>\providecommand*{\publishers}{\publisher} % \end{macrocode} -% \end{macro} +% \end{imacro} % -% \begin{macro}{\makemaintitle} -% \changes{v0.2a}{2012/03/20}{\texttt{Markus-2}: \cs{leavevmode} added -% before \cs{subject@font} to avoid line break after \cs{subject@font} -% using package \textsf{color} or \textsf{xcolor}} +% \begin{imacro}{\makemaintitle} +% \changes{v0.2a}{2012/03/20}{\texttt{Markus-2}: \cs{leavevmode} added +% before \cs{subject@font} to avoid line break after \cs{subject@font} +% using package \textsf{color} or \textsf{xcolor}} +% \changes{v1.0}{2022/03/22}{\texttt{JT-Aufsaetze} allows empty author} % This differs from style to style: % \begin{macrocode} \renewcommand*{\makemaintitle}{% @@ -2554,24 +2583,24 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \centering \Large \vfill - {\titlefont{\Large\@title}}\par + {\titlefont{\Large\usenonemptytitleelement{title}}}\par \vfill - {\subject@font{\Large\@subject\par}}% + {\subject@font{\Large\usenonemptytitleelement{subject}\par}}% \vfill \presentationinformationDHBW\par \vfill \fromname\\[.5\baselineskip] - \@author\par + \usenonemptytitleelement{author}\par \vfill \@date\par \vfill \begin{tabular}{*2{p{.5\dimexpr\linewidth-3\tabcolsep\relax}}@{}} \durationname & \@duration \\[.5ex] - \matriculationnumbername, \coursename & \@matriculationnumber, - \@course\\[.5ex] - \companyname & \@company \\[.5ex] - \advisorname{} \ofthename{} \companyname & \@advisor \\[.5ex] - \refereename{} \ofthename{} \@university & \@referee + \matriculationnumbername, \coursename & \usenonemptytitleelement{matriculationnumber}, + \usenonemptytitleelement{course}\\[.5ex] + \companyname & \usenonemptytitleelement{company} \\[.5ex] + \advisorname{} \ofthename{} \companyname & \usenonemptytitleelement{advisor} \\[.5ex] + \refereename{} \ofthename{} \@university & \usenonemptytitleelement{referee} \end{tabular} \end{minipage} %</DHBW> @@ -2588,7 +2617,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. {\subject@font{\@subject \par}}% \vskip 3em \fi - {\titlefont{\huge \@title\par}}% + {\titlefont{\huge \usenonemptytitleelement{title}\par}}% \vskip 1em {\ifx\@subtitle\@empty\else\@subtitlefont{\@subtitle}\par\fi}% \vskip 2em @@ -2646,7 +2675,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \strut\ignorespaces\advisorname\unskip:\strut\\ \hspace*{.25\linewidth}\quad \begin{tabular}{@{}l@{}} - \strut\ignorespaces\@advisor\unskip\strut\\ + \strut\ignorespaces\usenonemptytitleelement{advisor}\unskip\strut\\ \end{tabular} \vskip2\baselineskip \hspace*{.25\linewidth}% @@ -2666,23 +2695,23 @@ You may however distribute the file `uni-titlepage.dtx' without this file. {\Large\presentationinformationTUHH\\} \vspace{2.5cm} {\Large\strut\ignorespaces\fromname\\ - \strut\ignorespaces\@author\\} + \strut\ignorespaces\usenonemptytitleelement{author}\\} \vspace{2.5cm} {\Large\strut\ignorespaces\fromplacename\\ - \strut\ignorespaces\@place\\} + \strut\ignorespaces\usenonemptytitleelement{place}\\} \vspace{2.5cm} {\Large\@date} %</TU-HH> %<*WWUM> \centering - \@chair\\ + \usenonemptytitleelement{chair}\\ \vspace{2cm} - \@title\\ + \usenonemptytitleelement{title}\\ \vfill \presentationinformationWWUM\\ \vfill \presentedbyname\\ - \@author\\ + \usenonemptytitleelement{author}\\ \ifx\@place\@empty\else\fromplacename{} \@place\\\fi --\,\the\year\,-- %</WWUM> @@ -2709,7 +2738,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %<*Spacer> \ifx\@titlehead\@empty\else % \end{macrocode} -% \changes{v0.4a}{2012/09/05}{fix influence of height of titlehead to +% \changes{v0.4a}{2012/09/05}{fix influence of height of titlehead to % vertical alignment of rule} % \begin{macrocode} \raisebox{\dimexpr\ht\strutbox-\totalheight\relax}{% @@ -2757,9 +2786,9 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \vskip 25mm {\@titlepagefont\@title\par}% \vskip 20mm - {\Large\@subject\\\fromname\par} + {\Large\@subject\par\fromname\par} \vskip 1cm - {\huge\@author\par} + {\huge\usenonemptytitleelement{author}\par} \vskip 1cm {\Large\presentationinformationKIT\par} \vskip 2cm @@ -2787,16 +2816,17 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %</KIT> %<*JT-Aufsaetze> \centering - \@author\\ - \begin{picture}(\title@rulewidth\@gobble, - \dimexpr .3ex+1pt+\title@rulesep\relax\@gobble) - \put(0,\dimexpr .15ex+.5pt+\title@rulesep\relax\@gobble){% - \linethickness{.3ex}\line(1,0){\title@rulewidth\@gobble}% - }% - \put(0,0){% - \linethickness{1pt}\line(1,0){\title@rulewidth\@gobble}% - }% - \end{picture}\\[\baselineskip] + \ifx\@author\@empty\else\@author\\ + \begin{picture}(\title@rulewidth\@gobble, + \dimexpr .3ex+1pt+\title@rulesep\relax\@gobble) + \put(0,\dimexpr .15ex+.5pt+\title@rulesep\relax\@gobble){% + \linethickness{.3ex}\line(1,0){\title@rulewidth\@gobble}% + }% + \put(0,0){% + \linethickness{1pt}\line(1,0){\title@rulewidth\@gobble}% + }% + \end{picture}\\[\baselineskip] + \fi {\titlefont{\@title\par}}% \vfill \@publisher @@ -2822,12 +2852,12 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %</JT-Geschichte> %<*JT-Typography> \raggedright - {\Large\MakeUppercase{\@author}\\[\baselineskip]} + {\Large\MakeUppercase{\@author}\unskip\strut\\[\baselineskip]} {\titlefont{\Huge\MakeUppercase{\@title}\unskip\strut\\}} - {\@subtitlefont{\normalsize\MakeUppercase{\@subtitle}\\}} + {\@subtitlefont{\normalsize\MakeUppercase{\@subtitle}\unskip\strut\\}} \vfill {\normalsize\MakeUppercase{\@place}\ifx\@place\@empty\else\enskip\fi - {\LARGE\MakeUppercase{\@date}} + {\LARGE\MakeUppercase{\@date}}% \ifx\@publisher\@empty\else\unskip\strut\\[1.5\baselineskip] \MakeUppercase{\@publisher}% \fi} @@ -2849,7 +2879,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \presentationinformationUKoLa\par \vspace{5\baselineskip} \presentedbyname\\[\baselineskip] - {\Large\csname @authorfont\endcsname{\@author\par}}% + {\Large\csname @authorfont\endcsname{\usenonemptytitleelement{author}\par}}% \vfill \raggedright \@hangfrom{\advisorname: }{\@advisor\par}% @@ -2871,16 +2901,16 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %</KOMAScript|Markus|Spacer|JT-Aufsaetze|JT-Geschichte|JT-Typography|WWUM|UKoLa> } % \end{macrocode} -% \end{macro} +% \end{imacro} % % Some of the styles need additional string options for the back of the main % title. These are more structural than logical, so we do not define those % globally! % \begin{option}{uppertitleback} -% \begin{macro}{\uppertitleback} +% \begin{imacro}{\uppertitleback} % \begin{macro}{\@uppertitlebacke} % \begin{option}{lowertitleback} -% \begin{macro}{\lowertitleback} +% \begin{imacro}{\lowertitleback} % \begin{macro}{\@lowertitleback} % \begin{macrocode} %<*KOMAScript|Markus|Spacer> @@ -2909,13 +2939,13 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %</KOMAScript|Markus|Spacer> % \end{macrocode} % \end{macro} -% \end{macro} +% \end{imacro} % \end{option} % \end{macro} -% \end{macro} +% \end{imacro} % \end{option} % -% \begin{macro}{\makemaintitleback} +% \begin{imacro}{\makemaintitleback} % \changes{v0.5e}{2019/11/20}{\cs{ifstr} in \textsf{scrbase} renamed to % \cs{Ifstr}} % Only some of the styles define this: @@ -2981,12 +3011,12 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } %</WWUM> % \end{macrocode} -% \end{macro} +% \end{imacro} % % Some of the styles need additional string options for the pre title. These % are more structural than logical, so we do not define those globally! % \begin{option}{extratitle} -% \begin{macro}{\extratitle} +% \begin{imacro}{\extratitle} % \begin{macro}{\@extratitle} % \begin{macrocode} %<*KOMAScript|Markus&2|Spacer|JT-Aufsaetze|JT-Geschichte|JT-Typography> @@ -3003,15 +3033,15 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %</KOMAScript|Markus&2|Spacer|JT-Aufsaetze|JT-Geschichte|JT-Typography> % \end{macrocode} % \end{macro} -% \end{macro} +% \end{imacro} % \end{option} % -% \begin{macro}{\makepretitle} -% \changes{v0.2a}{2012/03/20}{\texttt{Markus-1}: Usage of -% \cs{@titlepagefont} fixed} -% \changes{v0.4b}{2012/09/18}{\texttt{Markus-1}: publisher page may be -% omitted} -% \begin{macro}{\makepretitleback} +% \begin{imacro}{\makepretitle} +% \changes{v0.2a}{2012/03/20}{\texttt{Markus-1}: Usage of +% \cs{@titlepagefont} fixed} +% \changes{v0.4b}{2012/09/18}{\texttt{Markus-1}: publisher page may be +% omitted} +% \begin{imacro}{\makepretitleback} % Only some styles have pre titles: % \begin{macrocode} %<*KOMAScript|Markus&2|Spacer|JT-Aufsaetze|JT-Geschichte|JT-Typography> @@ -3041,14 +3071,14 @@ You may however distribute the file `uni-titlepage.dtx' without this file. \vspace*{.33\vsize}% \centering - \@author\\[1ex] - \@title\\[1ex] + \usenonemptytitleelement{author}\\[1ex] + \usenonemptytitleelement{title}\\[1ex] \the\year \end{fullsizetitle} } %</WWUM> % \end{macrocode} -% \end{macro} +% \end{imacro} % \begin{macrocode} %<*KOMAScript|Markus&2|Spacer|JT-Aufsaetze|JT-Geschichte|JT-Typography> \renewcommand*{\makepretitleback}{% @@ -3075,10 +3105,10 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } %</WWUM> % \end{macrocode} -% \end{macro} +% \end{imacro} % -% \begin{macro}{\makeposttitle} -% \begin{macro}{\makeposttitleback} +% \begin{imacro}{\makeposttitle} +% \begin{imacro}{\makeposttitleback} % And only some styles provides one more title page with dedication. % \begin{macrocode} %<*KOMAScript|Markus|Spacer|JT-Aufsaetze|JT-Geschichte|JT-Typography> @@ -3096,8 +3126,8 @@ You may however distribute the file `uni-titlepage.dtx' without this file. } %</KOMAScript|Markus|Spacer|JT-Aufsaetze|JT-Geschichte|JT-Typography> % \end{macrocode} -% \end{macro} -% \end{macro} +% \end{imacro} +% \end{imacro} % % \iffalse meta-comment %</driver> @@ -3109,15 +3139,25 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %<*doc|README> %<*example> % \fi^^A meta-comment -% \changes{v0.7}{2021/08/18}{don't use \Package{inputenc} any longer} +% \changes{v0.7}{2021/08/18}{don't use \pkg{inputenc} any longer} +% \changes{v1.0}{2022/03/22}{prepared for engines using \texttt{tu} encoding} % \begin{macrocode} \documentclass[a4paper,pagesize]{scrbook} \usepackage[ngerman]{babel} -\usepackage[T1]{fontenc} -\usepackage{lmodern} -%<JT-Geschichte>\usepackage{microtype} +\usepackage{iftex} +\iftutex +%<*TU-HH|TU-DD> + \usepackage{fontspec} + \setmainfont{TeX Gyre Termes} + \setsansfont{TeX Gyre Heros} +%</TU-HH|TU-DD> +\else + \usepackage[T1]{fontenc} + \usepackage{lmodern} %<TU-HH|TU-DD>\usepackage{mathpazo} %<TU-HH|TU-DD>\usepackage[scaled]{helvet} +\fi +%<JT-Geschichte>\usepackage{microtype} %<DHBW|Spacer|KIT|UKoLa>\usepackage[demo]{graphicx}% remove option demo if you have the logo \usepackage{xcolor} %<JT-Geschichte|JT-Typography>\colorlet{RED}{red}% because of \MakeUppercase{\textcolor{red}{…}} @@ -3199,6 +3239,7 @@ You may however distribute the file `uni-titlepage.dtx' without this file. title=\textcolor{red}{Titel im Stil \texttt{TU-HH}}, university=\textcolor{red}{Technischen Universität Hamburg-Harburg}, subject=degree, + author=\textcolor{red}{Vorname und Name}, academicgrade=\textcolor{red}{Doktor der Naturwissenschaften (Dr.\,rer.\,nat\,)}, place=\textcolor{red}{(Geburtsort)}, date=\textcolor{red}{(aktuelles Jahr)}, @@ -3391,30 +3432,50 @@ You may however distribute the file `uni-titlepage.dtx' without this file. %<*manual|README> % \fi^^A meta-comment % +% \changes{v1.0}{2022/03/22}{using class \pkg{ltxdoc} instead of \File{scrdoc}} % \begin{macrocode} %<*!README> -\documentclass{scrdoc} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{lmodern} +\documentclass{ltxdoc} +\IfPackageAtLeastTF{doc}{2022/01/01}{}{% + \errhelp{To avoid this error message, use doc.sty v3 instead of v2}% + \errmessage{Package `doc' is to old!}% +} \usepackage[english]{babel} \usepackage{xltabular} \usepackage{ragged2e} \usepackage{booktabs} \usepackage{graphicx} -\usepackage{hypdoc} +\usepackage{hvlogos} +\newcommand*\NewIn[1]{\leavevmode\marginpar{\footnotesize\hfill added in #1}} +\newcommand*\ChangedIn[1]{\leavevmode\marginpar{\footnotesize\hfill changed in + #1}} +\NewDocElement[macrolike = true, + toplevel = false, + idxtype = , + idxgroup = User commands, + printtype = + ]{InterfaceMacro}{imacro} +\NewDocElement[macrolike = false, + toplevel = false, + idxtype = opt., + idxgroup = Title options, + printtype = \textit{opt.} + ]{Option}{option} +\NewDocumentCommand{\pkg}{sO{https://www.ctan.org/pkg/#3}m}{% + \IfBooleanTF{#1}{\@gobble}{% + \csname tl_if_blank:nTF\endcsname{#2}{\@gobble}{\href}% + }% + {#2}{\textsf{#3}}% +} +\newcommand*{\File}{\texttt} \CodelineIndex \RecordChanges \EnableCrossrefs \GetFileInfo{uni-titlepage.drv} \begin{document} -\title{More Titlepage Styles with Package \File{uni-titlepage}\footnote{This is file - version \fileversion{} of file \File{\filename}.}} -\author{Markus Kohm\footnote{Markus Kohm \textless komascript\textcircled{\tiny - at}gmx.info\textgreater}} -\date{\fileversion{}\footnote{\textbf{Note:} All version below 0.9 are ALPHA - versions. Everything may change. Everything may break. Everything may - happen.} \filedate} +\title{More Titlepage Styles with Package \pkg{uni-titlepage}} +\author{\href{mailto:komascript@gmx.info}{Markus Kohm}} +\date{\fileversion{} \filedate} \maketitle \begin{abstract} %</!README> diff --git a/macros/latex/contrib/uni-titlepage/uni-titlepage.pdf b/macros/latex/contrib/uni-titlepage/uni-titlepage.pdf Binary files differindex 4d320401e8..26afae0d0e 100644 --- a/macros/latex/contrib/uni-titlepage/uni-titlepage.pdf +++ b/macros/latex/contrib/uni-titlepage/uni-titlepage.pdf diff --git a/macros/luatex/latex/letgut/README.md b/macros/luatex/latex/letgut/README.md index 83e3c69e9d..9d38f9500d 100644 --- a/macros/luatex/latex/letgut/README.md +++ b/macros/luatex/latex/letgut/README.md @@ -9,7 +9,7 @@ GUTenberg” with the current main font. Release ------- -2022-03-18 v0.9 +2022-03-22 v0.9.1 Development ----------- diff --git a/macros/luatex/latex/letgut/doc/CHANGELOG.md b/macros/luatex/latex/letgut/doc/CHANGELOG.md index 3aa86a9425..a1090d0052 100644 --- a/macros/luatex/latex/letgut/doc/CHANGELOG.md +++ b/macros/luatex/latex/letgut/doc/CHANGELOG.md @@ -7,6 +7,12 @@ Versioning](http://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.9.1] - 2022-03-22 + +### Changed +File renamed (Karl Berry request) + ## [0.9] - 2022-03-18 -### Added First public testing release +### Added +First public testing release diff --git a/macros/luatex/latex/letgut/doc/letgut-banner-code.pdf b/macros/luatex/latex/letgut/doc/letgut-banner-code.pdf Binary files differnew file mode 100644 index 0000000000..4d8ed77780 --- /dev/null +++ b/macros/luatex/latex/letgut/doc/letgut-banner-code.pdf diff --git a/macros/luatex/latex/letgut/doc/letgut-banner-code.tex b/macros/luatex/latex/letgut/doc/letgut-banner-code.tex new file mode 100644 index 0000000000..aab61f0276 --- /dev/null +++ b/macros/luatex/latex/letgut/doc/letgut-banner-code.tex @@ -0,0 +1,806 @@ +% Created 2022-03-22 mar. 11:25 +% Intended LaTeX compiler: lualatex +\documentclass{letgut} + \setmainfont{KpRoman} +\setsansfont{KpSans} +\setmonofont[Scale = MatchLowercase]{RobotoMono} +\letgutsetup{editorial=false} +\input{listings-conf} +\author{Association GUTenberg} +\date{\today} +\title{Support for the banner of the newsletter “La Lettre de GUTenberg”} +\begin{document} + + +\section{Identification} +\label{sec:org4c9ba67} + +\begin{lstlisting} +% This is file `letgut.cls', +% generated with the Emacs Org-babel utility. +% +% The original source file is letgut-banner.org +% +% -------------:| --------------------------------------------------- +% letgut-banner:| Package for the banner of the newsletter +% | “La Lettre GUTenberg” +% Author:| Association GUTenberg +% E-mail:| secretariat@gutenberg.eu.org +% License:| Released under the LaTeX Project Public License +% | v1.3c or later +% See:| http://www.latex-project.org/lppl.txt +% +% Copyright (C) 1994-2022 by Association GUTenberg +% <secretariat@gutenberg.eu.org> +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (LPPL), either +% version 1.3c of this license or (at your option) any later +% version. The latest version of this license is in the file: +% +% http://www.latex-project.org/lppl.txt +% +% This work is “maintained” (as per LPPL maintenance status) +% by Association GUTenberg. +\end{lstlisting} + +\section{Implementation} +\label{sec:orgb1ea800} + +These document classes can only be used with \LaTeXe, so we make +sure that an appropriate message is displayed when another \TeX{} +format is used. + +\begin{lstlisting} +\NeedsTeXFormat{LaTeX2e}[2020-10-01] +\end{lstlisting} + +Now, we can announce the package name and its version: + +\begin{lstlisting} +\ProvidesExplPackage{letgut-banner} +{2022-03-22} +{0.9.1} +{ + Package for the banner of the newsletter “La Lettre de GUTenberg” +} +\end{lstlisting} + +\subsection{Packages loaded} +\label{sec:org09b0cd2} + +In order to provide class options, we load the \package{l3keys2e} which provides +\LaTeXe{} option processing using \LaTeX3 keys: + +\begin{lstlisting} +\RequirePackage{l3keys2e} +\end{lstlisting} + +Till the Lua-based color will be added to the core \package{l3color} approach, +we have to rely on \package{xcolor} + +\begin{lstlisting} +\RequirePackage{xcolor} +\end{lstlisting} + +We want the material added to the first page to be not selectable in order to let the +reader who wants to copy the interesting text be able to select it (see below). + +\begin{lstlisting} +\RequirePackage{accsupp} +\end{lstlisting} + +What follows has to be done at this end of the preamble, otherwise the font set +with \lstinline+\setmainfont+ in the preamble isn't taken in account in the banner. + +We define an option for the color of the text in the “L” (that has to be the +same as the page color of the document). + +\begin{lstlisting} +\keys_define:nn { letgut-banner } +{ + , pagecolor .clist_gset:N = \g__letgutbanner_pagecolor_clist + , pagecolor .initial:n = { 1,1,1 } +} +\ProcessKeysOptions { letgut-banner } +\end{lstlisting} + +\begin{lstlisting} +\AddToHook{begindocument}{ +\end{lstlisting} + +\begin{lstlisting} +\cs_generate_variant:Nn \color_fill:nn { nV } +\end{lstlisting} + +\subsection{Declarations} +\label{sec:org61842b5} + +\subsubsection{Dimensions} +\label{sec:org447090b} + +\begin{lstlisting} +\dim_new:N \g__letgutbanner_area_height_dim +\dim_new:N \g__letgutbanner_La_height_dim +\dim_new:N \g__letgutbanner_La_depth_dim +\dim_new:N \g__letgutbanner_La_yoffset_dim +\dim_new:N \g__letgutbanner_banner_vertical_contents_width_dim +\dim_new:N \g__letgutbanner_largest_LETR_box_height_dim +\dim_new:N \g__letgutbanner_between_letters_yoffset_dim +\dim_new:N \g__letgutbanner_between_letters_vertical_space_dim +\dim_new:N \g__letgutbanner_banner_padding_dim +\dim_if_exist:NF \g__letgutbanner_first_page_shrink_dim { + \dim_new:N \g__letgutbanner_first_page_shrink_dim +} +\end{lstlisting} + +\begin{itemize} +\item Dimensions of the page. If the present package is used with the +\class*{letgut}, they are borrowed from it. Otherwise, they are set to default +values. For this, we first generate a variant of \lstinline+\dim_const:Nn+ (see +\url{https://github.com/latex3/latex3/issues/947\#issuecomment-860950569}). +\begin{lstlisting} +\cs_generate_variant:Nn \dim_const:Nn { NV } +\dim_if_exist:NTF \c__letgut_textheight_dim { + \dim_const:NV \c__letgutbanner_textheight_dim + \c__letgut_textheight_dim +}{ + \dim_const:Nn \c__letgutbanner_textheight_dim + { 25cm } +} +\dim_if_exist:NTF \c__letgut_textwidth_dim { + \dim_const:NV \c__letgutbanner_textwidth_dim + \c__letgut_textwidth_dim +}{ + \dim_const:Nn \c__letgutbanner_textwidth_dim + { 14cm } +} +\dim_if_exist:NTF \c__letgut_lmargin_dim { + \dim_const:NV \c__letgutbanner_lmargin_dim + \c__letgut_lmargin_dim +}{ + \dim_const:Nn \c__letgutbanner_lmargin_dim + { 5cm } +} +\dim_if_exist:NTF \c__letgut_tmargin_dim { + \dim_const:NV \c__letgutbanner_tmargin_dim + \c__letgut_tmargin_dim +}{ + \dim_const:Nn \c__letgutbanner_tmargin_dim + { 2.92cm } + % \dim_const:Nn \c__letgutbanner_tmargin_dim + % { 3cm } +} +\dim_if_exist:NTF \c__letgut_head_dim { + \dim_const:NV \c__letgutbanner_head_dim + \c__letgut_head_dim +}{ + \dim_const:Nn \c__letgutbanner_head_dim + { 0.6cm } +} +\dim_if_exist:NTF \c__letgut_headsep_dim { + \dim_const:NV \c__letgutbanner_headsep_dim + \c__letgut_headsep_dim +}{ + \dim_const:Nn \c__letgutbanner_headsep_dim + { 0.82cm } + % \dim_const:Nn \c__letgutbanner_headsep_dim + % { 0.9cm } +} +\dim_if_exist:NTF \c__letgut_marginparwidth_dim { + \dim_const:NV \c__letgutbanner_marginparwidth_dim + \c__letgut_marginparwidth_dim +}{ + \dim_const:Nn \c__letgutbanner_marginparwidth_dim + { 3.74cm } +} +\end{lstlisting} +\item Dimensions of the banner. If the present package is used with the +\class*{letgut}, they are borrowed from it. Otherwise, they are set to +default values. +\begin{itemize} +\item Thickness of the “L”. +\begin{lstlisting} +\dim_if_exist:NTF \c__letgut_banner_thickness_dim { + \dim_const:NV \c__letgutbanner_banner_thickness_dim + \c__letgut_banner_thickness_dim +}{ + \dim_const:Nn \c__letgutbanner_banner_thickness_dim + { 4cm } +} +\end{lstlisting} +\item Height of the “L” (that of the text area plus 3cm). +\begin{lstlisting} +\dim_if_exist:NTF \c__letgut_banner_height_dim { + \dim_const:NV \c__letgutbanner_banner_height_dim + \c__letgut_banner_height_dim +}{ + \dim_const:Nn \c__letgutbanner_banner_height_dim { + \c__letgutbanner_textheight_dim + + + 3cm + } +} +\end{lstlisting} +\item Initial padding of the text embedded in the vertical bar of the “L”. +\begin{lstlisting} +\dim_const:Nn \c__letgutbanner_banner_padding_dim { .25cm } +\end{lstlisting} +\item Width of the “L” (the width (\(w\)) of the text zone plus the width (\(l\)) of +the left margin minus half the difference between the width of the left +margin and the width (\(d\)) of the “L”: \(=w+l-(l-d)/2=w+(l+d)/2\)). +\begin{lstlisting} +\dim_const:Nn \c__letgutbanner_banner_width_dim { + \c__letgutbanner_textwidth_dim + + + ( + \c__letgutbanner_banner_thickness_dim + + + \c__letgutbanner_lmargin_dim + )/2 +} +\end{lstlisting} +\item Initial width of the text embedded in the “L” vertical bar. +\begin{lstlisting} +\dim_const:Nn +\c__letgutbanner_banner_vertical_contents_width_dim { + \c__letgutbanner_banner_thickness_dim + - + 2\c__letgutbanner_banner_padding_dim +} +\end{lstlisting} +\item Width of the text embedded in the horizontal bar of the “L” (of the text +area plus half the difference between that of the left margin and that of +the thickness of the “L”, minus the padding -- and not 2 times the +padding because this text will be stuck to its left “margin”). +\begin{lstlisting} +\dim_const:Nn +\c__letgutbanner_banner_horizontal_contents_width_dim { + \c__letgutbanner_textwidth_dim + - ( + \c__letgutbanner_banner_thickness_dim + - + \c__letgutbanner_lmargin_dim + )/2 + - + \c__letgutbanner_banner_padding_dim +} +\end{lstlisting} +\end{itemize} +\end{itemize} + +\subsubsection{Boxes} +\label{sec:org5711d86} + +New boxes, for each of the letters in the word “LETTRE” (!), and then for the +rest of the content listed in the banner. +\begin{lstlisting} +\box_new:N \g__letgutbanner_L_box +\box_new:N \g__letgutbanner_E_box +\box_new:N \g__letgutbanner_T_box +\box_new:N \g__letgutbanner_R_box +\box_new:N \g__letgutbanner_La_box +\box_new:N \g__letgutbanner_GUTenberg_box +\box_new:N \g__letgutbanner_largest_LETR_box +\box_new:N \g__letgutbanner_g_box +\end{lstlisting} + +\subsubsection{Floating point numbers} +\label{sec:orge5b5c6b} + +\begin{itemize} +\item Minimum percentage of the common height of the letters of the word “LETTRE” +that their line spacing must represent. +\end{itemize} +\begin{lstlisting} +\fp_const:Nn \c__letgutbanner_leading_minimum_percent_fp { 0.15 } +\end{lstlisting} +\begin{itemize} +\item Factor applied to the line spacing between “La” and the 1st letter of +“LETTRE” compared to that between the letters of “LETTRE”. +\end{itemize} +\begin{lstlisting} +\fp_const:Nn \c__letgutbanner_leading_La_factor_fp { 1.5 } +\end{lstlisting} + +\subsection{Application des dimensions de la page} +\label{sec:orgbda0ae2} + +\begin{lstlisting} +\geometry{ + asymmetric, + textheight = \c__letgutbanner_textheight_dim, + textwidth = \c__letgutbanner_textwidth_dim, + lmargin = \c__letgutbanner_lmargin_dim, + tmargin = \c__letgutbanner_tmargin_dim, + head = \c__letgutbanner_head_dim, + headsep = \c__letgutbanner_headsep_dim, + marginparwidth= \c__letgutbanner_marginparwidth_dim, + % showframe, + % verbose, +} +\end{lstlisting} + +\subsection{Filling of the boxes} +\label{sec:orgb3e9382} +\begin{lstlisting} +\hbox_gset:Nn \g__letgutbanner_L_box { \textbf{L} } +\hbox_gset:Nn \g__letgutbanner_E_box { \textbf{E} } +\hbox_gset:Nn \g__letgutbanner_T_box { \textbf{T} } +\hbox_gset:Nn \g__letgutbanner_R_box { \textbf{R} } +\hbox_gset:Nn \g__letgutbanner_La_box { \textbf{\textit{La}} } +\hbox_gset:Nn \g__letgutbanner_GUTenberg_box { + \textbf{\textit{GUTenberg}} +} +\hbox_gset:Nn \g__letgutbanner_g_box { \textbf{g} } +\end{lstlisting} + +\subsection{Computations} +\label{sec:orgdd18dd8} + +Determination of the widths of each of the letter boxes of the word “LETTRE”. +\begin{lstlisting} +\dim_const:Nn \c__letgutbanner_L_width_dim { + \box_wd:N \g__letgutbanner_L_box +} +\dim_const:Nn \c__letgutbanner_E_width_dim { + \box_wd:N \g__letgutbanner_E_box +} +\dim_const:Nn \c__letgutbanner_T_width_dim { + \box_wd:N \g__letgutbanner_T_box +} +\dim_const:Nn \c__letgutbanner_R_width_dim { + \box_wd:N \g__letgutbanner_R_box +} +\end{lstlisting} +Determination of the largest of these widths, stored in the scratch dimension +\lstinline+\g_tmpa_dim+. +\begin{lstlisting} +\dim_gset:Nn \g_tmpa_dim { + \fp_eval:n { + max ( + \c__letgutbanner_L_width_dim, + \c__letgutbanner_E_width_dim, + \c__letgutbanner_T_width_dim, + \c__letgutbanner_R_width_dim, + ) + }pt +} +\end{lstlisting} +Determination of the (1st) box whose width is the largest of all (\lstinline+argmax+, as +it were). +\begin{lstlisting} +\box_gset_eq:NN \g__letgutbanner_largest_LETR_box \dim_case:nnF +{ \g_tmpa_dim } +{ + { \c__letgutbanner_L_width_dim } { \g__letgutbanner_L_box } + { \c__letgutbanner_E_width_dim } { \g__letgutbanner_E_box } + { \c__letgutbanner_T_width_dim } { \g__letgutbanner_T_box } + { \c__letgutbanner_R_width_dim } { \g__letgutbanner_R_box } +} +{ No~ idea! } +\end{lstlisting} +Resize the box containing “GUTenberg” to the width of the text embedded in the +horizontal bar of the “L”. +\begin{lstlisting} +\box_gresize_to_wd:Nn \g__letgutbanner_GUTenberg_box { + \c__letgutbanner_banner_horizontal_contents_width_dim +} +\end{lstlisting} +Determination of the height and depth of the box containing “GUTenberg” resized. +\begin{lstlisting} +\dim_const:Nn \c__letgutbanner_GUTenberg_height_dim { + \box_ht:N \g__letgutbanner_GUTenberg_box +} +\dim_const:Nn \c__letgutbanner_GUTenberg_depth_dim { + \box_dp:N \g__letgutbanner_GUTenberg_box +} +\end{lstlisting} +Determining the size of the vertical offset of the box containing the resized +“GUTenberg”, so that it is vertically centered in the horizontal bar of the “L”: +the box positioned in \(0\) would be at the very bottom of the box containing the +banner so with base line at the bottom the horizontal bar of the “L” so we raise +it first by its depth (\(d\)) and then by half the difference between the heights +(\(H\)) of the horizontal bar of the “L” and (\(h+d\)) total of the box containing +“GUTenberg” resized (\(=d+H/2-(h+d)/2=(H-h+d)/2\)). +\begin{lstlisting} +\dim_const:Nn \c__letgutbanner_GUTenberg_yoffset_dim { + ( + \c__letgutbanner_banner_thickness_dim + - + \c__letgutbanner_GUTenberg_height_dim + + + \c__letgutbanner_GUTenberg_depth_dim + )/2 +} +\end{lstlisting} +Once the height of the zone devoted to “La LETTRE” in the vertical bar of the +“L” has been fixed, the line spacing between the letters of the word “LETTRE” +depends in fact only on the width occupied by the widest of them, by definition +equal to the width allocated to the text embedded in the vertical bar of the +“L”. The latter, stored in \lstinline+\g__letgutbanner_banner_vertical_contents_width_dim+, is +initially fixed: +\begin{lstlisting} +\dim_gset:Nn +\g__letgutbanner_banner_vertical_contents_width_dim +\c__letgutbanner_banner_vertical_contents_width_dim +\end{lstlisting} +but, to avoid this line spacing being too small (or even negative), we test that +it is greater than a certain threshold, equal to a certain minimum percentage of +the height common to the letters of the word “LETTRE”, stored in: + +\lstinline+\c__letgutbanner_leading_minimum_percent_fp+ + +and fixed at 0.15. If this is not the +case, we reduce (by 1pt): + +\lstinline+\g__letgutbanner_banner_vertical_contents_width_dim+ + +and loop until it is the case. +\begin{lstlisting} +\dim_do_until:nNnn { + \g__letgutbanner_between_letters_vertical_space_dim +} +> +{ + \fp_use:N\c__letgutbanner_leading_minimum_percent_fp + \g__letgutbanner_largest_LETR_box_height_dim +}{ +\end{lstlisting} +Resize the largest of these boxes to the width of the text embedded in the “L”. +\begin{lstlisting} +\box_gresize_to_wd:Nn \g__letgutbanner_largest_LETR_box { + \g__letgutbanner_banner_vertical_contents_width_dim +} +\end{lstlisting} +Height of this resized larger box. +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_largest_LETR_box_height_dim { + \box_ht:N \g__letgutbanner_largest_LETR_box +} +\end{lstlisting} +Resize the boxes for each of the letters in the word “LETTRE” so that they are +all the same height as the widest of them. +\begin{lstlisting} +\box_gresize_to_ht:Nn \g__letgutbanner_L_box { + \g__letgutbanner_largest_LETR_box_height_dim +} +\box_gresize_to_ht:Nn \g__letgutbanner_E_box { + \g__letgutbanner_largest_LETR_box_height_dim +} +\box_gresize_to_ht:Nn \g__letgutbanner_T_box { + \g__letgutbanner_largest_LETR_box_height_dim +} +\box_gresize_to_ht:Nn \g__letgutbanner_R_box { + \g__letgutbanner_largest_LETR_box_height_dim +} +\end{lstlisting} +Resize the box containing “La” to the width of the text embedded in the “L” +vertical bar. +\begin{lstlisting} +\box_gresize_to_wd:Nn \g__letgutbanner_La_box { + \g__letgutbanner_banner_vertical_contents_width_dim +} +\end{lstlisting} +Determine the height (\(h\)) and depth (\(d\)) of the resized box containing “La”. +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_La_height_dim { + \box_ht:N \g__letgutbanner_La_box +} +\dim_gset:Nn \g__letgutbanner_La_depth_dim { + \box_dp:N \g__letgutbanner_La_box +} +\end{lstlisting} +Determining the size of the vertical offset of the resized box containing “La” +so that its top is, relative to the top of the “L”, offset by the same amount as +the bottom of the box containing “GUTenberg” is offset from the bottom of the +“L” (i.e., the distance from the top of the page to the top of “La” and the +distance from the bottom of the page to the baseline of “GUTenberg” are +identical). +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_La_yoffset_dim { + \c__letgutbanner_banner_height_dim + - + \c__letgutbanner_GUTenberg_yoffset_dim + - + \g__letgutbanner_La_height_dim + + + \g__letgutbanner_La_depth_dim +} +\end{lstlisting} +For the following, the area containing the letters of the word “LETTRE” aligned +vertically is fixed, defined as follows: +\begin{itemize} +\item its top is the baseline of “La”, +\item its bottom is the baseline of “GUTenberg”. +\end{itemize} +Determination of the height of this area. +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_area_height_dim { + \g__letgutbanner_La_yoffset_dim + - + \g__letgutbanner_La_depth_dim + - + \c__letgutbanner_GUTenberg_yoffset_dim +} +\end{lstlisting} +Determining the vertical jump (\(s\)) between the letters in the word “LETTRE” +with the constraints that: +\begin{itemize} +\item the top of the 1st letter (“L”) is \(3e/2\) below the top of the area (where +\(e\) is the common vertical space separating the letters of the word +“LETTRE”), +\item the baseline of the last letter (“E”) is merged with the bottom of the area, +\item this jump must not be less than 20 \% of the common height \(h\) to all these +letters i.e.: + +\lstinline+\g__letgutbanner_largest_LETR_box_height_dim+ + +otherwise the size of the largest of these boxes is reduced to less than the +width of the text embedded in the “L”. +\end{itemize} + +The sum of : +\begin{itemize} +\item the 5 vertical spaces (\(5e\)) between the letters in the word “LETTRE”, +\item the 6 common heights (\(6h\)) to all these letters, +\item \(3e/2\), +\end{itemize} +must equal the height (\(H\)) of the zone. So we have \(H=3e/2+5e+6h\), that is +\(e=2(H-6h)/13\). Once initialized, the vertical jump between the letters is +\(s=e+h\) that is \(s=(2H+h)/13\). Therefore: + +\begin{enumerate} +\item Determine the vertical half-space between the letters. +\begin{lstlisting} +\dim_set:Nn \l_tmpa_dim { + ( + \g__letgutbanner_area_height_dim + - + 6\g__letgutbanner_largest_LETR_box_height_dim + )/13 +} +\end{lstlisting} +\item Vertical space between letters. +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_between_letters_vertical_space_dim { + 2\l_tmpa_dim +} +\end{lstlisting} +\item If this space does not check the condition explained above, we reduce: + +\lstinline+\g__letgutbanner_banner_vertical_contents_width_dim+ + +and loop. +\begin{lstlisting} +\dim_gsub:Nn \g__letgutbanner_banner_vertical_contents_width_dim { + 1pt + } +} +\end{lstlisting} +\end{enumerate} +The width allocated to the text embedded in the vertical bar of the “L” may have +been re-evaluated, so the padding (which must be symmetrical) may have changed +as well. +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_banner_padding_dim { + ( + \c__letgutbanner_banner_thickness_dim + - + \g__letgutbanner_banner_vertical_contents_width_dim + )/2 +} +\end{lstlisting} +\begin{enumerate} +\item Determination of the vertical offset of the 1st letter (“L”). +\begin{lstlisting} +\dim_const:Nn \c__letgutbanner_first_letter_yoffset_dim { + \g__letgutbanner_La_yoffset_dim + - + \g__letgutbanner_largest_LETR_box_height_dim + - + \fp_use:N \c__letgutbanner_leading_La_factor_fp + \g__letgutbanner_between_letters_vertical_space_dim +} +\end{lstlisting} +\item Determination of the vertical jump between letters. +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_between_letters_yoffset_dim { + \g__letgutbanner_between_letters_vertical_space_dim + + + \g__letgutbanner_largest_LETR_box_height_dim +} +\end{lstlisting} +\end{enumerate} +Resize the box containing “g” to the width of the text. +\begin{lstlisting} +\box_gresize_to_wd:Nn \g__letgutbanner_g_box { + \c__letgutbanner_textwidth_dim +} +\end{lstlisting} +Calculates the size by which the height of the text box on the 1st page must be +reduced so that the banner does not encroach on the text. Relative to the top of +the page: +\begin{itemize} +\item the top of the horizontal bar of “L” is at a distance equal to the sum of : +\begin{itemize} +\item the distance between this top of page and the top of the vertical bar of +“L”, equal to the height (\(p\)) of the paper minus the height (\(l\)) of “L” +\end{itemize} +\end{itemize} +\begin{lstlisting} +\dim_gset:Nn \g__letgutbanner_first_page_shrink_dim { + \c__letgutbanner_tmargin_dim + + + \c__letgutbanner_textheight_dim + + + \c__letgutbanner_banner_thickness_dim + - + .5\paperheight + - + .5\c__letgutbanner_banner_height_dim + + + .5\baselineskip +} +\end{lstlisting} +Automatic addition on the 1st page (only) of the banner. +\begin{lstlisting} +\AddToHookNext{shipout/background}{ +\end{lstlisting} +We want the material added to this page to be not selectable in order to let the +reader who wants to copy the interesting text be able to select it. +\begin{lstlisting} +\BeginAccSupp{ActualText={}} +\end{lstlisting} +We put now the big “L” at the right place. +\begin{lstlisting} +\put( +.5\c__letgutbanner_lmargin_dim-.5\c__letgutbanner_banner_thickness_dim +, +-.5\paperheight-.5\c__letgutbanner_banner_height_dim +){ + \put(0,0){ + \rule{ + \c__letgutbanner_banner_width_dim + }{ + \c__letgutbanner_banner_thickness_dim + } + } + \put(0,0){ + \rule{ + \c__letgutbanner_banner_thickness_dim + }{ + \c__letgutbanner_banner_height_dim + } + } +\end{lstlisting} +The color should not be systematically white, but should be identical to the one +chosen for the page background. +\begin{lstlisting} + % \color_fill:nV {rgb}{ \g__letgutbanner_pagecolor_clist } + \color[rgb]{ \g__letgutbanner_pagecolor_clist } + \put( + \g__letgutbanner_banner_padding_dim + , + \g__letgutbanner_La_yoffset_dim + ){ + \box_use:N \g__letgutbanner_La_box + } + \put( + \g__letgutbanner_banner_padding_dim + , + \c__letgutbanner_first_letter_yoffset_dim + -0\g__letgutbanner_between_letters_yoffset_dim + ){ + \box_use:N \g__letgutbanner_L_box + } + \put( + \g__letgutbanner_banner_padding_dim + , + \c__letgutbanner_first_letter_yoffset_dim + -1\g__letgutbanner_between_letters_yoffset_dim + ){ + \box_use:N \g__letgutbanner_E_box + } + \put( + \g__letgutbanner_banner_padding_dim + , + \c__letgutbanner_first_letter_yoffset_dim + -2\g__letgutbanner_between_letters_yoffset_dim + ){ + \box_use:N \g__letgutbanner_T_box + } + \put( + \g__letgutbanner_banner_padding_dim + , + \c__letgutbanner_first_letter_yoffset_dim + -3\g__letgutbanner_between_letters_yoffset_dim + ){ + \box_use:N \g__letgutbanner_T_box + } + \put( + \g__letgutbanner_banner_padding_dim + , + \c__letgutbanner_first_letter_yoffset_dim + -4\g__letgutbanner_between_letters_yoffset_dim + ){ + \box_use:N \g__letgutbanner_R_box + } + \put( + \g__letgutbanner_banner_padding_dim + , + \c__letgutbanner_first_letter_yoffset_dim + -5\g__letgutbanner_between_letters_yoffset_dim + ){ + \box_use:N \g__letgutbanner_E_box + } + \put( + \c__letgutbanner_banner_thickness_dim + , + \c__letgutbanner_GUTenberg_yoffset_dim + ){ + \box_use:N \g__letgutbanner_GUTenberg_box + } + % \color_fill:n {black!10} + \color{ black!10 } + \put( + .5\c__letgutbanner_lmargin_dim+.5\c__letgutbanner_banner_thickness_dim + , + .5\paperheight + + + .5\c__letgutbanner_banner_height_dim + - + \c__letgutbanner_tmargin_dim + ){ + \box_move_down:nn {.5\c__letgutbanner_textheight_dim} + {\box_use:N \g__letgutbanner_g_box} + } +} +\end{lstlisting} +We end the part which isn't selectable. +\begin{lstlisting} +\EndAccSupp{} +} +\end{lstlisting} + +We close \lstinline+\AddToHook{begindocument}+. + +\begin{lstlisting} +} +\end{lstlisting} + +If the package is used with another class than \class{letgut}, we reduce the +textheight of the first page of the height of the horizontal bar of the “L”. + +\begin{lstlisting} +\@ifclassloaded{letgut}{ +}{ + \AddToHook{begindocument/end}{% + \enlargethispage{ + - \g__letgutbanner_first_page_shrink_dim + } + \thispagestyle{empty} + } +} +\end{lstlisting} + +\section{Example file (\texttt{letgut-banner-example.tex})} +\label{sec:org4c5e60d} + +\begin{lstlisting} +\documentclass[twoside]{article} +\usepackage{fontspec} +\usepackage[a4paper]{geometry} +\usepackage{fancyhdr} +\usepackage{letgut-banner} +\usepackage{lipsum} +\setmainfont{TeX Gyre Schola} +\fancyhf{} +\fancyhead[RO,LE]{\thepage} +\fancyhead[RE,LO]{Test~\textsf{letgut-banner}} +\pagestyle{fancy} +\begin{document} +\lipsum[1-20] +\end{document} +\end{lstlisting} +\end{document} diff --git a/macros/luatex/latex/letgut/doc/letgut-code.pdf b/macros/luatex/latex/letgut/doc/letgut-code.pdf Binary files differindex bf4c676520..12da2cdac8 100644 --- a/macros/luatex/latex/letgut/doc/letgut-code.pdf +++ b/macros/luatex/latex/letgut/doc/letgut-code.pdf diff --git a/macros/luatex/latex/letgut/doc/letgut-code.tex b/macros/luatex/latex/letgut/doc/letgut-code.tex index 347a2a5c79..672935a5fb 100644 --- a/macros/luatex/latex/letgut/doc/letgut-code.tex +++ b/macros/luatex/latex/letgut/doc/letgut-code.tex @@ -1,4 +1,4 @@ -% Created 2022-03-18 ven. 19:02 +% Created 2022-03-22 mar. 11:24 % Intended LaTeX compiler: lualatex \documentclass{letgut} \setmainfont{KpRoman} @@ -88,8 +88,8 @@ Now, we can announce the class name and its version: \begin{lstlisting} \ProvidesExplClass{letgut} -{2022-03-18} -{0.9} +{2022-03-22} +{0.9.1} { Class~ for~ the~ newsletter~ “\c__letgut_La_lettre_gutenberg_tl” @@ -1928,7 +1928,7 @@ items are correct. \NewDocumentCommand {\francophony} { } { \raisebox{-1.5pt}{ \includegraphics[width=\f@size pt]{ - Flag_of_La_Francophonie-crop + letgut-francophony-icon } } } @@ -2497,7 +2497,7 @@ full name of the authors. \end{lstlisting} The keys options are created. \begin{lstlisting} -\keys_define:nn { gzt/bookreview } +\keys_define:nn { letgut/bookreview } { title .tl_gset:N = \g__letgut_bookreview_title_tl, frontcover .tl_gset:N = \g__letgut_bookreview_frontcover_tl, @@ -2523,7 +2523,7 @@ We create the new environment for the book reviews. \cs_generate_variant:Nn \msg_error:nnnn { nnVV } \NewDocumentEnvironment{bookreview}{ m } { - \keys_set:nn { gzt/bookreview } { #1 } + \keys_set:nn { letgut/bookreview } { #1 } \section{\g__letgut_bookreview_title_tl} \tl_if_empty:NTF \g__letgut_bookreview_frontcover_tl { \msg_warning:nnV{letgut}{frontcover-missing}{ @@ -2992,7 +2992,7 @@ several purposes: \end{itemize} \begin{lstlisting} -\ProvidesFile{letgut.lbx}[2022-03-18 v0.9 letgut localization] +\ProvidesFile{letgut.lbx}[2022-03-22 v0.9.1 letgut localization] \InheritBibliographyExtras{french} \DeclareBibliographyStrings{ inherit = {french}, @@ -3006,7 +3006,7 @@ We create the new bibliography driver \lstinline+bookreview+ (that seems to create the corresponding new entry). \begin{lstlisting} -\ProvidesFile{letgut.dbx}[2022-03-18 v0.9 letgut data model macros] +\ProvidesFile{letgut.dbx}[2022-03-22 v0.9.1 letgut data model macros] \DeclareBibliographyDriver{bookreview}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% @@ -3061,7 +3061,7 @@ create the corresponding new entry). We provide a specific \lstinline+biblatex+ citation style . \begin{lstlisting} -\ProvidesFile{letgut.cbx}[2022-03-18 v0.9 letgut base citation style] +\ProvidesFile{letgut.cbx}[2022-03-22 v0.9.1 letgut base citation style] \RequireCitationStyle{numeric} \end{lstlisting} diff --git a/macros/luatex/latex/letgut/doc/letgut.pdf b/macros/luatex/latex/letgut/doc/letgut.pdf Binary files differindex 76847e9bce..e0d2740a0b 100644 --- a/macros/luatex/latex/letgut/doc/letgut.pdf +++ b/macros/luatex/latex/letgut/doc/letgut.pdf diff --git a/macros/luatex/latex/letgut/doc/letgut.tex b/macros/luatex/latex/letgut/doc/letgut.tex index 4d8c219baa..f782959e7c 100644 --- a/macros/luatex/latex/letgut/doc/letgut.tex +++ b/macros/luatex/latex/letgut/doc/letgut.tex @@ -88,7 +88,7 @@ } \author{Association GUTenberg} \date{% - Version 0.9 en date du \today% + Version 0.9.1 en date du \today% \texorpdfstring{% \\ \url{https://framagit.org/gutenberg/classe-lettre-gut}% diff --git a/macros/luatex/latex/letgut/source/letgut-banner.org b/macros/luatex/latex/letgut/source/letgut-banner.org index 44fa5fdec9..6769c17905 100644 --- a/macros/luatex/latex/letgut/source/letgut-banner.org +++ b/macros/luatex/latex/letgut/source/letgut-banner.org @@ -36,7 +36,7 @@ Release ------- - 2022-03-18 v0.9 + 2022-03-22 v0.9.1 Development ----------- @@ -89,8 +89,8 @@ Now, we can announce the package name and its version: #+begin_src latex \ProvidesExplPackage{letgut-banner} -{2022-03-18} -{0.9} +{2022-03-22} +{0.9.1} { Package for the banner of the newsletter “La Lettre de GUTenberg” } diff --git a/macros/luatex/latex/letgut/source/letgut.org b/macros/luatex/latex/letgut/source/letgut.org index 11bd545dec..b4244888a2 100644 --- a/macros/luatex/latex/letgut/source/letgut.org +++ b/macros/luatex/latex/letgut/source/letgut.org @@ -22,21 +22,186 @@ #+PROPERTY: header-args :padline no :tangle letgut.cls :exports both :noweb yes :eval always #+export_file_name: letgut-code +* Ctanomat file :noexport: + +We crete here a ~ctanomat~ description file in order to simplify the upload of +new versions of the class on CTAN. + +#+begin_src markdown :tangle letgut.pkg + % This is a description file for ctan-o-mat. + % It manages uploads of a package to + % CTAN -- the Comprehensive TeX Archive Network. + % + % The syntax is roughly oriented towards (La)TeX. + % Two form of the macros are used. The simple macros take one argument + % in braces. Here the argument may not contain embedded macros. + % + % The second form uses an environment enclosed in \begin{}/\end{}. + % In the long text fields logo macros can be used. + % + % You should enter your values between the begin and the end of the + % named type. + % ------------------------------------------------------------------------- + % This field contains the CTAN id of the package. + % The value is optional. + % The value is restricted to 32 characters. + \pkg{letgut} + % ------------------------------------------------------------------------- + % This field contains the version of the package. + % The value is optional. + % The value is restricted to 32 characters. + \version{0.9.1 2022-03-22} + % ------------------------------------------------------------------------- + % This field contains the name of the author(s). + % The value is optional. + % The value is restricted to 128 characters. + \author{Association GUTenberg} + % ------------------------------------------------------------------------- + % This field contains the email address of the uploader. + % The value is an email address. + % The value is restricted to 255 characters. + \email{secretariat@gutenberg.eu.org} + % ------------------------------------------------------------------------- + % This field contains the name of the uploader. + % The value is restricted to 255 characters. + \uploader{Denis Bitouzé} + % ------------------------------------------------------------------------- + % This field contains the directory on CTAN. + % The value is optional. + % The value is restricted to 255 characters. + \ctanPath{/macros/luatex/latex/letgut} + % ------------------------------------------------------------------------- + % This field contains the license. + % The value is optional. + % The value is restricted to 2048 characters. + % Multiple values are allowed. + \license{lppl1.3c} + % ------------------------------------------------------------------------- + % This field contains the URL of the home page. + % The value is optional. + % The value is a URL. + % The value is restricted to 255 characters. + % Multiple values are allowed. + \home{} + % ------------------------------------------------------------------------- + % This field contains the URL of the bug tracker. + % The value is optional. + % The value is a URL. + % The value is restricted to 255 characters. + % Multiple values are allowed. + \bugtracker{https://framagit.org/gutenberg/classe-lettre-gut/-/issues} + % ------------------------------------------------------------------------- + % This field contains the support channel. + % The value is optional. + % The value is a URL. + % The value is restricted to 255 characters. + % Multiple values are allowed. + \support{} + % ------------------------------------------------------------------------- + % This field contains the version management. + % The value is optional. + % The value is a URL. + % The value is restricted to 255 characters. + % Multiple values are allowed. + \repository{https://framagit.org/gutenberg/classe-lettre-gut/} + % ------------------------------------------------------------------------- + % This field contains the developer's channel. + % The value is optional. + % The value is a URL. + % The value is restricted to 255 characters. + % Multiple values are allowed. + \development{https://framagit.org/gutenberg/classe-lettre-gut/-/merge_requests} + % ------------------------------------------------------------------------- + % This field contains the update indicator; true for update. + % The value is optional. + % The value is restricted to 8 characters. + \update{true} + % ------------------------------------------------------------------------- + % This field contains the topics id. + % The value is optional. + % The value is restricted to 1024 characters. + % Multiple values are allowed. + \topic{} + % ------------------------------------------------------------------------- + % This field contains the text for the mail announcement. + % The value is optional. + % The value is restricted to 8192 characters. + \begin{announcement} + \end{announcement} + % ------------------------------------------------------------------------- + % This field contains the one-liner for the package. + % The value is optional. + % The value is restricted to 128 characters. + \summary{Class for the newsletter “La Lettre GUTenberg” of the French TeX User Group GUTenberg} + % ------------------------------------------------------------------------- + % This field contains the descriptive abstract for the package. + % The value is optional. + % The value is restricted to 4096 characters. + \begin{description} + # English + + The French TeX User Group GUTenberg has been publishing “The GUTenberg Letter”, + its irregular newsletter, since February 1993. + + For this purpose, a dedicated, in-house (La)TeX class was gradually created but, + depending on new needs and on the people who were publishing the Newsletter, its + development was somewhat erratic; in particular, it would not have been possible + to publish its code as it was. In addition, its documentation was non-existent. + + The Board of Directors of the association, elected in November 2020, wished to + provide a better structured, more perennial and documented class, able to be + published on the CTAN. This is now done with the present `letgut` class. + + # French + + L'association GUTenberg publie « La Lettre GUTenberg », son bulletin + irrégulomestriel, depuis février 1993. + + Pour ce faire, une classe (La)TeX dédiée, maison, a peu à peu vu le jour mais, + au gré des nouveaux besoins et des personnes qui ont assuré la publication de la + Lettre, son développement a été quelque peu erratique ; il n'aurait notamment + pas été possible de publier son code en l'état. En outre, sa documentation était + inexistante. + + Le Conseil d'Administration de l'association, élu en novembre 2020, a souhaité + fournir une classe mieux structurée, davantage pérenne et documentée, à même + d'être publiée sur le CTAN. C'est désormais chose faite avec la présente classe + `letgut`. + \end{description} + % ------------------------------------------------------------------------- + % This field contains the note to the CTAN upload managers. + % The value is optional. + % The value is restricted to 2048 characters. + \begin{note} + \end{note} + % ------------------------------------------------------------------------- + % This field contains the archive file. + % The value is the file name of the archive to be uploaded. + % It may have a relative or absolute directory. + \file{../dtx-forge/letgut.zip} +#+end_src + * Changelog file :noexport: #+begin_src markdown :tangle CHANGELOG.md -# Changelog -All notable changes to this project will be documented in this file. + # Changelog + All notable changes to this project will be documented in this file. + + The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), + and this project adheres to [Semantic + Versioning](http://semver.org/spec/v2.0.0.html). + + ## [Unreleased] -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic -Versioning](http://semver.org/spec/v2.0.0.html). + ## [0.9.1] - 2022-03-22 -## [Unreleased] + ### Changed + File renamed (Karl Berry request) -## [0.9] - 2022-03-18 + ## [0.9] - 2022-03-18 -### Added First public testing release + ### Added + First public testing release #+end_src * Readme file :noexport: @@ -52,7 +217,7 @@ to the newsletter “La Lettre GUTenberg” of GUTenberg, the French TeX User Gr Release ------- -2022-03-18 v0.9 +2022-03-22 v0.9.1 Development ----------- @@ -182,8 +347,8 @@ Now, we can announce the class name and its version: #+begin_src latex \ProvidesExplClass{letgut} - {2022-03-18} - {0.9} + {2022-03-22} + {0.9.1} { Class~ for~ the~ newsletter~ “\c__letgut_La_lettre_gutenberg_tl” @@ -2004,7 +2169,7 @@ We define the command that lets us specify the newsletter setup. \NewDocumentCommand {\francophony} { } { \raisebox{-1.5pt}{ \includegraphics[width=\f@size pt]{ - Flag_of_La_Francophonie-crop + letgut-francophony-icon } } } @@ -2556,7 +2721,7 @@ full name of the authors. #+end_src The keys options are created. #+begin_src latex - \keys_define:nn { gzt/bookreview } + \keys_define:nn { letgut/bookreview } { title .tl_gset:N = \g__letgut_bookreview_title_tl, frontcover .tl_gset:N = \g__letgut_bookreview_frontcover_tl, @@ -2582,7 +2747,7 @@ We create the new environment for the book reviews. \cs_generate_variant:Nn \msg_error:nnnn { nnVV } \NewDocumentEnvironment{bookreview}{ m } { - \keys_set:nn { gzt/bookreview } { #1 } + \keys_set:nn { letgut/bookreview } { #1 } \section{\g__letgut_bookreview_title_tl} \tl_if_empty:NTF \g__letgut_bookreview_frontcover_tl { \msg_warning:nnV{letgut}{frontcover-missing}{ @@ -3037,7 +3202,7 @@ several purposes: - the books advertisements. #+begin_src latex :tangle letgut.lbx :exports both - \ProvidesFile{letgut.lbx}[2022-03-18 v0.9 letgut localization] + \ProvidesFile{letgut.lbx}[2022-03-22 v0.9.1 letgut localization] \InheritBibliographyExtras{french} \DeclareBibliographyStrings{ inherit = {french}, @@ -3051,7 +3216,7 @@ several purposes: create the corresponding new entry). #+begin_src latex :tangle letgut.dbx :exports both - \ProvidesFile{letgut.dbx}[2022-03-18 v0.9 letgut data model macros] + \ProvidesFile{letgut.dbx}[2022-03-22 v0.9.1 letgut data model macros] \DeclareBibliographyDriver{bookreview}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% @@ -3106,7 +3271,7 @@ several purposes: We provide a specific ~biblatex~ citation style . #+begin_src latex :tangle letgut.cbx :exports both - \ProvidesFile{letgut.cbx}[2022-03-18 v0.9 letgut base citation style] + \ProvidesFile{letgut.cbx}[2022-03-22 v0.9.1 letgut base citation style] \RequireCitationStyle{numeric} #+end_src diff --git a/macros/luatex/latex/letgut/tex/Flag_of_La_Francophonie-crop.pdf b/macros/luatex/latex/letgut/tex/letgut-francophony-icon.pdf Binary files differindex f57796b134..f57796b134 100644 --- a/macros/luatex/latex/letgut/tex/Flag_of_La_Francophonie-crop.pdf +++ b/macros/luatex/latex/letgut/tex/letgut-francophony-icon.pdf diff --git a/macros/luatex/latex/letgut/tex/letgut.cbx b/macros/luatex/latex/letgut/tex/letgut.cbx index 229c1f97c9..4d1a824a02 100644 --- a/macros/luatex/latex/letgut/tex/letgut.cbx +++ b/macros/luatex/latex/letgut/tex/letgut.cbx @@ -1,4 +1,4 @@ -\ProvidesFile{letgut.cbx}[2022-03-18 v0.9 letgut base citation style] +\ProvidesFile{letgut.cbx}[2022-03-22 v0.9.1 letgut base citation style] \RequireCitationStyle{numeric} \DeclareFieldFormat[bookreview]{title}{\textbf{\emph{#1}}} \renewbibmacro*{title}{% diff --git a/macros/luatex/latex/letgut/tex/letgut.dbx b/macros/luatex/latex/letgut/tex/letgut.dbx index 980e08a909..fbd6a99f85 100644 --- a/macros/luatex/latex/letgut/tex/letgut.dbx +++ b/macros/luatex/latex/letgut/tex/letgut.dbx @@ -1,4 +1,4 @@ -\ProvidesFile{letgut.dbx}[2022-03-18 v0.9 letgut data model macros] +\ProvidesFile{letgut.dbx}[2022-03-22 v0.9.1 letgut data model macros] \DeclareBibliographyDriver{bookreview}{% \usebibmacro{bibindex}% \usebibmacro{begentry}% diff --git a/macros/luatex/latex/letgut/tex/letgut.lbx b/macros/luatex/latex/letgut/tex/letgut.lbx index da57f1770c..48df7b7c94 100644 --- a/macros/luatex/latex/letgut/tex/letgut.lbx +++ b/macros/luatex/latex/letgut/tex/letgut.lbx @@ -1,4 +1,4 @@ -\ProvidesFile{letgut.lbx}[2022-03-18 v0.9 letgut localization] +\ProvidesFile{letgut.lbx}[2022-03-22 v0.9.1 letgut localization] \InheritBibliographyExtras{french} \DeclareBibliographyStrings{ inherit = {french}, |