niebert / PanDocElectron

Atom/Electron Application for calling PanDoc Converter with Shell Commands on Linux Windows Mac
Creative Commons Zero v1.0 Universal
16 stars 1 forks source link

PanDocElectron is incompatible with Pandoc #2

Open johnblommers opened 4 years ago

johnblommers commented 4 years ago

Pandoc has changed the way it accepts PDF-generating arguments. Right now PanDocElectron cannot generate PDFs.

The option --latex-engine=latex should be replaced with --pdf-engine=xelatex

niebert commented 4 years ago

Thank you for the comment, excuse me for late reply.

Can be fixed in https://github.com/niebert/PanDocElectron/blob/master/js/cmdpandoc.js line 88