From: Uwe Stöhr Date: Sat, 18 Oct 2008 17:38:39 +0000 (+0000) Subject: configure.py: - fix converter command for OpenDocument, fixes http://bugzilla.lyx... X-Git-Tag: 1.6.10~2995 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3635825581abedd9359636ae532bcad29147f63c;p=features.git configure.py: - fix converter command for OpenDocument, fixes http://bugzilla.lyx.org/show_bug.cgi?id=4604 - check for OpenOffice as viewer for OpenDocument git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26951 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/configure.py b/lib/configure.py index 47fb72cc12..86bb78a527 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -326,7 +326,7 @@ def checkFormatEntries(dtl_tools): checkViewer('Noteedit', ['noteedit'], rc_entry = [r'\Format noteedit not Noteedit "" "%%" "%%" "vector"']) # - checkViewer('an OpenDocument viewer', ['oowriter'], + checkViewer('an OpenDocument viewer', ['swriter', 'oowriter'], rc_entry = [r'\Format odt odt OpenDocument "" "%%" "%%" "document,vector"']) # # entried that do not need checkProg @@ -411,9 +411,7 @@ def checkConverterEntries(): # On SuSE the scripts have a .sh suffix, and on debian they are in /usr/share/tex4ht/ # Both SuSE and debian have oolatex checkProg('a LaTeX -> Open Document converter', [ - 'htlatex $$i \'xhtml,ooffice\' \'ooffice/! -cmozhtf\' \'-coo\' \'-cvalidate\'', \ - 'oolatex $$i', 'oolatex.sh $$i', \ - '/usr/share/tex4ht/oolatex $$i'], + 'oolatex $$i', 'oolatex.sh $$i', '/usr/share/tex4ht/oolatex $$i'], 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'],