needauth is not needed for Sweave>LyX

Indeed this relies on tex2lyx and does not run R scripts.

The same holds for Knitr>LyX
This commit is contained in:
Jean-Marc Lasgouttes 2018-09-12 15:14:56 +02:00
parent b28ec44476
commit 23dbacb636

View File

@ -805,8 +805,8 @@ def checkConverterEntries():
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" ""
\converter sweave lyx "%% -n -m sweave -f $$i $$o" "needauth"
\converter knitr lyx "%% -n -m knitr -f $$i $$o" "needauth"'''], not_found = 'tex2lyx')
\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.")