From: Jean-Marc Lasgouttes Date: Mon, 16 Mar 2015 17:43:51 +0000 (+0100) Subject: Add proper importers for Sweave and knitr. X-Git-Tag: 2.2.0alpha1~1152 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=477fddebe5fc6f98873095445c208d7f1daf37ce;p=features.git Add proper importers for Sweave and knitr. Fixes bug #8734. --- diff --git a/lib/configure.py b/lib/configure.py index 6374b609f6..df19e80b03 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -736,7 +736,9 @@ def checkConverterEntries(): path, t2l = checkProg('a LaTeX/Noweb -> LyX converter', [in_binary_subdir, in_binary_subdir + version_suffix, in_binary_dir, in_binary_dir + version_suffix, 'tex2lyx' + version_suffix, 'tex2lyx'], rc_entry = [r'''\converter latex lyx "%% -f $$i $$o" "" \converter latexclipboard lyx "%% -fixedenc utf8 -f $$i $$o" "" -\converter literate lyx "%% -n -m noweb -f $$i $$o" ""'''], not_found = 'tex2lyx') +\converter literate lyx "%% -n -m noweb -f $$i $$o" "" +\converter sweave lyx "%% -n -m sweave -f $$i $$o" "" +\converter knitr lyx "%% -n -m knitr -f $$i $$o" ""'''], not_found = 'tex2lyx') if path == '': logger.warning("Failed to find tex2lyx on your system.")