aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index a7f46b950..81b2d91fe 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -384,7 +384,10 @@ $if(csl-refs)$
{% don't indent paragraphs
\setlength{\parindent}{0pt}
% turn on hanging indent if param 1 is 1
- \ifodd #1 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi
+ \ifodd #1
+ \let\oldpar\par
+ \def\par{\hangindent=\cslhangindent\oldpar}
+ \fi
% set entry spacing
\ifnum #2 > 0
\setlength{\parskip}{#2\baselineskip}