Erich Studerus wrote: > I'm using Lyx 2.0 beta 2 on Windows 7 and I cannot use the Sweave-module > in combination with the XeTeX or LuaTeX engine. If I include the > Sweave-module and check the box for using non-tex fonts, LuaTeX or XeTeX > output formats are not available in the menu. I also don't like that > fact that the output format is automatically set to DVI whenever I > include the Sweave module. > > I reported this bug more than half a year ago already. See here: > http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg159841.html
The configure script adds two converters: sweave to latex (DVI chain) and sweave to pdflatex, so pdflatex should actually work. To include XeTeX and LuaTeX, you would only need to add two more formats, given that Sweave really works with these engines: checkProg('a Sweave -> LaTeX converter', ['Rscript --no-save --no-restore $$s/scripts/lyxsweave.R $$i $$e $$r'], rc_entry = [r'''\converter sweave latex "%%" "" \converter sweave pdflatex "%%" "" \converter sweave xetex "%%" "" \converter sweave luatex "%%" ""''']) I neither know not have sweave, so I leave this to someone else. Jürgen