Choose the pdfengine for RMarkdown Report

MYheavyGo
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).

firefox_2021-02-08_08-46-27.png

Thank you

Tagged:

Answers

  • FlorentD
    FlorentD Dataiker, Dataiku DSS Core Designer, Registered Posts: 25 Dataiker
    edited July 17

    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

Setup Info
    Tags
      Help me…