diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-29 03:02:30 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-29 03:02:30 +0000 |
commit | 4736ac744a8c914e0d5ced1d157e017a385bbf43 (patch) | |
tree | cc6b754ea0d704573dfffffdbf327e14057ce864 /support/make4ht/mkparams.lua | |
parent | 02193cc5ca03abf234d3bc9d77b4821d85f58c62 (diff) |
CTAN sync 202002290302
Diffstat (limited to 'support/make4ht/mkparams.lua')
-rw-r--r-- | support/make4ht/mkparams.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/support/make4ht/mkparams.lua b/support/make4ht/mkparams.lua index 0254de9ac2..5517c0a19f 100644 --- a/support/make4ht/mkparams.lua +++ b/support/make4ht/mkparams.lua @@ -29,7 +29,7 @@ Available options: -m,--mode (default default) Switch which can be used in the makefile -n,--no-tex4ht Disable dvi file processing with the tex4ht command -s,--shell-escape Enables running external programs from LaTeX - -u,--utf8 For output documents in utf8 encoding + -u,--utf8 [obsolete] The document is generated in UTF8 encoding by default -v,--version Display version number -x,--xetex Use xelatex for document compilation ]] @@ -185,6 +185,12 @@ local function process_args(args) outdir = outdir:gsub('/$','') end + -- make4ht now requires UTF-8 output, because of DOM filters + -- numeric entites are expanded to Unicode characters. These + -- characters would be displayed incorrectly in 8 bit encodings. + + args.utf8 = true + if args.backend == "lua4ht" then args.lua = true args.xetex = nil |