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.
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...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/da178cb2-48fa-4f53-8417-02dcae0129acn%40googlegroups.com.