From a16d704890cb02974bec764bd643cc129a6a40bb Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 25 Nov 2020 13:10:04 +0100 Subject: [PATCH] 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 7fee68d33d..59b39c8cc7 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 9d44fc04b6..d271753f79 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 -- 2.39.2