From 17d34af18d97f388afc4d10437cafe150155bf26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Hutter?= Date: Tue, 14 Apr 2020 07:45:15 +0200 Subject: [PATCH] =?UTF-8?q?CSL=20Referenzumgebung=20f=C3=BCr=20pandoc=20>?= =?UTF-8?q?=202.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/template.tex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/style/template.tex b/style/template.tex index dc769cc..8bc1e19 100644 --- a/style/template.tex +++ b/style/template.tex @@ -426,6 +426,15 @@ $endif$ %% wir schreiben keine Umlaut mit "a "o \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}