]> git.lyx.org Git - lyx.git/commitdiff
Fix tex4ht odt converter
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 25 Nov 2020 12:10:04 +0000 (13:10 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Tue, 1 Dec 2020 06:29:36 +0000 (07:29 +0100)
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
status.23x

index 7fee68d33de03de1f2bade8e2c48ddda29c4ddc6..59b39c8cc7e5391c81c44bce36b7cd4abfd7c180 100644 (file)
@@ -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
index 9d44fc04b6ec913a97039c182b719857ecc044e4..d271753f79457b50cec3c3c155ec24a933085fec 100644 (file)
@@ -45,7 +45,7 @@ What's new
 
 * DOCUMENT INPUT/OUTPUT
 
-
+- Fix Open Document (tex4ht) output converter.
 
 
 * USER INTERFACE