X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fconfigure.py;h=853af753377762dee701bd1853fc5346e16cc3f4;hb=2537cd07f496d05574e5b997a5d415484c8710f6;hp=94668e72337c6e7d731c856ef2e6dc343fb26502;hpb=48f36f59e74cfdea1d33f9170671d33c45b8ba37;p=lyx.git diff --git a/lib/configure.py b/lib/configure.py index 94668e7233..853af75337 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -349,6 +349,7 @@ def checkFormatEntries(dtl_tools): \Format dot dot "Graphviz Dot" "" "" "%%" "vector" \Format platex tex "LaTeX (pLaTeX)" "" "" "%%" "document" \Format literate nw NoWeb N "" "%%" "document" +\Format sweave Rnw "Sweave" S "" "%%" "document" \Format lilypond ly "LilyPond music" "" "" "%%" "vector" \Format latex tex "LaTeX (plain)" L "" "%%" "document" \Format pdflatex tex "LaTeX (pdflatex)" "" "" "%%" "document" @@ -447,6 +448,10 @@ def checkConverterEntries(): checkProg('a Noweb -> LaTeX converter', ['noweave -delay -index $$i > $$o'], rc_entry = [r'''\converter literate latex "%%" "" \converter literate pdflatex "%%" ""''']) + # + checkProg('a Sweave -> LaTeX converter', ['R CMD Sweave $$i'], + rc_entry = [r'''\converter sweave latex "%%" "" +\converter sweave pdflatex "%%" ""''']) # path, elyx = checkProg('eLyXer converter', ['elyxer.py $$i $$o'], rc_entry = [ r'\converter lyx html2 "%%" ""' ] )