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
This commit is contained in:
Uwe Stöhr 2008-10-18 17:38:39 +00:00
parent 2b65ee6030
commit 3635825581

View 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'],