diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-08-13 18:13:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-08-13 18:13:06 -0700 |
commit | 15683bb607eb924816adcb7e7884fe722d3d3129 (patch) | |
tree | b4f01f775dd9cf37fa60db812e820523776d8503 /test/command | |
parent | 05640f9a21e7963de4501b85f47cc1daa203c195 (diff) | |
download | pandoc-15683bb607eb924816adcb7e7884fe722d3d3129.tar.gz |
Citeproc: avoid odd handling of quotes.
citeproc changes allow us to ignore Quoted elements;
citeproc now uses its own method for represented quoted
things, and only localizes and flipflops quotes it adds itself.
See #87.
The one thing left to do is to convert Quoted elements in
bibliography databases (esp. titles) to `Span ("",["csl-quoted"],[])`
before passing them to citeproc, IF the localized quotes
for the quote type match the standard inverted commas.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/citeproc-87.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/command/citeproc-87.md b/test/command/citeproc-87.md new file mode 100644 index 000000000..42cf7a6ee --- /dev/null +++ b/test/command/citeproc-87.md @@ -0,0 +1,16 @@ +``` +% pandoc --citeproc -Mlang=it-IT -t markdown-citations +Foo [@a 50: «Disse: "bar"»]. «Disse: "baz"» + +--- +suppress-bibliography: true +references: +- id: a + author: + - literal: Aristotele + title: Metafisica + type: book +... +^D +Foo (Aristotele, s.d., 50: «Disse: "bar"»). «Disse: "baz"» +``` |