define sweave to xetex|luatex converters

(allows one to use nonTeXFonts with literate and fix bug #7383)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38143 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Julien Rioux 2011-03-30 00:29:52 +00:00
parent 6826bd487f
commit a6a23d1781

View File

@ -659,8 +659,10 @@ def checkConverterEntries():
\converter literate pdflatex "%%" ""'''])
#
checkProg('a Sweave -> LaTeX converter', ['Rscript --verbose --no-save --no-restore $$s/scripts/lyxsweave.R $$p$$i $$p$$o $$e $$r'],
rc_entry = [r'''\converter sweave latex "%%" ""
\converter sweave pdflatex "%%" ""'''])
rc_entry = [r'''\converter sweave latex "%%" "latex"
\converter sweave pdflatex "%%" "latex=pdflatex"
\converter sweave xetex "%%" "latex=xelatex"
\converter sweave luatex "%%" "latex=lualatex"'''])
#
checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex $$i', \
'htmltolatex -input $$i -output $$o', 'java -jar htmltolatex.jar -input $$i -output $$o'],