diff --git a/lib/configure.py b/lib/configure.py index f9ace18d39..093b286744 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -295,6 +295,9 @@ def checkFormatEntries(dtl_tools): checkViewer('Noteedit', ['noteedit'], rc_entry = [r'\Format noteedit not Noteedit "" "%%" "%%" "vector"']) # + checkViewer('an OpenDocument viewer', ['oowriter'], + rc_entry = [r'\Format odt odt OpenDocument "" "%%" "%%" "document,vector"']) + # # entried that do not need checkProg addToRC(r'''\Format date "" "date command" "" "" "" "" \Format fax "" Fax "" "" "" "document" @@ -310,7 +313,6 @@ def checkFormatEntries(dtl_tools): \Format pstex pstex_t PSTEX "" "" "" "" \Format rtf rtf "Rich Text Format" "" "" "" "document,vector" \Format sxw sxw "OpenOffice.Org (sxw)" "" "" "" "document,vector" -\Format odt odt "Open Document" O "" "" "document,vector" \Format wmf wmf "Windows Metafile" "" "" "" "vector" \Format emf emf "Enhanced Metafile" "" "" "" "vector" \Format word doc "MS Word" W "" "" "document,vector" @@ -368,8 +370,8 @@ def checkConverterEntries(): checkProg('an OpenDocument -> LaTeX converter', ['w2l -clean $$i'], rc_entry = [ r'\converter odt latex "%%" ""' ]) # - checkProg('a LaTeX -> Open Document converter', ['oolatex $$i', 'oolatex.sh $$i'], - rc_entry = [ r'\converter latex odt "%%" "latex"' ]) + checkProg('a LaTeX -> Open Document converter', ['oolatex $$i', 'oolatex.sh $$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'], rc_entry = [ r'\converter latex rtf "%%" "needaux"' ])