Fix HTML to LaTeX converter output name

If you do not explicitly specify the output file name, gnuhtml2latex will
guess a file name itself. The result of the guess is not what we expect if
the input file name did not contain a .html extension, but something which
is not related to a format, e.g. .qV9984 from FileName::tempName().
This commit is contained in:
Georg Baum 2013-04-01 12:05:25 +02:00
parent 415343d19b
commit c1b81d83b9

View File

@ -682,7 +682,7 @@ def checkConverterEntries():
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 "%%" ""' ])
#
checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex $$i',
checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex $$i -s > $$o',
'htmltolatex -input $$i -output $$o', 'htmltolatex.jar -input $$i -output $$o'],
rc_entry = [ r'\converter html latex "%%" ""' ])
#