Closed alcuinus closed 1 year ago
Hi @alcuinus, I think the error here means that the pandoc version is too old. In README, it says that you should use pandoc with version greater than or equal to 2.17. Could you try a newer version of pandoc?
This was the problem, so sorry for my useless question. Unfortunately, the distribution repository was not updated and I did not check it, my fault indeed. Now I'm happily running pandoc version 3.1.6.1 and everything is working smoothly.
An additional question, if you do not mind (perhaps I should open a new thread?) Running pandoc, I explicitly call the filter. Would it not be possible to call the filter from the YAML header? I tried adding pandoc-options
etc. in the YAML header, but nothing happened. May be tricking the default
file?
I'm very interested also because next month I'm going to deliver a talk to an international conference where I will deal with a new workflow for humanists, and pandoc-include is a very important component of my new toolbox!
I tried using filters
options in the yaml header but it doesn't work as well. My guess is that the filter is loaded at a different time compared to being used as an argument. I'm afraid it may not support it. But you may find a workaround if you are familiar with how pandoc works
I am trying to run the example file provided in the project homepage and I get this error:
The installation is local (I edited the real folder name for security). The problem seems to be an invalid api version; I am almost illiterate insofar as Python is concerned and I ask your kind help.
This filter looks excellent and I would really like to be able to use it.
Thank you.