OK, that worked! (In combination with putting the dot-filter before --citeproc.)

Just to be clear: I normally don't have my references in the yaml block itself, but define a json file in the yaml that contains them. This should work in that context as well, yes? I will try to test it again soon with my usual set-up to make sure it also works that way.

Thank you!


Albert Krewinkel schrieb am Dienstag, 5. Juli 2022 um 13:52:31 UTC+2:

John Carter Wood <woo...@uni-mainz.de> writes:

> Changing the order with the original filter didn't have an effect.
> Trying the revised filter (which I renamed, as it is very different
> from the first one) resulted in the following error message:
> Screenshot from 2022-07-05 13-42-57.png

My bad: please try to replace line 8 with

return pandoc.Str(str.text:gsub(':$', ','))



--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c804d00e-aed3-49b8-9eb4-19ed362828een%40googlegroups.com.