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 "%%" ""' ])
#
- path, htmltolatex = checkProg('an HTML -> LaTeX converter', ['html2latex $$i',
- 'gnuhtml2latex $$i', 'htmltolatex -input $$i -output $$o', 'htmltolatex.jar'],
- rc_entry = [ r'\converter html latex "%%" ""',
- r'\converter html latex "%%" ""',
- r'\converter html latex "%%" ""', '', ''] )
- if htmltolatex == 'htmltolatex.jar':
- addToRC(r'\converter html latex "java -jar %s -input $$i -output $$o" ""'
- % os.path.join(path, htmltolatex))
+ checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex $$i', \
+ 'htmltolatex -input $$i -output $$o', 'java -jar htmltolatex.jar -input $$i -output $$o'],
+ rc_entry = [ r'\converter html latex "%%" ""' ])
#
checkProg('an MS Word -> LaTeX converter', ['wvCleanLatex $$i $$o'],
rc_entry = [ r'\converter word latex "%%" ""' ])