[LyX/master] Fix tex4ht odt converter

Juergen Spitzmueller spitz at lyx.org
Wed Nov 25 11:41:50 UTC 2020


commit 17ebec693ad1fce6961867a5514217707a8f8051
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Wed Nov 25 13:10:04 2020 +0100

    Fix tex4ht odt converter
    
    Private message by Michal Hoftich (tex4ht head developer):
    
    oolatex is not recommended way to use Tex4ht for the ODT conversion.
    It is better to use
    
    make4ht -f odt mwe.tex
    
    make4ht fixes some issues in ODT files
    
    This is candidate for stable.
---
 lib/configure.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index ca62e65..da913c2 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -948,7 +948,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 (tex4ht) converter', [
-        'oolatex $$i', 'mk4ht oolatex $$i', 'oolatex.sh $$i', '/usr/share/tex4ht/oolatex $$i',
+        'oolatex $$i', 'make4ht -f odt $$i', 'oolatex.sh $$i', '/usr/share/tex4ht/oolatex $$i',
         'htlatex $$i \'xhtml,ooffice\' \'ooffice/! -cmozhtf\' \'-coo\' \'-cvalidate\''],
         rc_entry = [ r'\converter latex      odt        "%%"	"needaux"' ])
     # On windows it is called latex2rt.exe


More information about the lyx-cvs mailing list