Hello!

Excuse me for my insistence, but even in version 1.18 I cannot figure out how to make a custom repository of configuration files for groff ms or lua filters instead of copying and/or moving them around each working directory. Any solution?

Thanks in advance,



Il giorno mercoledì 16 febbraio 2022 alle 17:22:11 UTC-6 jlr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org ha scritto:
Hello!

I was trying to avoid setting the same metadata on different files, and I read in the manual that yaml metadata are interpreted as markdown if loaded with `--metadata-file`, so that would not fly. So I tried to put them my customizations in different files for each backend (roughly, TeX and ms, to generate PDFs) and load them on the command line as follows

$ pandoc -B 2c.ms -H wideltr.ms -H es.ms --eol=lf -st ms filename.docx | groff -e -t -ms -Dutf8 | awk '{print > "filename.ps"}'

This works if *.ms are in the same working directory, but not if I put them in the data-dir built-in into pandoc's executable. Where should I put them so that I don't have to multiply copies in every working directory? I tried the base directory, and the templates subdirectory, of pandoc's data-dir, where I have my default.ms template. I'm working on Win10, both personal and professional.

Cheers!


--
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/0c7cd331-4b3a-4569-9dc8-d0da10da0cbcn%40googlegroups.com.