From f6d519fed2b86a4b0338f9b031d22790dac0e103 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 19 Dec 2018 22:40:11 +0000 Subject: mathml option for docbook and tei, tex4ht r463 git-svn-id: svn://tug.org/texlive/trunk@49458 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht index ec4f7dd599d..aa5b136c558 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/tex4ht.4ht @@ -1,8 +1,8 @@ \ifnum\the\catcode`\%=14\else \expandafter\edef\csname \string:RestoreCatcodes\endcsname{\catcode`\%\the \catcode`\%}\catcode`\%14\fi -% tex4ht.4ht (2018-06-12-16:03), generated from tex4ht-options.tex -% Copyright 2009-2017 TeX Users Group +% tex4ht.4ht (2018-12-19-14:38), generated from tex4ht-options.tex +% Copyright 2009-2018 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % % This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2018-06-12-16:03} +\immediate\write-1{version 2018-12-19-14:38} \expandafter\edef\csname :RestoreCatcodes\endcsname{% \expandafter\ifx \csname :RestoreCatcodes\endcsname\relax\else @@ -193,7 +193,14 @@ \Configure{tei}{% \Hinclude[*]{tei.4ht}% \Hinclude[*]{unicode.4ht}% - \Hinclude[*]{tei-math.4ht}% + \:CheckOption{mathml}\if:Option% + \else\:CheckOption{mathml-}\fi% + \if:Option% + \Hinclude[*]{mathml.4ht}% + \Hinclude[*]{tei-mml.4ht}% + \else + \Hinclude[*]{tei-math.4ht}% + \fi \:CheckOption{svg}% \if:Option \else\:CheckOption{svg-}\fi \if:Option \else\:CheckOption{svg-obj}\fi @@ -221,7 +228,14 @@ \Configure{docbook}{% \Hinclude[*]{docbook.4ht}% \Hinclude[*]{unicode.4ht}% - \Hinclude[*]{docbook-math.4ht}% + \:CheckOption{mathml}\if:Option% + \else\:CheckOption{mathml-}\fi% + \if:Option% + \Hinclude[*]{mathml.4ht}% + \Hinclude[*]{docbook-mml.4ht}% + \else + \Hinclude[*]{docbook-math.4ht}% + \fi \:CheckOption{svg}% \if:Option \else\:CheckOption{svg-}\fi \if:Option \else\:CheckOption{svg-obj}\fi -- cgit v1.2.3