* configure.py:

- TeXLive does not include the oolatex script, but relies on mk4ht.
	  Also reinclude the verbose command as a fallback.

Obviously, such changes need testing on as many systems and distributions as possible.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26969 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-10-19 11:49:37 +00:00
parent 4817b4e113
commit 5b5e0025ef

View File

@ -410,8 +410,10 @@ def checkConverterEntries():
rc_entry = [ r'\converter odt latex "%%" ""' ]) rc_entry = [ r'\converter odt latex "%%" ""' ])
# On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/ # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/
# Both SuSE and debian have oolatex # Both SuSE and debian have oolatex
# TeXLive does not have oolatex, mk4ht has to be used.
checkProg('a LaTeX -> Open Document converter', [ checkProg('a LaTeX -> Open Document converter', [
'oolatex $$i', 'oolatex.sh $$i', '/usr/share/tex4ht/oolatex $$i'], 'oolatex $$i', 'mk4ht oolatex $$i', 'oolatex.sh $$i', '/usr/share/tex4ht/oolatex $$i',
'htlatex $$i \'xhtml,ooffice\' \'ooffice/! -cmozhtf\' \'-coo\' \'-cvalidate\''],
rc_entry = [ r'\converter latex odt "%%" "needaux"' ]) rc_entry = [ r'\converter latex odt "%%" "needaux"' ])
# On windows it is called latex2rt.exe # On windows it is called latex2rt.exe
checkProg('a LaTeX -> RTF converter', ['latex2rtf -p -S -o $$o $$i', 'latex2rt -p -S -o $$o $$i'], checkProg('a LaTeX -> RTF converter', ['latex2rtf -p -S -o $$o $$i', 'latex2rt -p -S -o $$o $$i'],