From 5b5e0025ef5d35a233cdf8dfdee835937bb5b708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Sun, 19 Oct 2008 11:49:37 +0000 Subject: [PATCH] * 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 --- lib/configure.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/configure.py b/lib/configure.py index 86bb78a527..6a3f2ea14f 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -410,8 +410,10 @@ def checkConverterEntries(): rc_entry = [ r'\converter odt latex "%%" ""' ]) # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/ # Both SuSE and debian have oolatex + # TeXLive does not have oolatex, mk4ht has to be used. 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"' ]) # On windows it is called latex2rt.exe checkProg('a LaTeX -> RTF converter', ['latex2rtf -p -S -o $$o $$i', 'latex2rt -p -S -o $$o $$i'],