There clearly are situations where metadata are the best option, but I realize that there are situations where they may be unsuitable, depending on the nature of the filter, the data and the way the data is used by the filter. For now if you think that the metadata get in the way later the filter which uses them can remove or alter them.

As for filter arguments making things easier/harder for this or that wrapper it pretty much depends on how the wrapper interacts with pandoc and/or filters and how (manner and form) filter arguments are passed to filters.
Clearly the possible need of wrappers to see some/all filter arguments need to be taken into account.

/bpj


Den 8 jan 2017 21:51 skrev "Kolen Cheung" <christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:

Just to mention another disadvantage of -M option that I haven’t included in the summary above: if the options is specified in this way, it will “burn-into” the document. But one of the application I need is to go freely in a round trip (converting pandoc Table to CSV CodeBlock in one pass, and convert the CSV CodeBlock back to pandoc Table in another pass). But since the -M metadata will accumulate, this is a no-go at least for me. Because of this, I now see why @jgm recommends using environment variables among the currently working methods. But the potential difficulties for Windows users is still a concern.

And the new suggestions of -F FILTERNAME[=FILTEROPTIONS] seems cleanest. For ugly filter name: -F "My Cool Filter.py"="--some --cool --arg". Don’t know if this will make the life of pandoc-mode or panzer and alike easier too.

--
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@googlegroups.com.
To post to this group, send email to pandoc-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/434dc10f-02a1-4bbc-a41c-3a29398ca635%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRuuDDfbok7Gds-kdj_ySqvpF0psnTUn0-TRvdEhRUs%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.