Choose the pdfengine for RMarkdown Report
MYheavyGo
Registered Posts: 1 ✭✭✭
I want to know if it this possible to add a new input and use a different pdfengine (like wkhtmltopdf) and not the default "pdflatex".
Or change it with the metadata (yaml).
Thank you
Answers
-
Not sure about what you want to do, because `wkhtmltopdf` is a translator from html to pdf.
Rmarkdown use `pandoc` to generate document. Anyway, you can change latex engine, if you need, but with some restrictions, you can use one of “pdflatex”, “lualatex”, “xelatex”, “tectonic”.
output: pdf_document: latex_engine: lualatex
You can find many configuration options in External link to document configuration
Hope this helps