I am using Sublime3 under Windows 10.
I have deviced a pandoc build system to convert markdown files to pdf:
{
"shell_cmd": "pandoc --template=\"C:\\Program Files\\Pandoc\\templates\\eisvogel.tex\" -o \"${file/\\.md/\\.pdf/}\" \"$file\" && SumatraPDF \"${file/\\.md/\\.pdf/}\"",
"selector": "text.html.markdown"
}
It used to work, now it doesn’t work anymore and when I build it doesn’t show any error message, it just prints
[Finished in 0.1s with exit code 1]
[shell_cmd: pandoc ...]
[dir: ...]
[path: ...]
Something I noticed is that the path is different from the one set in the environment variables and it is way longer.
EDIT: additional information
–> the shell_cmd does its job if typed in the powershell (i.e. pandoc is working from the powershell)
–> I can use the package Pandoc to get the job done