fix error in bibliography package: use if macro
This commit is contained in:
parent
d69ab83952
commit
92d667af95
1 changed files with 2 additions and 2 deletions
|
@ -17,14 +17,14 @@ __END_OPTIONS_X__
|
||||||
|
|
||||||
%Provide simpler commands to properly print image attributions and literature
|
%Provide simpler commands to properly print image attributions and literature
|
||||||
\DeclareRobustCommand*{\printimageattributions}{
|
\DeclareRobustCommand*{\printimageattributions}{
|
||||||
\def\imageattributionstitle{\ifenglish Image attributions \else Bildquellen\fi}
|
\def\imageattributionstitle{__IF__(english) Image attributions \else Bildquellen\fi}
|
||||||
\phantomsection
|
\phantomsection
|
||||||
\addcontentsline{toc}{section}{\imageattributionstitle}
|
\addcontentsline{toc}{section}{\imageattributionstitle}
|
||||||
\printbibliography[title={\imageattributionstitle}, type=image]
|
\printbibliography[title={\imageattributionstitle}, type=image]
|
||||||
}
|
}
|
||||||
|
|
||||||
\DeclareRobustCommand*{\printliterature}{
|
\DeclareRobustCommand*{\printliterature}{
|
||||||
\def\literaturetitle{\ifenglish Literature\else Literatur\fi}
|
\def\literaturetitle{__IF__(english) Literature\else Literatur\fi}
|
||||||
\phantomsection
|
\phantomsection
|
||||||
\addcontentsline{toc}{section}{\literaturetitle}
|
\addcontentsline{toc}{section}{\literaturetitle}
|
||||||
\printbibliography[title={\literaturetitle}, nottype=image]
|
\printbibliography[title={\literaturetitle}, nottype=image]
|
||||||
|
|
Loading…
Reference in a new issue