diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-06 22:00:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-06 22:00:08 +0000 |
commit | 3bc4e3442a06713239102d1e99467ec6fe9ca9df (patch) | |
tree | 0aa67a2c53af738c60def35b32d944cf98692aed /Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls | |
parent | 412e15a916461924ffadb26dbc1b8d25a54a3caa (diff) |
tuda-ci (6mar21)
git-svn-id: svn://tug.org/texlive/trunk@58171 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls b/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls index 97a1243c4c3..cfdd7a73cf7 100644 --- a/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls +++ b/Master/texmf-dist/tex/latex/tuda-ci/tudasciposter.cls @@ -1,4 +1,4 @@ -%% This is file `tudasciposter.cls' version 3.11 (2021/02/22), +%% This is file `tudasciposter.cls' version 3.12 (2021/03/06), %% it is part of %% TUDa-CI -- Corporate Design for TU Darmstadt %% ---------------------------------------------------------------------------- @@ -26,8 +26,8 @@ %% %% ============================================================================ %% -\def\fileversion{3.11} -\def\filedate{2021/02/22} +\def\fileversion{3.12} +\def\filedate{2021/03/06} \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} \ProvidesExplPackage{tudasciposter}{\filedate}{\fileversion}{Scientific Poster Layout for TU Darmstadt} @@ -206,10 +206,32 @@ } \tl_new:N \g_ptxcd_poster_qrcode_tl -\newcommand*{\footerqrcode}[1]{ - \tl_gset:Nn \g_ptxcd_poster_qrcode_tl {#1} + +\msg_new:nnnn {tudapub} {biblatex-required}{ + You~tried~to~use~#1.\\ + This~feature~requires~the~biblatex~package. +} { + Try~to~remove~the~star~or~load~biblatex. +} + +\NewDocumentCommand{\footerqrcode}{sm}{ + \IfBooleanTF {#1} { + \cs_if_exist:NTF \blx@blxinit { + \begingroup + \blx@blxinit + \entrydata{#2}{ + \tl_gset:Nx \g_ptxcd_poster_qrcode_tl{\thefield{url}} + } + \endgroup + }{ + \msg_error:nnx {tudapub} {biblatex-required} {\use:c{footerqrcode*}} + } + }{ + \tl_gset:Nn \g_ptxcd_poster_qrcode_tl {#2} + } } + %%%%%%%%%%%%%%%%%%% % Begin of PDF/A mode %%%%%%%%%%%%%%%%%%% |