Closed sjbanner closed 6 years ago
Knit to HTML or Word work just fine. This is rocker/verse:latest.
Please do the hint suggests:
Try running pandoc with --latex-engine=xelatex.
That is a well-documented rmarkdown option for the pdf workflow.
Hi, I guess I have a similar issue. xelatex did not work.
Minimal example (or in the attached zip file):
YAML header:
title: "session_info pandoc error" author: "" date: "8 Januar 2018" output: pdf_document: latex_engine: xelatex html_document: default
code chunk
install.packages("sessioninfo")
library(sessioninfo)
session_info()
I received the following error when running the rmd-file above in the container rocker/verse:3.4.2:
pandoc: xelatex not found. xelatex is needed for pdf output. Error: pandoc document conversion failed with error 41 Execution halted
Any ideas?
Thanks in advance session_info_error.Rmd.zip
@MarkusKonk it should work fine in rocker/verse:latest
. tagged images didn't have xelatex
or lualatex
pre-installed.
Just migrated 3.4.1, 3.4.2, 3.4.3 to TinyTeX, along with latest
, which includes all engines (and should make it easier to add additional latex .sty files directly from R, see https://yihui.name/tinytex), so those builds should be live soon.
It works, thank you very much.
A recent (I think) update to tidyverse added Unicode char √ (U+221A) to the output, which Pandoc complains about. When loading tidyverse:
And when kniting...