ChrisChinchilla / vscode-pandoc

Visual Studio Code extension lets you render markdown to pdf, word doc or html with pandoc
MIT License
25 stars 13 forks source link

[BUG]: use --pdf-engine instead of --latex-engine for pdf opt string #6

Closed VincentTam closed 2 years ago

VincentTam commented 3 years ago

Pandoc version: latest (2.11) TeX Live version: latest (2020) --pdf-engine: lualatex Steps to reproduce: compile any Markdown document to PDF with LuaLaTeX as PDF engine. Screenshot showing the error: Screenshot from 2020-11-13 12-03-52 Cause: --latex-engine has been renamed to --pdf-engine in pandoc 2.0 Reference: https://pandoc.org/releases.html#behavior-changes-1