fix error in bibliography package: use if macro

This commit is contained in:
Maximilian Keßler 2021-10-08 16:47:13 +02:00
parent d69ab83952
commit 92d667af95

View file

@ -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]