On Sun, Jan 16, 2011 at 11:27 PM, Liviu Andronic <landronim...@gmail.com> wrote: > On Sat, Jan 15, 2011 at 10:06 PM, Pavel Sanda <sa...@lyx.org> wrote: >>> 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. >> >> Liviu is it in your possibilities to test these two xetex and luatex >> additions in configure.py? >> > Yes. > > I patched configure.py and reconfigured. Sweave to XeTeX works fine > when using 'default' font (see other 'Greek' thread; for various fonts > I get 'ligature' errors). For LuaTeX I get a bunch of errors > (attached). > Has anyone followed up on this? In RC2 XeTeX documents seem to compile just fine, even when custom fonts are selected (Libertine and Biolinum, or DejaVu Serif and Sans). But when I add the Sweave module, in default configuration the document can no longer be compiled using XeTeX. I just retried with \converter sweave xetex "%%" ""
and the document compilation works like a sweet. (For some reason LuaTeX is not activated at all in LyX, perhaps because of incompatibility with TL 2009.) Should I file a bug report? Liviu