aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-03 12:33:25 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-03 12:33:25 -0700
commite4638170d01b2cddb17cce1a3b341dd57ebc7667 (patch)
tree7fa5e6e87bf6f7da2f84fca65d81737d6bfaa3c5 /data
parentdc01071053c9ac66a8eff05cce316005b65ad9c8 (diff)
downloadpandoc-e4638170d01b2cddb17cce1a3b341dd57ebc7667.tar.gz
Further mod to hanging indent code in latex template.
Make sure the length is always defined.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex2
1 files changed, 0 insertions, 2 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index af824ee2b..a53510427 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -360,10 +360,8 @@ $for(bibliography)$
$endfor$
$endif$
$if(csl-refs)$
-$if(csl-hanging-indent)$
\newlength{\cslhangindent}
\setlength{\cslhangindent}{1.5em}
-$endif$
\newenvironment{cslreferences}%
{$if(csl-hanging-indent)$\setlength{\parindent}{0pt}%
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%