mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Do not use needauth when only exporting code
We have a couple of converters (using Sweave and knitr to "tangle" an intermediate file) that are used for exporting code chunks contained in a .lyx file. Since the code is just exported to a text file and is not executed, needauth is not necessary.
This commit is contained in:
parent
0d1b981b2b
commit
065e37e96f
@ -827,12 +827,12 @@ def checkConverterEntries():
|
||||
\converter knitr dviluatex "%%" "needauth"'''])
|
||||
#
|
||||
checkProg('a Sweave -> R/S code converter', ['Rscript --verbose --no-save --no-restore $$s/scripts/lyxstangle.R $$i $$e $$r'],
|
||||
rc_entry = [ r'\converter sweave r "%%" "needauth"',
|
||||
r'\converter sweave-ja r "%%" "needauth"' ])
|
||||
rc_entry = [ r'\converter sweave r "%%" ""',
|
||||
r'\converter sweave-ja r "%%" ""' ])
|
||||
#
|
||||
checkProg('a knitr -> R/S code converter', ['Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r tangle'],
|
||||
rc_entry = [ r'\converter knitr r "%%" "needauth"',
|
||||
r'\converter knitr-ja r "%%" "needauth"' ])
|
||||
rc_entry = [ r'\converter knitr r "%%" ""',
|
||||
r'\converter knitr-ja r "%%" ""' ])
|
||||
#
|
||||
checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex',
|
||||
'htmltolatex -input $$i -output $$o', 'htmltolatex.jar -input $$i -output $$o'],
|
||||
|
Loading…
Reference in New Issue
Block a user