summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-27 22:06:50 +0000
committerKarl Berry <karl@freefriends.org>2019-11-27 22:06:50 +0000
commit5ddfa0bd3428ac6c5b0a4a564b2b1b78a468d129 (patch)
tree5a95803333995618d7870de20959b7dc9bd1589b /Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua
parent80cb9c50ef0c7af421240024db2804123753d73b (diff)
make4ht (27nov19)
git-svn-id: svn://tug.org/texlive/trunk@52950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua')
-rw-r--r--Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua b/Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua
index c515a154a1b..30fdc0744da 100644
--- a/Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua
+++ b/Master/texmf-dist/scripts/make4ht/formats/make4ht-odt.lua
@@ -136,6 +136,9 @@ function M.modify_build(make)
-- fix the image dimensions wrongly set by xtpipes
local domfilters = domfilter {"t4htlinks", "odtpartable"}
make:match("4oo$", domfilters)
+ -- fixes for mathml
+ local mathmldomfilters = domfilter {"joincharacters","mathmlfixes"}
+ make:match("4om$", mathmldomfilters)
-- execute it before xtpipes, because we don't want xtpipes to mess with t4htlink elements
move_matches(make)
-- convert XML entities for Unicode characters produced by Xtpipes to characters