summaryrefslogtreecommitdiff
path: root/support/make4ht/formats
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-27 03:01:12 +0000
committerNorbert Preining <norbert@preining.info>2019-11-27 03:01:12 +0000
commit5142daa13e19b32afa064863e039da3afaf06e83 (patch)
treed8299dbf426b9b0e6cafacc4cbe5a6a762bf28a9 /support/make4ht/formats
parentbd1c54bb99e58d8c140acb0b0a536037f96349b4 (diff)
CTAN sync 201911270301
Diffstat (limited to 'support/make4ht/formats')
-rw-r--r--support/make4ht/formats/make4ht-html5.lua3
-rw-r--r--support/make4ht/formats/make4ht-odt.lua3
-rw-r--r--support/make4ht/formats/make4ht-xhtml.lua3
3 files changed, 5 insertions, 4 deletions
diff --git a/support/make4ht/formats/make4ht-html5.lua b/support/make4ht/formats/make4ht-html5.lua
index 633a45e7f3..a70309fa7a 100644
--- a/support/make4ht/formats/make4ht-html5.lua
+++ b/support/make4ht/formats/make4ht-html5.lua
@@ -3,8 +3,7 @@ local M = {}
local mkutils = require "mkutils"
function M.prepare_extensions(extensions)
- -- return mkutils.add_extensions("+common_domfilters", extensions)
- return extensions --mkutils.add_extensions("+tidy", extensions)
+ return mkutils.add_extensions("+common_domfilters", extensions)
end
function M.prepare_parameters(parameters,extensions)
diff --git a/support/make4ht/formats/make4ht-odt.lua b/support/make4ht/formats/make4ht-odt.lua
index c515a154a1..30fdc0744d 100644
--- a/support/make4ht/formats/make4ht-odt.lua
+++ b/support/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
diff --git a/support/make4ht/formats/make4ht-xhtml.lua b/support/make4ht/formats/make4ht-xhtml.lua
index 4a4ac6689c..25fb339c0f 100644
--- a/support/make4ht/formats/make4ht-xhtml.lua
+++ b/support/make4ht/formats/make4ht-xhtml.lua
@@ -3,8 +3,7 @@ local M = {}
local mkutils = require "mkutils"
function M.prepare_extensions(extensions)
- -- return mkutils.add_extensions("+common_domfilters", extensions)
- return extensions
+ return mkutils.add_extensions("+common_domfilters", extensions)
end
function M.prepare_parameters(parameters,extensions)