IIUC --citeproc corresponds to `citeproc: true`. Have you tried what happens with `--filter citeproc`? Does it work at all? I have no data to test that on ATM. Den tors 30 juni 2022 18:30John Carter Wood skrev: > Thanks! > > This is the command I used: > > pandoc CSL-Test.md -o CSL-test.docx --citeproc --lua-filter > pandoc-quotes.lua > --reference-doc=/home/john/.pandoc/templates/custom-reference.docx > CSL-Test.md > > Shouldn't this order have the same effect as what you suggested? > > > > > > > BPJ schrieb am Donnerstag, 30. Juni 2022 um 18:23:27 UTC+2: > >> Have you tried running pandoc-quotes.lua after citeproc? >> >> use this in a defaults file: >> >> ``````yaml >> filters: >> - citeproc >> - pandoc-quotes.lua >> `````` >> >> Make sure to remove any `citeproc: true` field! >> >> Den tors 30 juni 2022 14:42John Carter Wood 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: >>>> >>>> >>>> >>>> (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). >>>> >>>> [image: Screenshot from 2022-06-30 13-55-41.png] >>>> >>>> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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 >>>> >>>> . >>>> >>>> -- >>> 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...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/pandoc-discuss/062deeeb-9dfb-4ca3-ae3a-10b360293315n%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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/0db7e968-6c00-4399-bd8e-a7b2ad46a841n%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-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhATktFtxGyijTU7z8S34sOG0RmfQwRatSuQVB2ODSgyKg%40mail.gmail.com.