Skip to content

Commit 0a615d5

Browse files
committed
Fix the number of params on CSLReferences
This is to fix a [compilation error](jgm/pandoc#7215) with the newer pandoc
1 parent e894ed5 commit 0a615d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/rmarkdown/templates/elsevier/resources/template.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
\everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}%
140140
{\par}
141141
% For Pandoc 2.11+
142-
\newenvironment{CSLReferences}[3] % #1 hanging-ident, #2 entry spacing
142+
\newenvironment{CSLReferences}[2] % #1 hanging-ident, #2 entry spacing
143143
{% don't indent paragraphs
144144
\setlength{\parindent}{0pt}
145145
% turn on hanging indent if param 1 is 1

0 commit comments

Comments
 (0)