mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
415343d19b
commit
c1b81d83b9
@ -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 "%%" ""' ])
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user