knitr and LuaLaTeX

Dr Eberhard Lisse nospam at lisse.NA
Thu Apr 23 19:31:53 UTC 2020


I have a LyX/knitR document which is

	Document -> Settings -> Formats
		Default Output Format: PDF (LuaTeX)

produces PDF without issue.

Export to TeX

	latexmk pgf.tex

produces PDF without issue

Export to Rnw

	R -e 'library(knitr);knit("pgf.Rnw")' && latexmk pgf.tex

fails as there is no


in the Rnw which is however present in the pgf.tex.

Should that not be there as determined by the Default Output Format?


More information about the lyx-users mailing list