From 92d667af959ec6a15a441291ba27d45334dd3cae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 8 Oct 2021 16:47:13 +0200 Subject: [PATCH] fix error in bibliography package: use if macro --- src/wip/bibliography.pysty | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wip/bibliography.pysty b/src/wip/bibliography.pysty index 38c6c2b..ebcba02 100644 --- a/src/wip/bibliography.pysty +++ b/src/wip/bibliography.pysty @@ -17,14 +17,14 @@ __END_OPTIONS_X__ %Provide simpler commands to properly print image attributions and literature \DeclareRobustCommand*{\printimageattributions}{ - \def\imageattributionstitle{\ifenglish Image attributions \else Bildquellen\fi} + \def\imageattributionstitle{__IF__(english) Image attributions \else Bildquellen\fi} \phantomsection \addcontentsline{toc}{section}{\imageattributionstitle} \printbibliography[title={\imageattributionstitle}, type=image] } \DeclareRobustCommand*{\printliterature}{ - \def\literaturetitle{\ifenglish Literature\else Literatur\fi} + \def\literaturetitle{__IF__(english) Literature\else Literatur\fi} \phantomsection \addcontentsline{toc}{section}{\literaturetitle} \printbibliography[title={\literaturetitle}, nottype=image]