Hi, 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 \usepackage[latin9]{luainputenc} in the Rnw which is however present in the pgf.tex. Should that not be there as determined by the Default Output Format? el -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users