Sublime Forum

Pandoc build system error

#1

I have been trying to make a pandoc build system to convert latex to docx. I works well when i use the following.

{
    "cmd": "/usr/local/bin/pandoc","-o","$file_base_name.docx", "$file_name"],
    "selector": "text.tex.latex"
 }

But when i add a bibliography

 {
    "cmd": "/usr/local/bin/pandoc","-o","$file_base_name.docx", "$file_name", "--bibliography=Remote.bib"],
    "selector": "text.tex.latex"
 }

, I get an error

pandoc: Filter pandoc-citeproc not found
[Finished in 0.4s with exit code 85]
[cmd: ['/usr/local/bin/pandoc', '-o', 'root.docx', 'root.tex', '--bibliography=Remote.bib']]
[dir: /Users/rudfaden/Dropbox/PhD/No cure no pay/Main]
[path: /usr/bin:/bin:/usr/sbin:/sbin]

The exact same commands works fine from the terminal.

0 Likes