Latex shell-escape options in YAML header don't use
问题 I'm writing a report on Rmarkdovn but when you try to compile - pandoc_args options ignored when compile pdf. I find this question: Is it possible to include svg image in pdf document rendered by rmarkdown? But it does not work because --latex-engine-opt replaced by --pdf-engine-opt . I replaced, but also did not work. Compilation command: Rscript -e "rmarkdown::render('test.rmd')" test.rmd --- title: Test papersize: a4paper output: pdf_document: latex_engine: pdflatex pandoc_args: [ --pdf