From 1742821c3edb7d5d2ed7ced265e3b4c9f00e622a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 7 Oct 2020 11:23:28 -0700 Subject: Fix URL prefixes in citations also when they occur in notes. Update chicago-fullnote-bibliography.csl and adjust tests. Closes #6723. --- test/command/6723.md | 33 ++ test/command/chicago-fullnote-bibliography.csl | 464 ++++++++++++++++----- test/command/citeproc-7a.md | 2 +- test/command/pandoc-citeproc-360.md | 8 +- test/command/pandoc-citeproc-68.md | 4 +- test/command/pandoc-citeproc-77.md | 8 +- ...andoc-citeproc-chicago-fullnote-bibliography.md | 11 +- .../pandoc-citeproc-move-period-inside-quote.md | 5 +- 8 files changed, 407 insertions(+), 128 deletions(-) create mode 100644 test/command/6723.md (limited to 'test') diff --git a/test/command/6723.md b/test/command/6723.md new file mode 100644 index 000000000..f4455fcce --- /dev/null +++ b/test/command/6723.md @@ -0,0 +1,33 @@ +``` +% pandoc --citeproc -t markdown-citations +--- +csl: command/chicago-fullnote-bibliography.csl +references: +- id: doe + type: article + author: + - family: Doe + given: John + DOI: 10.1109/5.771073 + issued: + - year: 2020 + title: An article +... +Blah [@doe]. + +# References {-} + +^D +Blah.[^1] + +References {#references .unnumbered} +========== + +::: {#refs .references .csl-bib-body .hanging-indent} +::: {#ref-doe .csl-entry} +Doe, John. "An Article," 2020. . +::: +::: + +[^1]: John Doe, "An Article," 2020, . +``` diff --git a/test/command/chicago-fullnote-bibliography.csl b/test/command/chicago-fullnote-bibliography.csl index 5bcfe59b3..7d9c48c54 100644 --- a/test/command/chicago-fullnote-bibliography.csl +++ b/test/command/chicago-fullnote-bibliography.csl @@ -1,7 +1,7 @@ -