[LyX/2.3.x] Fix tex4ht odt converter

Juergen Spitzmueller spitz at lyx.org
Tue Dec 1 05:59:49 UTC 2020


commit a16d704890cb02974bec764bd643cc129a6a40bb
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.
    
    (cherry picked from commit 17ebec693ad1fce6961867a5514217707a8f8051)
---
 lib/configure.py |    2 +-
 status.23x       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 7fee68d..59b39c8 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -960,7 +960,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
diff --git a/status.23x b/status.23x
index 9d44fc0..d271753 100644
--- a/status.23x
+++ b/status.23x
@@ -45,7 +45,7 @@ What's new
 
 * DOCUMENT INPUT/OUTPUT
 
-
+- Fix Open Document (tex4ht) output converter.
 
 
 * USER INTERFACE


More information about the lyx-cvs mailing list