We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pdf-engine
format.pandoc
metadata
1 parent 433c7c3 commit eee790dCopy full SHA for eee790d
src/command/render/filters.ts
@@ -838,7 +838,7 @@ function citeMethod(options: PandocOptions): CiteMethod | null {
838
839
function pdfEngine(options: PandocOptions): string {
840
const pdfEngine = options.flags?.pdfEngine ||
841
- options.metadata?.[kPdfEngine] as string ||
+ options.format.pandoc?.[kPdfEngine] as string ||
842
"pdflatex";
843
return pdfEngine;
844
}
0 commit comments