mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
[2085] Get OpenDocument export working when htlatex is available but oolatex
is not. Also check for oowriter as an ODT viewer. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19260 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e1076527ba
commit
364f49d04b
@ -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"' ])
|
||||
|
Loading…
Reference in New Issue
Block a user