diff options
author | Norbert Preining <norbert@preining.info> | 2024-04-22 03:00:57 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-04-22 03:00:57 +0000 |
commit | a31bd8158f86091f06dabe074c14dd277da57c68 (patch) | |
tree | dc1cb56c54b8a7b625d1c5a81948b6c9137da829 /macros/latex/contrib/tuda-ci/tex/tudapub.cls | |
parent | 3617595995cb2684b6a938dcbb288f658b3f9501 (diff) |
CTAN sync 202404220300
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudapub.cls')
-rw-r--r-- | macros/latex/contrib/tuda-ci/tex/tudapub.cls | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudapub.cls b/macros/latex/contrib/tuda-ci/tex/tudapub.cls index ce48e40441..3b4a762673 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudapub.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudapub.cls @@ -1,9 +1,9 @@ -%% This is file `tudapub.cls' version 3.36 (2024-01-05), +%% This is file `tudapub.cls' version 3.37 (2024-04-21), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- %% -%% Copyright (C) 2018--2023 by Marei Peischl <marei@peitex.de> +%% Copyright (C) 2018--2024 by Marei Peischl <marei@peitex.de> %% %% ============================================================================ %% This work may be distributed and/or modified under the @@ -25,8 +25,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.36} -\def\filedate{2024-01-05} +\def\fileversion{3.37} +\def\filedate{2024-04-21} \NeedsTeXFormat{LaTeX2e} \ProvidesExplClass{tudapub} @@ -218,14 +218,14 @@ } \prop_if_in:NnF \g__pdfmeta_outputintents_prop {GTS_PDFA1} { - \PassOptionsToPackage{rgb}{xcolor} + \PassOptionsToPackage{RGB}{xcolor} \msg_info:nn {tudapub} {colors-to-rgb} } } } \bool_if:NT \g_ptxcd_pdfx_bool { - \PassOptionsToPackage{rgb}{xcolor} + \PassOptionsToPackage{RGB}{xcolor} \msg_info:nn {tudapub} {colors-to-rgb} } @@ -908,7 +908,7 @@ } %%hyperref - \hypersetup{hidelinks, unicode,pdfa} + \hypersetup{hidelinks, unicode} \iow_new:N \ptxcd_xmpdata_stream \tl_new:N \g_ptxcd_xmp_title_tl \tl_new:N \g_ptxcd_xmp_author_tl @@ -985,7 +985,7 @@ \hypersetup{pdfcreator=LaTeX~using~TUDa-CI} \msg_new:nnnn {tudapub} {metadata-to-hypersetup} { - You~don't~use~pdfx.\\ + You~don't~use~pdfx.~ Here~the~\string\Metadata\~command~only~exists~for~compatibility~reasons.\\ I~will~pass~the~data~to~ḩypersetup. }{ @@ -1041,6 +1041,8 @@ } \fi: +\RequirePackage{bookmark} + \box_new:N \g_ptxcd_sponsor_box \seq_new:N \g_ptxcd_sponsors_seq \def\AddSponsor{\seq_gput_right:Nn \g_ptxcd_sponsors_seq} @@ -1071,6 +1073,14 @@ \def\and{,~ } \cs_if_exist_use:N \ptxcd_pass_TitleData: \if@titlepage + \edef\titlepage@restore{% + \noexpand\endgroup + \noexpand\global\noexpand\@colht\the\@colht + \noexpand\global\noexpand\@colroom\the\@colroom + \noexpand\global\vsize\the\vsize + \noexpand\global\noexpand\@titlepageiscoverpagefalse + \noexpand\let\noexpand\titlepage@restore\noexpand\relax + }% \ptxcd_disable_marginpar: \begin{titlepage} \setcounter{page}{% @@ -1078,18 +1088,6 @@ }% \def\thefootnote{\ptxcd_title_footnotestyle:n {\c@footnote}} \if@titlepageiscoverpage - \def\titlepage@restore{% - \endgroup - \ptxcd_restore_typearea: - \bool_if:nT {! \g_ptxcd_geometry_bool && \g_ptxcd_marginpar_bool} { - \dim_sub:Nn \evensidemargin {\marginparwidth+\marginparsep} - \dim_add:Nn \textwidth {\marginparwidth+\marginparsep} - \columnwidth=\textwidth - \hsize=\columnwidth - } - \global\@titlepageiscoverpagefalse - \let\titlepage@restore\relax - }% \begingroup \topmargin=\dimexpr \coverpagetopmargin-1in\relax \oddsidemargin=\dimexpr \coverpageleftmargin-1in\relax |