Thanks!
This is the command I used:
Have you tried running pandoc-quotes.lua after citeproc?use this in a defaults file:``````yamlfilters:- citeproc- pandoc-quotes.lua``````Make sure to remove any `citeproc: true` field!Den tors 30 juni 2022 14:42John Carter Wood <woo...-ZOsAvrTRSvuEhhMi0yms2Q@public.gmane.org> skrev:That's very helpful, thank you!
I had looked at the spec but overlooked the part on locales and quotes.
https://docs.citationstyles.org/en/stable/translating-locale-files.html#punctuation
I will give that a try (probably tomorrow) and report whether it works for me or other problems crop up.--suki...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org schrieb am Donnerstag, 30. Juni 2022 um 14:34:13 UTC+2:Hi,
After looking at the spec (the only experience I have with CSL files), I think you would need to modify your CSL file, Add a locale element in the root style element, like this:
<style>
<locale xml:lang="en">
<terms><term name = "open-quote">«</term><term name = "close-quote">»</term></terms></locale></style>(Or try left-inner-quote and right-inner quote instead, maybe)Hth,Sukil
El 30/06/2022 a las 14:04, John Carter Wood escribió:In setting up a CSL file for a German-language publisher (but for English-language texts), I've run into the issue of needing to change the typographical quotation marks when converting from Markdown to docx or pdf. I am familiar with pandoc-quotes.lua but when using it, it changes the quote marks in the main text, but not in the citations (which come from a json file).
So, I have to use this group of quotation marks: »«›‹, which I have set in a YAML block (quot-marks: »«›‹). (The document language is set to en-GB.)
The result changes the main text quotation marks but not the citations (see screenshot).
Is there a way of getting the quotation marks I want in the citations as well?
(pandoc-version 2.18)
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/da178cb2-48fa-4f53-8417-02dcae0129acn%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/062deeeb-9dfb-4ca3-ae3a-10b360293315n%40googlegroups.com.