Further mod to hanging indent code in latex template.

Make sure the length is always defined.
This commit is contained in:
John MacFarlane 2019-09-03 12:33:25 -07:00
parent dc01071053
commit e4638170d0

View file

@ -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$}%