Open axelkennedal opened 1 year ago
Are you able to run pandoc-include directly from command line? If it still says "Could not find executable pandoc-include", then it may be added to the path correctly.
No I am not, even though I have installed pandoc-include as in the README:
Did you put pandoc-include in the same directory as pandoc? If so, they should be able to run without the path. Could you check if the PATH environment variable include the directory where pandoc and pandoc-include are?
I know that Issue #1 seems very similar to this, however I have followed the solution there and it does not work for me.
Problem
When trying to use pandoc-include like
pandoc .\Book.md --filter pandoc-include -o book.pdf
I get the errorError running filter pandoc-include: Could not find executable pandoc-include
Background
I have done the following:
pip install --upgrade pandoc
,pip install pandoc-include
C:\Users\myuser\AppData\Roaming\Python\Python311\site-packages
), to the same folder as where pandoc is installed in (C:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages
)echo $env:PATH
returns my path, which containsC:\Users\myuser\AppData\Local\Programs\Python\Python311\Lib\site-packages
My pandoc version is 2.3 and pandoc-include is 1.2.0.