CSL Referenzumgebung für pandoc > 2.8

This commit is contained in:
Günther Hutter 2020-04-14 07:45:15 +02:00
parent 86d9128d82
commit 17d34af18d

View File

@ -426,6 +426,15 @@ $endif$
%% wir schreiben keine Umlaut mit "a "o %% wir schreiben keine Umlaut mit "a "o
\shorthandoff{"} \shorthandoff{"}
%% CSL Referenzen ab pandoc 2.7
$if(csl-refs)$
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
\newenvironment{cslreferences}%
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
{\par}
$endif$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} \begin{document}