diff options
Diffstat (limited to 'macros/latex/contrib/tuda-ci/tex/tudasciposter.cls')
-rw-r--r-- | macros/latex/contrib/tuda-ci/tex/tudasciposter.cls | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls index 89d3479b14..7a963dfa7e 100644 --- a/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls +++ b/macros/latex/contrib/tuda-ci/tex/tudasciposter.cls @@ -1,4 +1,4 @@ -%% This is file `tudasciposter.cls' version 2.05 (2019/12/18), +%% This is file `tudasciposter.cls' version 2.07 (2020/01/28), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{2.05} -\def\filedate{2019/12/18} +\def\fileversion{2.07} +\def\filedate{2020/01/28} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudasciposter}{\filedate}{\fileversion}{Scientific Poster Layout for TU Darmstadt} @@ -239,9 +239,19 @@ } \cs_new:Nn \TUDa_write_xmp_line:nn { - \cs_if_exist:cTF {\tl_mixed_case:n {#1}} { + %Fallback test for older kernels + \cs_if_exist:NTF \str_uppercase:f { + \tl_set:Nx \l_tmpa_tl { + \str_uppercase:f {\tl_head:n {#1}} + \str_lowercase:f { \tl_tail:n {#1}} + } + } { + %may be removed in some time + \tl_set:Nx \l_tmpa_tl {\tl_mixed_case:n {#1}} + } + \cs_if_exist:cTF {\l_tmpa_tl}{ \iow_now:Nx \TUDa@xmpdata_stream { - \c_backslash_str \tl_mixed_case:n {#1} {\exp_not:n {#2}}%\iow_newline: + \c_backslash_str \l_tmpa_tl {\exp_not:n {#2}} } }{ \msg_error:nnn {TUDapub} {unknown-metadata} {#1} |