Skip to content

Commit

Permalink
Merge pull request #131 from andras-simonyi/Add_vertical_space_after_…
Browse files Browse the repository at this point in the history
…bibliography_in_LaTeX_formatter

Add vertical space after bibliography in the LaTeX formatter
  • Loading branch information
andras-simonyi authored Jan 16, 2023
2 parents 9328408 + 4e384e4 commit f59ca11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion citeproc-formatters.el
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ CSL tests."
:rt (citeproc-formatter-fun-create citeproc-fmt--org-latex-alist)
:bib #'citeproc-fmt--org-latex-bib-formatter))
(latex . ,(citeproc-formatter-create
:rt (citeproc-formatter-fun-create citeproc-fmt--latex-alist)))
:rt (citeproc-formatter-fun-create citeproc-fmt--latex-alist)
:bib (lambda (x _) (concat (mapconcat #'identity x "\n\n")
"\\bigskip"))))
(plain . ,(citeproc-formatter-create :rt #'citeproc-rt-to-plain
:no-external-links t)))
"Alist mapping supported output formats to formatter structs.")
Expand Down
2 changes: 1 addition & 1 deletion test/human/extlink_DontLinkNonimmediateURLPrefix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bibliography


>>===== RESULT =====>>
A title. https://doi.org/ \href{https://doi.org/10.1000/xyz123}{10.1000/xyz123}
A title. https://doi.org/ \href{https://doi.org/10.1000/xyz123}{10.1000/xyz123}\bigskip
<<===== RESULT =====<<


Expand Down
2 changes: 1 addition & 1 deletion test/human/extlink_LinkImmediateURLPrefix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ bibliography


>>===== RESULT =====>>
A title. \url{https://doi.org/10.1000/xyz123}
A title. \url{https://doi.org/10.1000/xyz123}\bigskip
<<===== RESULT =====<<


Expand Down

0 comments on commit f59ca11

Please sign in to comment.