]> git.lyx.org Git - features.git/commitdiff
configure.py: - fix converter command for OpenDocument, fixes http://bugzilla.lyx...
authorUwe Stöhr <uwestoehr@web.de>
Sat, 18 Oct 2008 17:38:39 +0000 (17:38 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 18 Oct 2008 17:38:39 +0000 (17:38 +0000)
              - check for OpenOffice as viewer for OpenDocument

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26951 a592a061-630c-0410-9148-cb99ea01b6c8

lib/configure.py

index 47fb72cc124259e5bb8aef023bdf7300cee543b8..86bb78a5279ec751b971f03b6d763832a92cc50b 100644 (file)
@@ -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'],