From 62170822e034fdd3f81de7274835d0d3b0467100 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Wed, 13 Mar 2024 03:02:23 +0000 Subject: CTAN sync 202403130302 --- macros/latex/contrib/bfh-ci/DEPENDS.txt | 4 +- macros/latex/contrib/bfh-ci/README.md | 6 +- .../contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf | Bin 50827 -> 50668 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf | Bin 40946 -> 40707 bytes .../latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf | Bin 50392 -> 50399 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf | Bin 13777 -> 13664 bytes .../contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf | Bin 57401 -> 57422 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf | Bin 92276 -> 92483 bytes .../latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf | Bin 46618 -> 46632 bytes macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf | Bin 41534 -> 41584 bytes .../contrib/bfh-ci/tex/beamercolorthemeBFH.sty | 6 +- .../contrib/bfh-ci/tex/beamerfontthemeBFH.sty | 8 +- .../contrib/bfh-ci/tex/beamerinnerthemeBFH.sty | 6 +- .../bfh-ci/tex/beamerouterthemeBFH-sidebar.sty | 8 +- .../contrib/bfh-ci/tex/beamerouterthemeBFH.sty | 8 +- macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty | 6 +- macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo | 8 +- macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo | 8 +- macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo | 8 +- macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo | 8 +- macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo | 8 +- macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo | 8 +- macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo | 6 +- .../latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg | 8 +- macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg | 6 +- macros/latex/contrib/bfh-ci/tex/bfh-hkb-doc.cfg | 311 +++++++++++++++++++++ .../latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg | 6 +- .../contrib/bfh-ci/tex/bfh-layout-listings.cfg | 8 +- .../latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg | 8 +- .../contrib/bfh-ci/tex/bfh-layout-tabular.cfg | 8 +- .../contrib/bfh-ci/tex/bfh-layout-terminal.cfg | 6 +- .../contrib/bfh-ci/tex/bfh-projectproposal.cfg | 8 +- macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls | 6 +- macros/latex/contrib/bfh-ci/tex/bfhcolors.sty | 6 +- macros/latex/contrib/bfh-ci/tex/bfhfonts.sty | 8 +- macros/latex/contrib/bfh-ci/tex/bfhhkb-doc.cfg | 311 --------------------- macros/latex/contrib/bfh-ci/tex/bfhlayout.sty | 8 +- macros/latex/contrib/bfh-ci/tex/bfhletter.sty | 6 +- .../contrib/bfh-ci/tex/bfhlettersize9.5pt.clo | 4 +- macros/latex/contrib/bfh-ci/tex/bfhmodule.sty | 6 +- macros/latex/contrib/bfh-ci/tex/bfhpub.cls | 10 +- macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls | 10 +- macros/latex/contrib/bfh-ci/tex/bfhthesis.cls | 9 +- macros/latex/contrib/listings/listings-devel.pdf | Bin 1451811 -> 1451842 bytes macros/latex/contrib/listings/listings.dtx | 7 +- macros/latex/contrib/listings/listings.pdf | Bin 1026570 -> 1026586 bytes macros/latex/contrib/listings/lstdrvrs.dtx | 247 ++++++++++------ macros/latex/contrib/listings/lstdrvrs.pdf | Bin 755742 -> 761854 bytes 48 files changed, 601 insertions(+), 512 deletions(-) create mode 100644 macros/latex/contrib/bfh-ci/tex/bfh-hkb-doc.cfg delete mode 100644 macros/latex/contrib/bfh-ci/tex/bfhhkb-doc.cfg (limited to 'macros/latex') diff --git a/macros/latex/contrib/bfh-ci/DEPENDS.txt b/macros/latex/contrib/bfh-ci/DEPENDS.txt index 4eee2a66f9..d3676e1416 100644 --- a/macros/latex/contrib/bfh-ci/DEPENDS.txt +++ b/macros/latex/contrib/bfh-ci/DEPENDS.txt @@ -1,6 +1,6 @@ hard adjustbox hard amsmath -hard amssymb +hard amsfonts hard anyfontsize hard beamer hard fontawesome @@ -18,7 +18,7 @@ hard nunito hard pgf hard qrcode hard sourceserifpro -hard tabularx +hard tools hard tcolorbox hard translations hard url diff --git a/macros/latex/contrib/bfh-ci/README.md b/macros/latex/contrib/bfh-ci/README.md index 05ece994a4..0114cc65d0 100644 --- a/macros/latex/contrib/bfh-ci/README.md +++ b/macros/latex/contrib/bfh-ci/README.md @@ -1,8 +1,8 @@ # BFH-CI – Corporate Design LaTeX Templates for Bern University of Applied Sciences -Copyright (C) Marei Peischl & Andreas Habegger , 2021–2023 +Copyright (C) Marei Peischl & Andreas Habegger , 2021–2024 -bfh 2023/10/20 v2.2.0 +bfh-ci 2024-03-11 v2.2.1 *************************************************************************** @@ -104,3 +104,5 @@ BFH-CI uses the translations package to provide translations for specific elemen * v2.2.0 (2023/10/20) - Add hkbdocumentation template and hkb-doc mode to support HKB project documentation - fix BFHNoteBox to be used with bfhbeamer +* v2.2.1 (2024/03/11) + - Layout adjustment for hkbdocument and fix file structure for this mode \ 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 index 5f3e20cc8c..6f8397da81 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer-Sidebar.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf index 6d89ef3881..c801813309 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHBeamer.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf index f9c0c49224..d344a0659a 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHFactsheet.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf index 9d451d7ad9..1544312bda 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHLetter.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf index 12213ad145..64d170bf56 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHProjektProposal.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf index dd340ade03..85a9d3fa39 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHPub.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf index efb541c3b3..dd3a7a9dc1 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHSciPoster.pdf differ diff --git a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf index 0f1b45c635..1c119cf4e1 100644 Binary files a/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf and b/macros/latex/contrib/bfh-ci/doc/DEMO-BFHThesis.pdf differ diff --git a/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty index ff0cff9fc3..b6d39e0ed8 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamercolorthemeBFH.sty @@ -1,9 +1,9 @@ -%% This is file `beamercolorthemeBFH.sty' version 2.2.0 (2023/10/20), +%% This is file `beamercolorthemeBFH.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesPackage{beamercolorthemeBFH}[2023/10/20 v2.2.0 BFH-CI beamer color theme, CI of Bern University of Applied Sciences] +\ProvidesPackage{beamercolorthemeBFH}[2024-03-11 v2.2.1 BFH-CI beamer color theme, CI of Bern University of Applied Sciences] % ==================== % Dependencies diff --git a/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty index 6a5fc6e9f2..85d459f2c4 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerfontthemeBFH.sty @@ -1,9 +1,9 @@ -%% This is file `beamerfontthemeBFH.sty' version 2.2.0 (2023/10/20), +%% This is file `beamerfontthemeBFH.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesPackage{beamerfontthemeBFH}[2023/10/20 v2.2.0 BFH-CI beamer font theme, CI of Bern University of Applied Sciences] +\ProvidesPackage{beamerfontthemeBFH}[2024-03-11 v2.2.1 BFH-CI beamer font theme, CI of Bern University of Applied Sciences] % ==================== % Dependencies @@ -79,4 +79,4 @@ \mode -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty index 14d4666184..0cb62e7af8 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerinnerthemeBFH.sty @@ -1,9 +1,9 @@ -%% This is file `beamerinnerthemeBFH.sty' version 2.2.0 (2023/10/20), +%% This is file `beamerinnerthemeBFH.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesExplPackage{beamerinnerthemeBFH}{2023/10/20}{2.2.0}{BFH-CI beamer inner theme, CI of Bern University of Applied Sciences} +\ProvidesExplPackage{beamerinnerthemeBFH}{2024-03-11}{2.2.1}{BFH-CI beamer inner theme, CI of Bern University of Applied Sciences} \RequirePackage{l3keys2e} diff --git a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty index 5e77f17d64..6fbaa19534 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH-sidebar.sty @@ -1,9 +1,9 @@ -%% This is file `beamerouterthemeBFH-sidebar.sty' version 2.2.0 (2023/10/20), +%% This is file `beamerouterthemeBFH-sidebar.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesPackage{beamerouterthemeBFH-sidebar}[2023/10/20 v2.2.0 BFH-CI beamer outer theme sidebar variant, CI of Bern University of Applied Sciences] +\ProvidesPackage{beamerouterthemeBFH-sidebar}[2024-03-11 v2.2.1 BFH-CI beamer outer theme sidebar variant, CI of Bern University of Applied Sciences] \mode \useoutertheme{BFH} @@ -102,4 +102,4 @@ \mode -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty index 706d7a3d55..94c27de71a 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerouterthemeBFH.sty @@ -1,9 +1,9 @@ -%% This is file `beamerouterthemeBFH.sty' version 2.2.0 (2023/10/20), +%% This is file `beamerouterthemeBFH.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesPackage{beamerouterthemeBFH}[2023/10/20 v2.2.0 BFH-CI beamer outer theme, CI of Bern University of Applied Sciences] +\ProvidesPackage{beamerouterthemeBFH}[2024-03-11 v2.2.1 BFH-CI beamer outer theme, CI of Bern University of Applied Sciences] \RequirePackage{l3keys2e} @@ -88,4 +88,4 @@ \mode -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty b/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty index 56ffc39933..72fc7866f1 100644 --- a/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty +++ b/macros/latex/contrib/bfh-ci/tex/beamerthemeBFH.sty @@ -1,9 +1,9 @@ -%% This is file `beamerthemeBFH.sty' version 2.2.0 (2023/10/20), +%% This is file `beamerthemeBFH.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesPackage{beamerthemeBFH}[2023/10/20 v2.2.0 BFH-CI beamer theme, CI of Bern University of Applied Sciences] +\ProvidesPackage{beamerthemeBFH}[2024-03-11 v2.2.1 BFH-CI beamer theme, CI of Bern University of Applied Sciences] % ==================== % Dependencies % ==================== diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo index f85a72c429..9e8f0a3bd6 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a0paper.clo @@ -1,9 +1,9 @@ -%% This is file `bfh-a0paper.clo' version 2.2.0 (2023/10/20), +%% This is file `bfh-a0paper.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-a0paper.clo}{2023/10/20}{2.2.0}{bfh-ci~size~adjustments~for~a0paper} +\ProvidesExplFile{bfh-a0paper.clo}{2024-03-11}{2.2.1}{bfh-ci~size~adjustments~for~a0paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{126bp}{165bp}} \cs_set:Nn \ptxcd_subtitle_fontsize: {{38bp}{55bp}} @@ -41,4 +41,4 @@ \dim_gset:Nn \g_ptxcd_rule_arc_dim {2.1mm} \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {30pt}} } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo index 6e7c610b2c..1757ec792c 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a1paper.clo @@ -1,9 +1,9 @@ -%% This is file `bfh-a1paper.clo' version 2.2.0 (2023/10/20), +%% This is file `bfh-a1paper.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-a1paper.clo}{2023/10/20}{2.2.0}{bfh-ci~size~adjustments~for~a1paper} +\ProvidesExplFile{bfh-a1paper.clo}{2024-03-11}{2.2.1}{bfh-ci~size~adjustments~for~a1paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{90bp}{108bp}} \cs_set:Nn \ptxcd_subtitle_fontsize: {{27bp}{32.5bp}} @@ -40,4 +40,4 @@ \dim_gset:Nn \g_ptxcd_rule_arc_dim {1.6mm} \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {27pt}} } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo index 10532d4493..cbb1b8bb35 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a2paper.clo @@ -1,9 +1,9 @@ -%% This is file `bfh-a2paper.clo' version 2.2.0 (2023/10/20), +%% This is file `bfh-a2paper.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-a2paper.clo}{2023/10/20}{2.2.0}{bfh-ci~size~adjustments~for~a2paper} +\ProvidesExplFile{bfh-a2paper.clo}{2024-03-11}{2.2.1}{bfh-ci~size~adjustments~for~a2paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{64bp}{77bp}} \cs_set:Nn \ptxcd_subtitle_fontsize: {{19.5bp}{23.4bp}} @@ -40,4 +40,4 @@ \dim_gset:Nn \g_ptxcd_rule_arc_dim {1.2mm} \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {19.5pt}} } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo index 070b99f236..b412b98da8 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a3paper.clo @@ -1,9 +1,9 @@ -%% This is file `bfh-a3paper.clo' version 2.2.0 (2023/10/20), +%% This is file `bfh-a3paper.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-a0paper.clo}{2023/10/20}{2.2.0}{bfh-ci~size~adjustments~for~a1paper} +\ProvidesExplFile{bfh-a0paper.clo}{2024-03-11}{2.2.1}{bfh-ci~size~adjustments~for~a1paper} \cs_set:Nn \ptxcd_setup_title_sizes: { \cs_set:Nn \ptxcd_title_fontsize: {{46bp}{55.2bp}} \cs_set:Nn \ptxcd_subtitle_fontsize: {{19.5bp}{23.4bp}} @@ -40,4 +40,4 @@ \dim_gset:Nn \g_ptxcd_rule_arc_dim {0.8mm} \tl_if_empty:NT \g_ptxcd_fontsize_tl {\tl_gset:Nn \g_ptxcd_fontsize_tl {17pt}} } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo index 5220a030e1..e89ebc96b1 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a4paper.clo @@ -1,9 +1,9 @@ -%% This is file `bfh-a4paper.clo' version 2.2.0 (2023/10/20), +%% This is file `bfh-a4paper.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,9 +28,9 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-a0paper.clo}{2023/10/20}{2.2.0}{bfh-ci~size~adjustments~for~a4paper} +\ProvidesExplFile{bfh-a0paper.clo}{2024-03-11}{2.2.1}{bfh-ci~size~adjustments~for~a4paper} \cs_set:Nn \ptxcd_setup_base_sizes: { \dim_gset:Nn \g_ptxcd_rule_height_dim {2.5mm} \dim_gset:Nn \g_ptxcd_rule_arc_dim {.5mm} } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo index 736339559f..cf5f960299 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a5paper.clo @@ -1,9 +1,9 @@ -%% This is file `bfh-a5paper.clo' version 2.2.0 (2023/10/20), +%% This is file `bfh-a5paper.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,9 +28,9 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-a5paper.clo}{2023/10/20}{2.2.0}{bfh-ci~size~adjustments~for~a5paper} +\ProvidesExplFile{bfh-a5paper.clo}{2024-03-11}{2.2.1}{bfh-ci~size~adjustments~for~a5paper} \cs_set:Nn \ptxcd_setup_base_sizes: { \dim_gset:Nn \g_ptxcd_rule_height_dim {2.5mm} \dim_gset:Nn \g_ptxcd_rule_arc_dim {.5mm}% } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo b/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo index 9c15bff895..dfe00c3bb3 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfh-a6paper.clo @@ -1,9 +1,9 @@ -%% This is file `bfh-a6paper.clo' version 2.2.0 (2023/10/20), +%% This is file `bfh-a6paper.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -35,4 +35,4 @@ \dim_gset:Nn \g_ptxcd_rule_height_dim {2mm} \dim_gset:Nn \g_ptxcd_rule_arc_dim {.4mm}% } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg index 72cde708f5..e82ca72069 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-beamerarticle.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-beamerarticle.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-beamerarticle.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesFile{bfh-beamerarticle.cfg} [2023/10/20 v2.2.0 beamerarticle configuration for bfhlayout] +\ProvidesFile{bfh-beamerarticle.cfg} [2024-03-11 v2.2.1 beamerarticle configuration for bfhlayout] \let\orig@titlegraphic\titlegraphic \let\titlegraphic\@undefined @@ -37,4 +37,4 @@ \let\titlegraphic\orig@titlegraphic \let\institute\@undefined -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg index 720478c8f8..c7d00a59ad 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-factsheet.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-factsheet.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-factsheet.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesFile{bfh-factsheet.cfg}[2023/10/20 v2.2.0 factsheet configuration for bfhlayout] +\ProvidesFile{bfh-factsheet.cfg}[2024-03-11 v2.2.1 factsheet configuration for bfhlayout] \KOMAoptions{headsepline=false} \clearpairofpagestyles diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-hkb-doc.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-hkb-doc.cfg new file mode 100644 index 0000000000..f08057cf9f --- /dev/null +++ b/macros/latex/contrib/bfh-ci/tex/bfh-hkb-doc.cfg @@ -0,0 +1,311 @@ +%% This is file `bfhhkb-doc.cfg' version 2.2.1 (2024-03-11), +%% it is part of +%% BFH-CI -- Corporate Design for Bern University of Applied Sciences +%% ---------------------------------------------------------------------------- +%% +%% Copyright (C) 2021–2024 by +%% Marei Peischl +%% Andreas Habegger +%% +%% ============================================================================ +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3c +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3c or later is part of all distributions of LaTeX +%% version 2008/05/04 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainers of this work are +%% Marei Peischl +%% Andreas Habegger +%% +%% The development respository can be found at +%% https://gitlab.ti.bfh.ch/bfh-latex/bfh-ci/ +%% Please use the issue tracker for feedback! +%% +%% ============================================================================ +%% +\ProvidesExplFile{bfh-hkb-doc.cfg} {2024-03-11}{2.2.1}{hkb-doc module for bfhthesis} +\RenewDocumentCommand{\titlegraphic}{sm}{ + \IfBooleanTF{#1}{ + \tl_gset:Nn \g_ptxcd_titleimage_code_tl { + \hbox_set:Nn \l__ptxcd_titlegraphic_box {\raisebox{\depth}{#2}} + \box_resize_to_ht:Nn \l__ptxcd_titlegraphic_box {\height} + \dim_compare:nTF {\box_wd:N \l__ptxcd_titlegraphic_box - \width > \c_zero_dim} + { + \dim_set:Nn \l_tmpa_dim {.5\box_ht:N \l__ptxcd_titlegraphic_box - .5\height} + \clipbox{0pt~\dim_eval:n{\l_tmpa_dim}~0pt~\dim_eval:n{\l_tmpa_dim}}{\box_use:N \l__ptxcd_titlegraphic_box} + }{ + \box_use:N \l__ptxcd_titlegraphic_box + } + } + }{ + \tl_gset:Nn \g_ptxcd_titleimage_code_tl {#2} + } +} + +\cs_new:Nn \__ptxcd_title_tabular_entry:n { + \tl_if_in:nnTF {#1} {= } { + \__ptxcd_title_tabular_entry:w #1 \q_stop + } { + \text_titlecase_first:n {#1}\\ + } +} + +\cs_new:Npn \__ptxcd_title_tabular_entry:w #1 = #2 \q_stop { + \text_titlecase_first:n {#1}\unskip :& #2 \\ +} + +\seq_new:N \g__ptxcd_projectData_seq +\newcommand*{\ProjectData}[1]{ + \seq_gset_from_clist:Nn \g__ptxcd_projectData_seq {#1} +} + +\colorlet{BFH-Title}{black} + +\newkomafont{titledata}{\normalfont\footnotesize} +\setkomafont{disposition}{\bfseries} +\addtokomafont{subtitle}{\mdseries\LARGE} +\addtokomafont{caption}{\tiny} +\setkomafont{caption}{\footnotesize} +\setkomafont{captionlabel}{\usekomafont{caption}\bfseries} + +\setkomafont{pageheadfoot}{\footnotesize} +\setkomafont{footnote}{} +\setkomafont{pagenumber}{\fontsize{6pt}{6pt}\selectfont} + +\colorlet{BFH-textaccentcolor}{.} + +\cs_if_exist:NTF \chapter { + \RedeclareSectionCommand[ + beforeskip=0pt + ]{chapter} + \setkomafont{chapter}{\LARGE} + \setkomafont{section}{\Large} + \setkomafont{subsection}{\large} + \setkomafont{subsubsection}{\mdseries} + \setkomafont{paragraph}{\mdseries} + \setkomafont{subparagraph}{\mdseries} +} { + \setkomafont{section}{\LARGE} + \setkomafont{subsection}{\large} + \setkomafont{subsubsection}{\mdseries} + \setkomafont{paragraph}{\mdseries} + \setkomafont{subparagraph}{\mdseries} +} + +\AddToHook{begindocument/end}{ + \defcaptionname{swissgerman,nswissgerman,german,ngerman}{\refname}{Literaturverzeichnis} + \defcaptionname{swissgerman,nswissgerman,german,ngerman}{\bibname}{Literaturverzeichnis} + \defcaptionname{swissgerman,nswissgerman,german,ngerman}{\figurename}{Fig.} + \defcaptionname{swissgerman,nswissgerman,german,ngerman}{\tablename}{Tab.} +} + +\RedeclareSectionCommand[ + style=section, + runin=false, + afterskip=0pt +]{paragraph} + +\RedeclareSectionCommand[ + style=section, + runin=false, + afterskip=0pt +]{subparagraph} + +\RequirePackage{tabularx} + + +\renewcommand*{\maketitle}[1][1]{ + \def\and{,~ } + \cs_if_exist_use:N \ptxcd_pass_TitleData: + \if@titlepage + \begin{titlepage} + \KOMAoptions{fontsize=11pt} + \setcounter{page}{% + #1% + }% + \def\thefootnote{\fnsymbol{footnote}} + \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative + \thispagestyle{empty}%TODO title. + \vspace*{-2cm} + \tl_if_eq:cnTF {BFH-optional-Logo} {true} { + \raisebox{.75mm}{\includegraphics[height=17mm]{example-image}} + \hspace{1.25cm}\includegraphics[height=19mm]{example-image} + }{ + \raisebox{.75mm}{\includegraphics[height=17mm]{HKB_Markenzeichen\str_if_eq:VnF \g__ptxcd_colormode_tl {RGB} {_CMYK}}} + \hspace{1.25cm}\includegraphics[height=19mm]{CRC_Logo\str_if_eq:VnF \g__ptxcd_colormode_tl {RGB} {_CMYK}} + } + \par + \vspace{2.15cm} + \begingroup + \def\width{\dimexpr14.75cm} + \def\height{\dimexpr11.1cm} + \tl_if_empty:NF \g_ptxcd_titleimage_code_tl { + \g_ptxcd_titleimage_code_tl + } + \par + \endgroup + \vspace{1.7cm} + + \begingroup + \usekomafont{disposition} + {\usekomafont{title}\@title\par} + \endgroup + + \ifx\@subtitle\@empty\else{\vspace{.2\baselineskip}\usekomafont{subtitle}\@subtitle\par}\fi + + \vfill + \usekomafont{titledata} + \begin{tabularx}{\linewidth}{@{}l@{\hspace{1.6em}}X@{}}% + \seq_map_function:NN \g__ptxcd_projectData_seq \__ptxcd_title_tabular_entry:n + \end{tabularx} + \vspace*{-2\baselineskip} + + \@thanks\let\@thanks\@empty + \if@twoside + \@tempswatrue + \if@tempswa + \next@tpage + \begin{minipage}[t]{\textwidth} + \@uppertitleback + \end{minipage}\par + \vfill + \begin{minipage}[b]{\textwidth} + \@lowertitleback + \end{minipage}\par + \@thanks\let\@thanks\@empty + \fi + \fi + \ifx\@dedication\@empty + \else + \next@tdpage\null\vfill + {\centering\usekomafont{dedication}{\@dedication \par}}% + \vskip \z@ \@plus3fill + \@thanks\let\@thanks\@empty + \cleardoubleemptypage + \fi + \end{titlepage} + \setcounter{footnote}{0}% + \global\let\and\relax + \cleardoublepage + \else + \par + \@tempcnta=% + #1% + \relax\ifnum\@tempcnta=1\else + \ClassWarning{\KOMAClassName}{% + Optional argument of \string\maketitle\space ignored\MessageBreak + in `titlepage=false' mode% + }% + \fi + \ifx\@uppertitleback\@empty\else + \ClassWarning{\KOMAClassName}{% + non empty \string\uppertitleback\space ignored + by \string\maketitle\MessageBreak + in `titlepage=false' mode% + }% + \fi + \ifx\@lowertitleback\@empty\else + \ClassWarning{\KOMAClassName}{% + non empty \string\lowertitleback\space ignored + by \string\maketitle\MessageBreak + in `titlepage=false' mode% + }% + \fi + \begingroup + \let\titlepage@restore\relax + \def\thefootnote{\fnsymbol{footnote}} + \next@tdpage + \ifx\@extratitle\@empty + \ifx\@frontispiece\@empty\else \mbox{}\fi + \else + \@makeextratitle + \fi + \ifx\@frontispiece\@empty + \ifx\@extratitle\@empty\else\next@tdpage\fi + \else + \next@tpage + \@makefrontispiece + \next@tdpage + \fi + \if@twocolumn + \twocolumn[\@maketitle] + \else + \@maketitle + \fi + \ifx\titlepagestyle\@empty\else\thispagestyle{\titlepagestyle}\fi + \global\let\@thanks\@empty + \endgroup + \fi +} + + +\clearpairofpagestyles +\ofoot[\pagemark]{\pagemark} + +% disable adjustment of \labelitemi +\RemoveFromHook{begindocument/end}[bfh-ci-label] + +% margins +\dim_if_exist:NF \g_ptxcd_innerMargin_dim { + \dim_new:N \g_ptxcd_innerMargin_dim + \dim_new:N \g_ptxcd_outerMargin_dim + \dim_new:N \g_ptxcd_bottomMargin_dim + \dim_new:N \g_ptxcd_topMargin_dim + \dim_new:N \g_ptxcd_topLogoMargin_dim + \dim_new:N \g_ptxcd_columnSep_dim + \RequirePackage{geometry} +} +\dim_gset:Nn \g_ptxcd_columnSep_dim {4mm} + +\dim_gset:Nn \g_ptxcd_topMargin_dim {26mm} +\dim_gset:Nn \g_ptxcd_bottomMargin_dim {15mm}%20mm} +\dim_gset:Nn \g_ptxcd_innerMargin_dim {35mm} +\dim_gset:Nn \g_ptxcd_outerMargin_dim {28mm}%12mm} +\dim_gset:Nn \g_ptxcd_topLogoMargin_dim {25mm} + +\geometry{ + includefoot, + % footskip=\dim_eval:n {\footskip+\baselineskip}, + top=\g_ptxcd_topMargin_dim, + inner=\g_ptxcd_innerMargin_dim, + outer=\dim_eval:n {\g_ptxcd_outerMargin_dim}, + bottom=\dimexpr\g_ptxcd_bottomMargin_dim-\dp\strutbox, + columnsep= \g_ptxcd_columnSep_dim, +} + + +\KOMAoptions{ + bibliography=totoc, + listof=totoc, + parskip=full, + fontsize=9bp, + headsepline=false, + captions=nooneline, + footwidth=\dimexpr\textwidth+13mm, +} + +\DeclareTOCStyleEntries[beforeskip=1ex]{tocline}{section,subsection,subsubsection,paragraph,subparagraph} + +\cs_if_exist:NTF \chapter { + \DeclareTOCStyleEntries[beforeskip=\baselineskip]{tocline}{chapter} +}{ + \DeclareTOCStyleEntries[beforeskip=\baselineskip]{tocline}{section} +} + + +\setcounter{secnumdepth}{\subparagraphnumdepth} +\setcounter{tocdepth}{\subparagraphnumdepth} + +\raggedbottom + +\iftutex + \setsansfont{texgyreheros}[Scale=1.1,LetterSpace=1.3] +\fi +\renewcommand*{\familydefault}{\sfdefault} + +\endinput 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 b3d2c96c66..9eb7c6da26 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-boxes.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-layout-boxes.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-layout-boxes.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -29,7 +29,7 @@ %% ============================================================================ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesFile{bfh-layout-boxes.cfg}[2023/10/20 v2.2.0 boxes configuration for bfhlayout] +\ProvidesFile{bfh-layout-boxes.cfg}[2024-03-11 v2.2.1 boxes configuration for bfhlayout] \RequirePackage{bfhcolors} \RequirePackage{fontawesome} \PassOptionsToPackage{most}{tcolorbox} 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 7004118cde..3f79fa4bc2 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-listings.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-layout-listings.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-layout-listings.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesFile{bfh-layout-listings.cfg}[2023/10/20 v2.2.0 listings configuration for bfhlayout] +\ProvidesFile{bfh-layout-listings.cfg}[2024-03-11 v2.2.1 listings configuration for bfhlayout] \RequirePackage{bfhcolors} %% Hack to fix issue with float env used in listings package %% ref. : https://tex.stackexchange.com/questions/51867/koma-warning-about-toc @@ -129,4 +129,4 @@ }% -\endinput \ No newline at end of file +\endinput 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 747332de29..468e9c98a8 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-rules.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-layout-rules.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-layout-rules.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-layout-rules.cfg}{2023/10/20}{2.2.0}{rules configuration for bfhlayout} +\ProvidesExplFile{bfh-layout-rules.cfg}{2024-03-11}{2.2.1}{rules configuration for bfhlayout} \int_if_exist:NF \g_ptxcd_paper_int { \int_new:N \g_ptxcd_paper_int @@ -80,4 +80,4 @@ } -\endinput \ No newline at end of file +\endinput 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 7fcbf4e0e9..88b42a6b66 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-tabular.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-layout-tabular.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-layout-tabular.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesExplFile{bfh-layout-tabular.cfg}{2023/10/20}{2.2.0}{tabular and tabularray configuration for bfhlayout} +\ProvidesExplFile{bfh-layout-tabular.cfg}{2024-03-11}{2.2.1}{tabular and tabularray configuration for bfhlayout} \colorlet{BFH-table}{BFH-LightGreen!10} \colorlet{BFH-tablehead}{BFH-LightGreen!50} @@ -63,4 +63,4 @@ } } -\endinput \ No newline at end of file +\endinput 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 9544b8c3fa..1d7f134f4d 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-layout-terminal.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-layout-tabular.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-layout-tabular.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -29,7 +29,7 @@ %% ============================================================================ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesFile{bfh-layout-terminal.cfg}[2023/10/20 v2.2.0 terminal configuration for bfhlayout] +\ProvidesFile{bfh-layout-terminal.cfg}[2024-03-11 v2.2.1 terminal configuration for bfhlayout] \RequirePackage{bfhcolors} \RequirePackage{tcolorbox} diff --git a/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg b/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg index 97eea44fad..0d951d77f0 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg +++ b/macros/latex/contrib/bfh-ci/tex/bfh-projectproposal.cfg @@ -1,9 +1,9 @@ -%% This is file `bfh-projectproposal.cfg' version 2.2.0 (2023/10/20), +%% This is file `bfh-projectproposal.cfg' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesFile{bfh-projectproposal.cfg}[2023/10/20 v2.2.0 projectproposal configuration for bfhlayout] +\ProvidesFile{bfh-projectproposal.cfg}[2024-03-11 v2.2.1 projectproposal configuration for bfhlayout] \KOMAoptions{headsepline=false} \clearpairofpagestyles @@ -224,4 +224,4 @@ \end{tikzpicture} \endgroup } -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls b/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls index 90ca633c01..dce7fac5c5 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhbeamer.cls @@ -1,9 +1,9 @@ -%% This is file `bfhbeamer.cls' version 2.2.0 (2023/10/20), +%% This is file `bfhbeamer.cls' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -29,7 +29,7 @@ %% ============================================================================ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{bfhbeamer}[2023/10/20 v2.2.0 BFH-CI beamer layout, CI of Bern University of Applied Sciences] +\ProvidesClass{bfhbeamer}[2024-03-11 v2.2.1 BFH-CI beamer layout, CI of Bern University of Applied Sciences] \RequirePackage{l3keys2e} \PassOptionsToPackage{table}{xcolor} diff --git a/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty b/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty index 288580fec5..69e7fdf9da 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhcolors.sty @@ -1,9 +1,9 @@ -%% This is file `bfhcolors.sty' version 2.2.0 (2023/10/20), +%% This is file `bfhcolors.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -29,7 +29,7 @@ %% ============================================================================ %% \RequirePackage{expl3} -\ProvidesExplPackage{bfhcolors}{2023/10/20}{2.2.0}{color setup for BFH-CI, CI of Bern Universitry of Applied Sciences} +\ProvidesExplPackage{bfhcolors}{2024-03-11}{2.2.1}{color setup for BFH-CI, CI of Bern Universitry of Applied Sciences} \RequirePackage{l3keys2e} \tl_new:N \g__ptxcd_colormode_tl diff --git a/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty b/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty index 5f41d47ca4..11d6828463 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhfonts.sty @@ -1,9 +1,9 @@ -%% This is file `bfhfonts.sty' version 2.2.0 (2023/10/20), +%% This is file `bfhfonts.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -29,7 +29,7 @@ %% ============================================================================ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{bfhfonts}[2023/10/20 v2.2.0 BFH-CI (fonts Module)] +\ProvidesPackage{bfhfonts}[2024-03-11 v2.2.1 BFH-CI (fonts Module)] \RequirePackage{iftex} \RequirePackage{anyfontsize} @@ -68,4 +68,4 @@ \newcommand*{\ltseries}{\fontseries{l}\selectfont} \fi -\endinput \ No newline at end of file +\endinput diff --git a/macros/latex/contrib/bfh-ci/tex/bfhhkb-doc.cfg b/macros/latex/contrib/bfh-ci/tex/bfhhkb-doc.cfg deleted file mode 100644 index 2effb93b65..0000000000 --- a/macros/latex/contrib/bfh-ci/tex/bfhhkb-doc.cfg +++ /dev/null @@ -1,311 +0,0 @@ -%% This is file `bfhhkb-doc.cfg' version 2.2.0 (2023/10/20), -%% it is part of -%% BFH-CI -- Corporate Design for Bern University of Applied Sciences -%% ---------------------------------------------------------------------------- -%% -%% Copyright (C) 2021-2023 by -%% Marei Peischl -%% Andreas Habegger -%% -%% ============================================================================ -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2008/05/04 or later. -%% -%% This work has the LPPL maintenance status `maintained'. -%% -%% The Current Maintainers of this work are -%% Marei Peischl -%% Andreas Habegger -%% -%% The development respository can be found at -%% https://gitlab.ti.bfh.ch/bfh-latex/bfh-ci/ -%% Please use the issue tracker for feedback! -%% -%% ============================================================================ -%% -\ProvidesExplFile{bfh-beamerarticle.cfg} {2023/10/20}{2.2.0}{hkb-doc module for bfhthesis} -\RenewDocumentCommand{\titlegraphic}{sm}{ - \IfBooleanTF{#1}{ - \tl_gset:Nn \g_ptxcd_titleimage_code_tl { - \hbox_set:Nn \l__ptxcd_titlegraphic_box {\raisebox{\depth}{#2}} - \box_resize_to_ht:Nn \l__ptxcd_titlegraphic_box {\height} - \dim_compare:nTF {\box_wd:N \l__ptxcd_titlegraphic_box - \width > \c_zero_dim} - { - \dim_set:Nn \l_tmpa_dim {.5\box_ht:N \l__ptxcd_titlegraphic_box - .5\height} - \clipbox{0pt~\dim_eval:n{\l_tmpa_dim}~0pt~\dim_eval:n{\l_tmpa_dim}}{\box_use:N \l__ptxcd_titlegraphic_box} - }{ - \box_use:N \l__ptxcd_titlegraphic_box - } - } - }{ - \tl_gset:Nn \g_ptxcd_titleimage_code_tl {#2} - } -} - -\cs_new:Nn \__ptxcd_title_tabular_entry:n { - \tl_if_in:nnTF {#1} {= } { - \__ptxcd_title_tabular_entry:w #1 \q_stop - } { - \text_titlecase_first:n {#1}\\ - } -} - -\cs_new:Npn \__ptxcd_title_tabular_entry:w #1 = #2 \q_stop { - \text_titlecase_first:n {#1}\unskip :& #2 \\ -} - -\seq_new:N \g__ptxcd_projectData_seq -\newcommand*{\ProjectData}[1]{ - \seq_gset_from_clist:Nn \g__ptxcd_projectData_seq {#1} -} - -\colorlet{BFH-Title}{black} - -\newkomafont{titledata}{\normalfont\footnotesize} -\setkomafont{disposition}{\bfseries} -\addtokomafont{subtitle}{\mdseries\LARGE} -\addtokomafont{caption}{\tiny} -\setkomafont{caption}{\footnotesize} -\setkomafont{captionlabel}{\usekomafont{caption}\bfseries} - -\setkomafont{pageheadfoot}{\footnotesize} -\setkomafont{footnote}{} -\setkomafont{pagenumber}{\fontsize{6pt}{6pt}\selectfont} - -\colorlet{BFH-textaccentcolor}{.} - -\cs_if_exist:NTF \chapter { - \RedeclareSectionCommand[ - beforeskip=0pt - ]{chapter} - \setkomafont{chapter}{\LARGE} - \setkomafont{section}{\Large} - \setkomafont{subsection}{\large} - \setkomafont{subsubsection}{\mdseries} - \setkomafont{paragraph}{\mdseries} - \setkomafont{subparagraph}{\mdseries} -} { - \setkomafont{section}{\LARGE} - \setkomafont{subsection}{\large} - \setkomafont{subsubsection}{\mdseries} - \setkomafont{paragraph}{\mdseries} - \setkomafont{subparagraph}{\mdseries} -} - -\AddToHook{begindocument/end}{ - \defcaptionname{swissgerman,nswissgerman,german,ngerman}{\refname}{Literaturverzeichnis} - \defcaptionname{swissgerman,nswissgerman,german,ngerman}{\bibname}{Literaturverzeichnis} -} - -\RedeclareSectionCommand[ - style=section, - runin=false, - afterskip=0pt -]{paragraph} - -\RedeclareSectionCommand[ - style=section, - runin=false, - afterskip=0pt -]{subparagraph} - -\RequirePackage{tabularx} - - -\renewcommand*{\maketitle}[1][1]{ - \def\and{,~ } - \cs_if_exist_use:N \ptxcd_pass_TitleData: - \if@titlepage - \begin{titlepage} - \KOMAoptions{fontsize=11pt} - \setcounter{page}{% - #1% - }% - \def\thefootnote{\fnsymbol{footnote}} - \setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative - \thispagestyle{empty}%TODO title. - \vspace*{-2cm} - \tl_if_eq:cnTF {BFH-optional-Logo} {true} { - \raisebox{.75mm}{\includegraphics[height=17mm]{example-image}} - \hspace{1.25cm}\includegraphics[height=19mm]{example-image} - }{ - \raisebox{.75mm}{\includegraphics[height=17mm]{HKB_Markenzeichen}} - \hspace{1.25cm}\includegraphics[height=19mm]{CRC_Logo} - } - \par - \vspace{2.15cm} - \begingroup - \def\width{\dimexpr14.75cm} - \def\height{\dimexpr11.1cm} - \tl_if_empty:NTF \g_ptxcd_titleimage_code_tl { - \rule{0pt}{\height} - } { - \g_ptxcd_titleimage_code_tl - } - \par - \endgroup - \vspace{1.7cm} - - \begingroup - \usekomafont{disposition} - {\usekomafont{title}\@title\par} - \endgroup - - \ifx\@subtitle\@empty\else{\vspace{.2\baselineskip}\usekomafont{subtitle}\@subtitle\par}\fi - - \vfill - \usekomafont{titledata} - \begin{tabularx}{\linewidth}{@{}l@{\hspace{1.6em}}X@{}}% - \seq_map_function:NN \g__ptxcd_projectData_seq \__ptxcd_title_tabular_entry:n - \end{tabularx} - \vspace*{-2\baselineskip} - - \@thanks\let\@thanks\@empty - \if@twoside - \@tempswatrue - \if@tempswa - \next@tpage - \begin{minipage}[t]{\textwidth} - \@uppertitleback - \end{minipage}\par - \vfill - \begin{minipage}[b]{\textwidth} - \@lowertitleback - \end{minipage}\par - \@thanks\let\@thanks\@empty - \fi - \fi - \ifx\@dedication\@empty - \else - \next@tdpage\null\vfill - {\centering\usekomafont{dedication}{\@dedication \par}}% - \vskip \z@ \@plus3fill - \@thanks\let\@thanks\@empty - \cleardoubleemptypage - \fi - \end{titlepage} - \setcounter{footnote}{0}% - \global\let\and\relax - \cleardoublepage - \else - \par - \@tempcnta=% - #1% - \relax\ifnum\@tempcnta=1\else - \ClassWarning{\KOMAClassName}{% - Optional argument of \string\maketitle\space ignored\MessageBreak - in `titlepage=false' mode% - }% - \fi - \ifx\@uppertitleback\@empty\else - \ClassWarning{\KOMAClassName}{% - non empty \string\uppertitleback\space ignored - by \string\maketitle\MessageBreak - in `titlepage=false' mode% - }% - \fi - \ifx\@lowertitleback\@empty\else - \ClassWarning{\KOMAClassName}{% - non empty \string\lowertitleback\space ignored - by \string\maketitle\MessageBreak - in `titlepage=false' mode% - }% - \fi - \begingroup - \let\titlepage@restore\relax - \def\thefootnote{\fnsymbol{footnote}} - \next@tdpage - \ifx\@extratitle\@empty - \ifx\@frontispiece\@empty\else \mbox{}\fi - \else - \@makeextratitle - \fi - \ifx\@frontispiece\@empty - \ifx\@extratitle\@empty\else\next@tdpage\fi - \else - \next@tpage - \@makefrontispiece - \next@tdpage - \fi - \if@twocolumn - \twocolumn[\@maketitle] - \else - \@maketitle - \fi - \ifx\titlepagestyle\@empty\else\thispagestyle{\titlepagestyle}\fi - \global\let\@thanks\@empty - \endgroup - \fi -} - - -\clearpairofpagestyles -\ofoot[\pagemark]{\pagemark} - -% disable adjustment of \labelitemi -\RemoveFromHook{begindocument/end}[bfh-ci-label] - -% margins -\dim_if_exist:NF \g_ptxcd_innerMargin_dim { - \dim_new:N \g_ptxcd_innerMargin_dim - \dim_new:N \g_ptxcd_outerMargin_dim - \dim_new:N \g_ptxcd_bottomMargin_dim - \dim_new:N \g_ptxcd_topMargin_dim - \dim_new:N \g_ptxcd_topLogoMargin_dim - \dim_new:N \g_ptxcd_columnSep_dim - \RequirePackage{geometry} -} -\dim_gset:Nn \g_ptxcd_columnSep_dim {4mm} - -\dim_gset:Nn \g_ptxcd_topMargin_dim {26mm} -\dim_gset:Nn \g_ptxcd_bottomMargin_dim {15mm}%20mm} -\dim_gset:Nn \g_ptxcd_innerMargin_dim {35mm} -\dim_gset:Nn \g_ptxcd_outerMargin_dim {28mm}%12mm} -\dim_gset:Nn \g_ptxcd_topLogoMargin_dim {25mm} - -\geometry{ - includefoot, - % footskip=\dim_eval:n {\footskip+\baselineskip}, - top=\g_ptxcd_topMargin_dim, - inner=\g_ptxcd_innerMargin_dim, - outer=\dim_eval:n {\g_ptxcd_outerMargin_dim}, - bottom=\dimexpr\g_ptxcd_bottomMargin_dim-\dp\strutbox, - columnsep= \g_ptxcd_columnSep_dim, -} - - -\KOMAoptions{ - bibliography=totoc, - listof=totoc, - parskip=full, - fontsize=9bp, - headsepline=false, - captions=nooneline, - footwidth=\dimexpr\textwidth+13mm, -} - -\DeclareTOCStyleEntries[beforeskip=1ex]{tocline}{section,subsection,subsubsection,paragraph,subparagraph} - -\cs_if_exist:NTF \chapter { - \DeclareTOCStyleEntries[beforeskip=\baselineskip]{tocline}{chapter} -}{ - \DeclareTOCStyleEntries[beforeskip=\baselineskip]{tocline}{section} -} - - -\setcounter{secnumdepth}{\subparagraphnumdepth} -\setcounter{tocdepth}{\subparagraphnumdepth} - -\raggedbottom - -\iftutex - \setsansfont{texgyreheros}[Scale=1.1,LetterSpace=1.3] -\fi -\renewcommand*{\familydefault}{\sfdefault} - -\endinput \ No newline at end of file diff --git a/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty b/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty index 262a81985f..c8b7270819 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhlayout.sty @@ -1,9 +1,9 @@ -%% This is file `bfhlayout.sty' version 2.2.0 (2023/10/20), +%% This is file `bfhlayout.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -29,7 +29,7 @@ %% ============================================================================ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{bfhlayout}[2023/10/20 v2.2.0 BFH style package (layout)] +\ProvidesPackage{bfhlayout}[2024-03-11 v2.2.1 BFH style package (layout)] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Process Options created for bfharticle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -757,4 +757,4 @@ \titlefooterright{} \endinput -%end of package bfhlayout.sty \ No newline at end of file +%end of package bfhlayout.sty diff --git a/macros/latex/contrib/bfh-ci/tex/bfhletter.sty b/macros/latex/contrib/bfh-ci/tex/bfhletter.sty index 55c15c63b1..a4e0343c9d 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhletter.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhletter.sty @@ -1,9 +1,9 @@ -%% This is file `bfhletter.sty' version 2.2.0 (2023/10/20), +%% This is file `bfhletter.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -28,7 +28,7 @@ %% %% ============================================================================ %% -\ProvidesPackage{bfhletter}[2023/10/20 v2.2.0 letter layouts for BFH-CI, CI of Bern University of Applied Sciences] +\ProvidesPackage{bfhletter}[2024-03-11 v2.2.1 letter layouts for BFH-CI, CI of Bern University of Applied Sciences] \PassOptionsToPackage{fromlogo=true,refline=false,addrfield=topaligned,pagenumber=botright}{scrletter} diff --git a/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo b/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo index 59dfcae401..340e21c525 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo +++ b/macros/latex/contrib/bfh-ci/tex/bfhlettersize9.5pt.clo @@ -1,9 +1,9 @@ -%% This is file `bfhlettersize9.5pt.clo' version 2.2.0 (2023/10/20), +%% This is file `bfhlettersize9.5pt.clo' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% diff --git a/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty b/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty index d7bf6febc7..29ef9f9c70 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty +++ b/macros/latex/contrib/bfh-ci/tex/bfhmodule.sty @@ -1,9 +1,9 @@ -%% This is file `bfhmodule.sty' version 2.2.0 (2023/10/20), +%% This is file `bfhmodule.sty' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -29,7 +29,7 @@ %% ============================================================================ %% \NeedsTeXFormat{LaTeX2e} -\ProvidesExplPackage{bfhmodule}{2023/10/20}{2.2.0}{BFH module package -- modular extensions for bfh-ci} +\ProvidesExplPackage{bfhmodule}{2024-03-11}{2.2.1}{BFH module package -- modular extensions for bfh-ci} \msg_new:nnn {bfhmodule} {module-not-found} { You~tried~to~load~the~BFH~layout~module~#1.\\ diff --git a/macros/latex/contrib/bfh-ci/tex/bfhpub.cls b/macros/latex/contrib/bfh-ci/tex/bfhpub.cls index 1c6164eec6..fe43eb8690 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhpub.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhpub.cls @@ -1,9 +1,9 @@ -%% This is file `bfhpub.cls' version 2.2.0 (2023/10/20), +%% This is file `bfhpub.cls' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -31,7 +31,7 @@ \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplClass{bfhpub} -{2023/10/20}{2.2.0}{Publications using Corporate Design of BFH (BFH-CI)} +{2024-03-11}{2.2.1}{Publications using Corporate Design of BFH (BFH-CI)} \RequirePackage{l3keys2e} @@ -85,6 +85,8 @@ \RequirePackage{bfhlayout} %custom config depends on department_str -\file_if_exist_input:n {bfh\g_ptxcd_department_str.cfg} +\file_if_exist_input:nF {bfh-\g_ptxcd_department_str.cfg} + {\file_if_exist_input:n {bfh\g_ptxcd_department_str.cfg}} + \endinput %End of class bfhpub.cls diff --git a/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls b/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls index ca3d9d7876..462873425b 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhsciposter.cls @@ -1,9 +1,9 @@ -%% This is file `bfhsciposter.cls' version 2.2.0 (2023/10/20), +%% This is file `bfhsciposter.cls' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -30,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\ProvidesExplPackage{bfhsciposter}{2023/10/20}{2.2.0}{Scientific poster layout of BFH} +\ProvidesExplPackage{bfhsciposter}{2024-03-11}{2.2.1}{Scientific poster layout of BFH} \RequirePackage{l3keys2e} \prop_new:N \g_ptxcd_clsopts_prop @@ -574,7 +574,9 @@ \cs_new:Nn \__ptxcd_itemlabel: {{\ifvmode\leavevmode\fi\usekomafont{labelitemi}\raise1.25pt\hbox{$\blacktriangleright$}}} \renewcommand*{\labelitemi}{\__ptxcd_itemlabel:} -\file_if_exist_input:n {bfh\g_ptxcd_department_str.cfg} +%custom config depends on department_str +\file_if_exist_input:nF {bfh-\g_ptxcd_department_str.cfg} + {\file_if_exist_input:n {bfh\g_ptxcd_department_str.cfg}} \endinput %end of bfhsciposter.cls diff --git a/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls b/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls index f403cc104e..13f7644995 100644 --- a/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls +++ b/macros/latex/contrib/bfh-ci/tex/bfhthesis.cls @@ -1,9 +1,9 @@ -%% This is file `bfhthesis.cls' version 2.2.0 (2023/10/20), +%% This is file `bfhthesis.cls' version 2.2.1 (2024-03-11), %% it is part of %% BFH-CI -- Corporate Design for Bern University of Applied Sciences %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2021-2023 by +%% Copyright (C) 2021–2024 by %% Marei Peischl %% Andreas Habegger %% @@ -30,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\ProvidesExplClass{bfhthesis}{2023/10/20}{2.2.0}{Theses using Corporate Design of BFH (BFH-CI), CI of Bern University of Applied Sciences} +\ProvidesExplClass{bfhthesis}{2024-03-11}{2.2.1}{Theses using Corporate Design of BFH (BFH-CI), CI of Bern University of Applied Sciences} \RequirePackage{l3keys2e} @@ -164,7 +164,8 @@ } % End declarationOfAuthorship %custom config depends on department_str -\file_if_exist_input:n {bfh\g_ptxcd_department_str.cfg} +\file_if_exist_input:nF {bfh-\g_ptxcd_department_str.cfg} + {\file_if_exist_input:n {bfh\g_ptxcd_department_str.cfg}} \endinput %End of class bfhthesis.cls diff --git a/macros/latex/contrib/listings/listings-devel.pdf b/macros/latex/contrib/listings/listings-devel.pdf index 77335799e1..5cf9af1ff8 100644 Binary files a/macros/latex/contrib/listings/listings-devel.pdf and b/macros/latex/contrib/listings/listings-devel.pdf differ diff --git a/macros/latex/contrib/listings/listings.dtx b/macros/latex/contrib/listings/listings.dtx index c336295db5..06f881726b 100644 --- a/macros/latex/contrib/listings/listings.dtx +++ b/macros/latex/contrib/listings/listings.dtx @@ -135,7 +135,7 @@ % Hoffmann became the maintainer of the \packagename{listings} % package in 2013; see the Preface for details.}~ % % \textless\lstemail\textgreater} -% \date{2024/02/21\enspace\enspace Version 1.10\ \box\abstractbox} +% \date{2024/03/11\enspace\enspace Version 1.10a\ \box\abstractbox} % \def\lstemail{\href{mailto:j.hoffmann@fh-aachen.de}{\texttt{j.hoffmann(at)fh-aachen.de}}} % \ifhyper % \hypersetup{pdftitle=The Listings Package, @@ -6122,8 +6122,8 @@ % All files will have same date and version. % \begin{macrocode} %<*kernel|misc|doc> -\def\filedate{2024/02/21} -\def\fileversion{1.10} +\def\filedate{2024/03/11} +\def\fileversion{1.10a} % % \end{macrocode} % What we need and who we are. @@ -6165,6 +6165,7 @@ \ProvidesFile{lstpatch.sty} [\filedate\space\fileversion\space(Carsten Heinz)] \lst@CheckVersion\lst@version{} +%%% intentionally empty % % \end{macrocode} % \begin{macrocode} diff --git a/macros/latex/contrib/listings/listings.pdf b/macros/latex/contrib/listings/listings.pdf index 6c0b7ece78..41c366106a 100644 Binary files a/macros/latex/contrib/listings/listings.pdf and b/macros/latex/contrib/listings/listings.pdf differ diff --git a/macros/latex/contrib/listings/lstdrvrs.dtx b/macros/latex/contrib/listings/lstdrvrs.dtx index 02dc1ea88a..56c2a92642 100644 --- a/macros/latex/contrib/listings/lstdrvrs.dtx +++ b/macros/latex/contrib/listings/lstdrvrs.dtx @@ -1,6 +1,6 @@ % \iffalse % -% Time-stamp: <2024-02-17 18:25:08 ax006ho> +% Time-stamp: <2024-03-12 09:33:03 ax006ho> % %<*driver> \documentclass{ltxdoc} @@ -33,7 +33,7 @@ % \title{Language, Style and Format drivers\\ for \textsf{Listings}\\ % {\large by Carsten Heinz and individual authors:}} % \author{\InputIfFileExists{lstdrvrs.tmp}{}{}} -% \date{2024/02/21\enspace\enspace Version 1.10\ \box\abstractbox} +% \date{2024/03/11\enspace\enspace Version 1.10a\ \box\abstractbox} % % \ifhyper % \hypersetup{pdftitle={Language, Style and Format drivers for the @@ -113,6 +113,7 @@ \file{listings-hansl.prf}{\from{lstdrvrs.dtx}{hansl-prf}} \file{listings-lua.prf}{\from{lstdrvrs.dtx}{lua-prf}} \file{listings-python.prf}{\from{lstdrvrs.dtx}{python-prf}} + \file{listings-rexx.prf}{\from{lstdrvrs.dtx}{rexx-prf}} } @@ -137,7 +138,7 @@ % \endgroup % We mainly define default dialects. % \begin{macrocode} -\ProvidesFile{listings.cfg}[2024/02/21 1.10 listings configuration] +\ProvidesFile{listings.cfg}[2024/03/11 1.10a listings configuration] \def\lstlanguagefiles {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty} \lstset{defaultdialect=[R/3 6.10]ABAP, @@ -184,7 +185,8 @@ %<+hansl-prf>\ProvidesFile{listings-hansl.prf} %<+lua-prf>\ProvidesFile{listings-lua.prf} %<+python-prf>\ProvidesFile{listings-python.prf} -%<-config> [2024/02/21 1.10 listings language file] +%<+rexx-prf>\ProvidesFile{listings-rexx.prf} +%<-config> [2024/03/11 1.10a listings language file] % \end{macrocode} % % @@ -320,7 +322,7 @@ morecomment=[l]{//},% morecomment=[s]{/*}{*/},% string=[b]{"},% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -343,7 +345,7 @@ Abs,Array,Clear,CreateObject,CStr,Err,ForReading,ForWriting,% OpenTextFile,Replace,WriteLine% }% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -462,7 +464,7 @@ morecomment=[l]--,% morestring=[m]",% percent not defined as stringizer so far morestring=[m]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -628,7 +630,7 @@ morecomment=[l]//,% morecomment=[s]{/*}{*/},% morestring=[b]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % % \end{macrocode} % \endgroup @@ -809,7 +811,7 @@ morecomment=[l]//,% missing comma: Markus Pahlow morecomment=[n]{/*}{*/},% morestring=[b]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % % \end{macrocode} % \endgroup @@ -990,7 +992,7 @@ morecomment=[s]{/*}{*/},% morecomment=[l]//,% morestring=[b]" - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1091,7 +1093,7 @@ sensitive=true,% morecomment=[l]{//},% morestring=[b]"% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1173,7 +1175,7 @@ sensitive=f,% ??? morecomment=[f][commentstyle][6]*,% morestring=[d]"% ??? doubled - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \texttt{commentstyle} (not the surrounding brackets) have been added after % a bug report by \lsthelper{Stephen Reindl}{Stephen.Reindl@vodafone.de} @@ -1208,7 +1210,7 @@ sensitive=f,% ??? morecomment=[l]//,% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1247,7 +1249,7 @@ morecomment=[l]{REm},% morecomment=[l]{REM},% morestring=[d]"% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1369,7 +1371,7 @@ sensitive=false,% morecomment=[l]\%,% morestring=[m]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1398,7 +1400,7 @@ sqrt,BEGIN,END},% morecomment=[l]\#,% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % Thanks to \lstthanks{Riccardo~Murri}{riccardo.murri@gmx.it}{2003/09/24} % for the following two @@ -1429,7 +1431,7 @@ morecomment=[l]\#,% morestring=[d]",% morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % % \end{macrocode} % \endgroup @@ -1547,7 +1549,7 @@ morecomment=[s]{\{}{\}},% morecomment=[l]{//},% 2001 Christian Gudrian morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1581,7 +1583,7 @@ sensitive,% morecomment=[l]--,% morestring=[d]",% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % The key=value \texttt{stringtest=false} has been removed after a bug % report from \lsthelper{Xavier~Cr\'egut}{cregut@enseeiht.fr}{2002/09/09} @@ -1623,7 +1625,7 @@ replacerow,replacecolumn,replaceelement,transp,errorsstop,stop},% sensitive,% morestring=[d]"% - }[keywords,strings]% + }[keywords,strings] % \end{macrocode} % \begin{macrocode} % @@ -1657,7 +1659,7 @@ morecomment=[l]\%,% morestring=[b]",% morestring=[b]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1693,7 +1695,7 @@ morecomment=[l]--,% morestring=[d]',% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -1888,7 +1890,7 @@ morecomment=[l]!% morecomment=[f]c,% morestring=[d]",%% not Fortran-77 standard, but allowed in Fortran-95 %% morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -2027,7 +2029,7 @@ morecomment=[l]!% morestring=[b]',% morestring=[b]",% morestring=[s]{`}{`},% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -2066,7 +2068,7 @@ morecomment=[l]!% sensitive=f,% morecomment=[s]{\{}{\}},% morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -2105,7 +2107,7 @@ morecomment=[l]!% comment=[l]\#,% morestring=[b]",% morestring=[b]',% - }[keywords,comments,strings]% + }[keywords,comments,strings] % % \end{macrocode} % \endgroup @@ -2333,7 +2335,7 @@ morecomment=[l]!% morecomment=[l]--,% morecomment=[n]{\{-}{-\}},% morestring=[b]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -2425,7 +2427,7 @@ morecomment=[l]!% sensitive=f,% morecomment=[l];,% morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -2447,7 +2449,7 @@ morecomment=[l]!% %% %% Inform definition (c) 2003 Jonathan Sauer %% -\lst@definelanguage{inform}{% +\lst@definelanguage{Inform}{% % Language keywords morekeywords={breakdo,else,false,for,has,hasnt,if,% in,indirect,jump,notin,nothing,NULL,objectloop,ofclass,% @@ -2530,7 +2532,7 @@ morecomment=[l]!% sensitive=false,% morestring=[d]{"},% morecomment=[l]{!}% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -2606,7 +2608,7 @@ morecomment=[l]!% morecomment=[s]{/*}{*/},% morestring=[b]",% morestring=[b]',% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \lsthelper{Herbert Voss}{Herbert.Voss@alumni.TU-Berlin.de}{2002/07/30} % {missing keyword label} added the keyword \texttt{label}. @@ -2615,6 +2617,9 @@ morecomment=[l]!% % \end{macrocode} % \endgroup % +% +% \subsubsection[JVMIS---Java bytecode instructions]{JVMIS---The Java bytecode instructions} +% % \lstthanks{Martine~Gautier}{Martine.Gautier@loria.fr}{2004/03/30} made the % following contribution. % \begingroup @@ -2663,29 +2668,52 @@ morecomment=[l]!% % % \lstthanks{Bastian Germann}{bastian.germann@nordakademie.de}{2013/10/19} % asked to include the Scala definition provided by Frank Teubler -% (2009). Here it is: +% (2009). Here it is---the definition has got a small overhaul according to +% the Scala syntax published for version 2.13 +% (\url{https://scala-lang.org/files/archive/spec/2.13/spec.pdf}): % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} -\lst@definelanguage{Scala}% - {morekeywords={abstract,case,catch,class,def,% +\lst@definelanguage{Scala}{% + morekeywords={abstract,case,catch,class,def,% do,else,extends,false,final,finally,% - for,if,implicit,import,lazy,match,mixin,% - new,null,object,override,package,% + for,forSome,if,implicit,import,lazy,macro,match,% + mixin,new,null,object,override,package,% private,protected,requires,return,sealed,% super,this,trait,true,try,% type,val,var,while,with,yield},%+ -% otherkeywords={_,:,=,=>,<<:,<\%,>:,\#,@},% - otherkeywords={=,=>,<-,<\%,<:,>:,\#,@},% - sensitive,% - morecomment=[l]//,% - morecomment=[n]{/*}{*/},% - morestring=[b]",% - morestring=[b]',% - morestring=[b]""",% - }[keywords,comments,strings]% + otherkeywords={_, :, =, =>, <-, <\%, <:, >:, \#, @},% + sensitive,% + morecomment=[l]//,% + morecomment=[n]{/*}{*/},% + morestring=[b]",% + morestring=[b]',% + morestring=[b]""",% +}[keywords,comments,strings] +% \end{macrocode} +% Remark: This definition contains the keywords |mixin| and |requires|, +% which don't belong to the official Scala 2.13 language definition, the +% keywords |forSome|, |macro|, and |throw|, which were missing in listings +% prior than v1.10a, are added silently. The Unicode operators |\u21D2| and +% |\u2190|, which have the ASCII equivalents |=>| and |<-|, are also +% reserved but cannot be used with PDF\TeX. +% +% \lstthanks{Deloo}{lucadelu97@gmail.com}{2024-03-02} asked for Scala 3.0 +% support. The following code according to +% \url{https://docs.scala-lang.org/scala3/reference/syntax.html} is a +% simple approach, \textsf{listings} cannot correctly support soft +% keywords, because they are context dependent. +% \begin{macrocode} +\lst@definelanguage[3.0]{Scala}[]{Scala}{% + morekeywords={as, derives, end, enum, export, extension, given}, + morekeywords=[2]{infix, inline, opaque, open, transparent} + otherkeywords={=>>, ?=>, =>}, % =>> isn't recognized, even after + % the keyword => is deleted + alsoletter={*, +, -, |}, + deletekeywords={<\%, _, forSome, macro, mixin, requires, this}, +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -2715,7 +2743,8 @@ morecomment=[l]!% morestring=[d]",% morestring=[d]',% morestring=[d]`% - }[keywords,comments,strings]% + }[keywords,comments,strings] +% \end{macrocode} % \begin{macrocode} % % \end{macrocode} @@ -2938,7 +2967,7 @@ morecomment=[l]!% sensitive=false,% morecomment=[l]{--},% morestring=[b]",% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \begin{macrocode} % % \end{macrocode} @@ -3011,7 +3040,7 @@ morecomment=[l]!% morecomment=[l];,% morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes morestring=[b]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -3120,7 +3149,7 @@ morecomment=[l]!% morecomment=[l];,% morecomment=[l];;,% morestring=[b]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -3148,7 +3177,7 @@ morecomment=[l]!% morecomment=[l];,% morecomment=[l];;,% morestring=[b]"% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -3399,7 +3428,7 @@ morecomment=[l]!% morestring=[b]',% % multi line strings morestring=[s]{[[}{]]},% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \endgroup % And here are the new definitions for Lua 5.1: @@ -3498,7 +3527,7 @@ morecomment=[l]!% morestring=[s]{[========[}{]========]},% morestring=[s]{[=========[}{]=========]},% morestring=[s]{[==========[}{]==========]},% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \endgroup % @@ -3582,7 +3611,7 @@ morecomment=[l]!% % and labels are also new in Lua 5.2 % \begin{macrocode} moredelim=[s][keywordstyle3]{::}{::},% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \endgroup % @@ -3642,7 +3671,7 @@ morecomment=[l]!% utf8, utf8.char, utf8.charpattern, utf8.codepoint, utf8.codes,% utf8.len, utf8.offset,% },% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -3816,7 +3845,7 @@ morecomment=[l]!% sensitive,% morecomment=[l]\%,% morestring=[m]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -5972,7 +6001,7 @@ morecomment=[l]!% sensitive,% morecomment=[s]{(*}{*)},% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6012,7 +6041,7 @@ morecomment=[l]!% morecomment=[s]{/*}{*/},% morestring=[bd]",% morestring=[bd]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6131,7 +6160,7 @@ morecomment=[l]!% sensitive,% morecomment=[l]||,% morestring=[b]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6201,7 +6230,7 @@ morecomment=[l]!% sensitive,% morecomment=[n]{(*}{*)},% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6237,7 +6266,7 @@ morecomment=[l]!% morecomment=[n]{(*}{*)},% morestring=[d]',% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6328,7 +6357,7 @@ morecomment=[l]!% morecomment=[n]{(*}{*)},% morestring=[d]',% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6406,7 +6435,7 @@ morecomment=[l]!% sensitive=t,% morecomment=[l]--,% morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % After a bug report by \lsthelper{Martin~S\"u\ss kraut}{Edon.Myder@web.de} % {2003/01/30}{morerdkeywords doesn't exist any more} \texttt{morerdkeywords} @@ -6506,7 +6535,7 @@ morecomment=[l]!% morecomment=[l]\%,% morestring=[m]',% morestring=[m]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6539,7 +6568,7 @@ morecomment=[l]!% morecomment=[s]{/*}{*/},% morestring=[b]",% morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6617,7 +6646,7 @@ morecomment=[l]!% morecomment=[s]{(*}{*)},% morecomment=[s]{\{}{\}},% morestring=[d]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -6667,7 +6696,7 @@ morecomment=[l]!% morestring=[b]',% MoreSelectCharTable=% \lst@ReplaceInput{\$\#}{\lst@ProcessOther\$\lst@ProcessOther\#}% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -7268,7 +7297,7 @@ morecomment=[l]!% morecomment=[s]{/*}{*/},% morestring=[b]",% morestring=[b]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -7358,7 +7387,7 @@ morecomment=[l]!% morecomment=[s]{\%}{\%},% morestring=[b]',% literate={~}{{$\sim$}}{1} {^}{$\wedge$}{1},% - }[keywords,directives,comments,strings]% + }[keywords,directives,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -7398,7 +7427,7 @@ morecomment=[l]!% sensitive=f,% morecomment=[s]{/*}{*/},% morestring=[d]'% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -7558,7 +7587,7 @@ morecomment=[l]!% morecomment=[l]//,% morecomment=[s]{/*}{*/},% morestring=[d]",% - }[keywords,directives,comments,strings]% + }[keywords,directives,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -7593,7 +7622,7 @@ morecomment=[l]!% morecomment=[s]{/*}{*/},% morestring=[bd]",% morestring=[bd]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -7932,7 +7961,7 @@ morecomment=[l]!% morecomment=[n]{/*}{*/},% morestring=[d]{'},% morestring=[d]{"},% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -7971,11 +8000,15 @@ morecomment=[l]!% morestring=[d]",% morestring=[d]',% morecomment=[s]{/*}{*/},% -}[keywords,comments,strings]% +}[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % % \end{macrocode} +% \lstthanks{Shmuel (Seymour J.) Metz}{smetz3@gmu.edu}{% +% 2023-10-30} pointed out the previously unsupported special variables +% |result| etc.. He also gave the advice to complete the definitions +% for OORexx in the following section. % \endgroup % % @@ -8002,6 +8035,54 @@ morecomment=[l]!% % \endgroup % % +% \begingroup +% Jobst Hoffmann added the following configuration for printing +% Rexx code which is similar to the colors used by the Fortran preferences file. +% \begin{macrocode} +%<*rexx-prf> +% \end{macrocode} +% \begin{macrocode} +\usepackage{xcolor} +\usepackage{textcomp} + +%% Actual colors from idlelib/config-highlight.def +%% --> corrected to ``web-safe'' +%% strings = #00aa00 / 0,170,0 (a darker green) +%% builtins = #900090 / 144,0,144 (purple-ish) +%% keywords = #FF7700 / 255,119,0 (quite close to plain `orange') +%\definecolor{IDLEorange}{RGB}{255,119,0} % pretty close to real orange +%\definecolor{IDLEpurple}{RGB}{144,0,144} +%\definecolor{IDLEgreen}{RGB}{0,170,0} +%\definecolor{IDLEred}{RGB}{221,0,0} +%% Corrected to ``web-safe'' +%\definecolor{orange2}{RGB}{255,102,0} +\definecolor{purple2}{RGB}{153,0,153} % there's actually no standard purple +\definecolor{green2}{RGB}{0,153,0} % a darker green +%\definecolor{red2}{RGB}{221,0,0} + +% Except for green and purple, the other colors are pretty good in standard +% hue +\lstdefinestyle{python-idle-code}{% + language=Python, % the language + basicstyle=\normalsize\ttfamily, % size of the fonts for the code + % Color settings to match IDLE style + keywordstyle=\color{orange}, % core keywords + keywordstyle={[2]\color{purple2}}, % built-ins + stringstyle=\color{green2},% + commentstyle=\color{red},% + upquote=true, % requires textcomp +} +% Unimplemented IDLE syntax: function/class names being defined should be +% blue +% \end{macrocode} +% This code is provided in the file |listings-rexx.prf|, see section +% 2.4.1 (Preferences) of the \packagename{listings} documentation. +% \begin{macrocode} +% +% \end{macrocode} +% \endgroup +% +% % \subsection{Reduce} % % was provided by \lstthanks{Geraint~Paul~Bevan}{geraint@users.sf.net} @@ -8064,7 +8145,7 @@ morecomment=[l]!% morecomment=[s]{COMMENT}{;},% morecomment=[s]{COMMENT}{$},% morestring="% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -8232,7 +8313,7 @@ literate=% morestring=[s]{\%Q(}{)},% morestring=[s]{\%Q[}{]},% morestring=[s]{\%Q-}{-}% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \begin{macrocode} % % \end{macrocode} @@ -8408,7 +8489,7 @@ literate=% morecomment=[l]//,% morestring=[b]",% morestring=[m]'% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -8485,7 +8566,7 @@ literate=% keywordcommentsemicolon={end}{else,end,otherwise,when}{comment},% morestring=[d]",% morestring=[d]'% - }[keywords,keywordcomments,strings]% + }[keywords,keywordcomments,strings] % \end{macrocode} % \begin{macrocode} % @@ -8516,7 +8597,7 @@ literate=% morecomment=[l]\#,% morestring=[d]',% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -8581,7 +8662,7 @@ literate=% morecomment=[s]{/*}{*/},% morestring=[d]',% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -8743,7 +8824,7 @@ literate=% morecomment=[l]{;\#},% morecomment=[l]{[\#},% morecomment=[l]{\{\#}% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % And after receiving a bug report from \lsthelper{Vitaly A. Repin} % {vitaly@radio.hop.stu.neva.ru}{2002/04/08}{undefined control sequence @@ -9188,7 +9269,7 @@ literate=% sensitive=f,% morecomment=[l]',% morestring=[d]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -9248,7 +9329,7 @@ literate=% morecomment=[s]{/*}{*/},% morecomment=[l]//,% nonstandard morestring=[b]"% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % @@ -9287,7 +9368,7 @@ literate=% sensitive=f,% 1998 Gaurav Aggarwal morecomment=[l]--,% morestring=[d]{"}% - }[keywords,comments,strings]% + }[keywords,comments,strings] % \end{macrocode} % The VHDL-AMS dialect has been added by \lstthanks{Steffen~Klupsch} % {steffen@vlsi.informatik.tu-darmstadt.de}{2001/10/05}. diff --git a/macros/latex/contrib/listings/lstdrvrs.pdf b/macros/latex/contrib/listings/lstdrvrs.pdf index c0a320d095..e5ded0321c 100644 Binary files a/macros/latex/contrib/listings/lstdrvrs.pdf and b/macros/latex/contrib/listings/lstdrvrs.pdf differ -- cgit v1.2.3