joostkremers / pandoc-mode

An Emacs minor mode for interacting with Pandoc.
https://joostkremers.github.io/pandoc-mode/
174 stars 14 forks source link

Feature request: Option to force specific filters #89

Closed Cerebus closed 5 years ago

Cerebus commented 5 years ago

I'd like the ability to tell pandoc-mode to run pandoc with specific --filters even when they wouldn't normally be triggered.

My specific use case: I prefer to define bibliography in a metadata file, but since pandoc-mode doesn't parse the metadata file it doesn't know to add --filter pandoc-citeproc to the shell command. An override would let me force citeproc while only setting the metadata file in the pandoc-mode settings file.

joostkremers commented 5 years ago

Doesn't it suffice to set the filter in the pandoc-mode settings file? I'm not sure what other way to "force specific filters" you have in mind...

Cerebus commented 5 years ago

D'oh! I completely missed that in reader options.