pandoc-crossref
pandoc-crossref copied to clipboard
*Prefix is ignored when set in pandoc defaults yaml
I have a custom defaults set for pandoc for writing latex papers but despite having set the following in the defaults file:
variables:
secPrefix: "Section"
the secPrefix remains sec.
unless I set the same variable explicitly in the header. Same for figPrefix.
Did I miss anything? Shouldn't pandoc set the same meta fields regardless whether its in the document or in the defaults file?
It perhaps should, but Pandoc's defaults file is wonky at the best of times (there are just a lot of gotchas). Use pandoc-crossref.yaml for pandoc-crossref variables.