texlive[64884] Master/texmf-dist: avoid comments in mintedinline,

commits+karl at tug.org commits+karl at tug.org
Mon Oct 31 21:53:41 CET 2022


Revision: 64884
          http://tug.org/svn/texlive?view=revision&revision=64884
Author:   karl
Date:     2022-10-31 21:53:40 +0100 (Mon, 31 Oct 2022)
Log Message:
-----------
avoid comments in mintedinline, tex4ht r1229; long arrows, tex4ht r1230; \boxed fixes, tex4ht r1231

Revision Links:
--------------
    http://tug.org/svn/texlive?view=revision&revision=1229
    http://tug.org/svn/texlive?view=revision&revision=1230
    http://tug.org/svn/texlive?view=revision&revision=1231

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/minted.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,3 +1,22 @@
+2022-10-31  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathml.tex (mathml.4ht, html-mml.4ht): fixed output of the
+	\boxed command.
+	https://github.com/michal-h21/make4ht/issues/94
+
+	* tex4ht-unicode.tex (unicode.4ht): fixed Unicode characters for
+	more long arrow commands.
+	https://github.com/michal-h21/make4ht/issues/86
+
+	* tex4ht-4ht.tex (minted.4ht): don't insert comments in
+	\mintedinline, it can cause removal of HTML tags.
+	https://github.com/michal-h21/make4ht/issues/92
+	
+2022-10-30  Karl Berry  <karl at freefriends.org>
+
+	* tex4ht-4ht.tex (cleveref.4ht),
+	* tex4ht-unicode.tex (unicode.4ht): copyright 2022.
+
 2022-10-27  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (cleveref.4ht): removed spurious spaces produced by

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1227 2022-10-27 15:02:31Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1229 2022-10-31 11:23:43Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2022 TeX Users Group    
@@ -3614,7 +3614,7 @@
 
 \<cleveref.4ht\><<<
 % cleveref.4ht (|version), generated from |jobname.tex
-% Copyright 2018-2021 TeX Users Group
+% Copyright 2018-2022 TeX Users Group
 |<TeX4ht license text|>
 
 |<cleveref refstepcounter|>
@@ -25317,7 +25317,10 @@
 \NewConfigure{InlineCode}{2}
 % this is a hack to hide a newline that is produced, and which causes spurious space in the output
 \NewConfigure{MintedHideNewline}{2} 
-\Configure{MintedHideNewline}{\HCode{<!--}}{\HCode{-->}}
+% I cannot reproduce the newline issue now, but it seems that 
+% this comment can hide desired tags sometimes, so we should disable it.
+% See https://github.com/michal-h21/make4ht/issues/92
+%\Configure{MintedHideNewline}{\HCode{<!--}}{\HCode{-->}}
 
 \def\:tempa#1{%
   \endgroup%

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathml.tex	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathml.tex 1226 2022-10-27 14:19:24Z michal_h21 $$
+% $Id: tex4ht-mathml.tex 1231 2022-10-31 12:34:12Z michal_h21 $$
 % compile 3 times: latex tex4ht-mathltx
 %           or   xhlatex tex4ht-mathltx "html,3,sections+"
 %
@@ -4936,11 +4936,11 @@
 \section{Boxed}
 %%%%%%%%%%%%%%%%%%
 
-\<configure html-mml amsmath\><<<
+\<configure mathml amsmath\><<<
 \Configure{boxed}
-   {\ifmathml \Tg<\a:mathml mrow \mml:class="boxed">%
+   {\ifmathml \Tg<\a:mathml menclose \a:mathml notation="box">\Tg<\a:mathml mrow>%
     \else     \HCode{<span class="boxed">}\IgnorePar\fi}
-   {\ifmathml \Tg</\a:mathml mrow>%
+   {\ifmathml \Tg</\a:mathml mrow>\Tg</\a:mathml menclose>%
     \else \HCode{</span>}\fi}
 \Css{.boxed{border: 1px solid black; padding-left:2px;
                                      padding-right:2px;}}

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-unicode.tex	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,7 +1,7 @@
-% $Id: tex4ht-unicode.tex 1223 2022-10-25 20:53:26Z michal_h21 $
+% $Id: tex4ht-unicode.tex 1230 2022-10-31 12:01:20Z michal_h21 $
 % latex tex4ht-unicode   or   xhlatex tex4ht-unicode "html,3,sections+"
 %
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
 % Copyright 1998-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -227,7 +227,7 @@
 
 \<unicode\><<<
 % unicode.4ht (|version), generated from |jobname.tex
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
 % Copyright |CopyYear.1998. Eitan M. Gurari
 |<TeX4ht copywrite|>
 >>>
@@ -442,11 +442,11 @@
 \Configure{ddots}                 {\x:unicode{22F1}}
 \Configure{hookleftarrow}         {\x:unicode{21A9}}
 \Configure{hookrightarrow}        {\x:unicode{21AA}}
-\Configure{longleftarrow}         {\x:unicode{2190}}
-\Configure{longleftrightarrow}    {\x:unicode{2194}}
-\Configure{Longleftrightarrow}    {\x:unicode{21D4}}
-\Configure{longmapsto}            {\x:unicode{21A6}}
-\Configure{longrightarrow}        {\x:unicode{2192}}
+\Configure{longleftarrow}         {\x:unicode{27F5}}
+\Configure{longleftrightarrow}    {\x:unicode{27F7}}
+\Configure{Longleftrightarrow}    {\x:unicode{27FA}}
+\Configure{longmapsto}            {\x:unicode{27FC}}
+\Configure{longrightarrow}        {\x:unicode{27F6}}
 \Configure{mid}                   {\x:unicode{2223}}
 \Configure{models}                {\x:unicode{22A7}}
 \Configure{mapsto}                {\x:unicode{21A6}}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,4 +1,4 @@
-% html-mml.4ht (2022-10-25-13:43), generated from tex4ht-mathml.tex
+% html-mml.4ht (2022-10-31-13:02), generated from tex4ht-mathml.tex
 % Copyright 2009-2022 TeX Users Group
 % Copyright 1999-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-10-25-13:43}
+\immediate\write-1{version 2022-10-31-13:02}
 
 \exit:ifnot{amsmath,% 
 array,% 
@@ -226,13 +226,15 @@
                \HCode{</\:MT td>}\RecallEndP
 }
 \Css{.array-hline,.array-cline{
-  border-bottom:black solid 1px;
+  border-top: 1px solid black;
   height:0px;
 }}
-\Css{.hline-mtd{
+\Css{.array-hline + .array-vspace:last-child{display:none;}}
+\Css{.hline-mtd, .array-hline td{
   display:none
 }}
 \Css{.array-hline + .array-row:last-child{display:none;}}
+\Css{.array-hline:first-child{border-bottom:1px solid black;border-top:none;}}
 \:CheckOption{fonts} \if:Option
 \Configure{texttt}
      {\ifmathml \providemtextclass{\mml:class="texttt"
@@ -664,13 +666,6 @@
   {\let\tagform@=\:gobble }
 \Css{mtd.align-odd{margin-left:2em;   text-align:right;}}
 \Css{mtd.align-even{margin-right:2em; text-align:left;}}
-\Configure{boxed}
-   {\ifmathml \Tg<\a:mathml mrow \mml:class="boxed">%
-    \else     \HCode{<span class="boxed">}\IgnorePar\fi}
-   {\ifmathml \Tg</\a:mathml mrow>%
-    \else \HCode{</span>}\fi}
-\Css{.boxed{border: 1px solid black; padding-left:2px;
-                                     padding-right:2px;}}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,4 +1,4 @@
-% mathml.4ht (2022-10-27-13:38), generated from tex4ht-mathml.tex
+% mathml.4ht (2022-10-31-13:02), generated from tex4ht-mathml.tex
 % Copyright 2009-2022 TeX Users Group
 % Copyright 1999-2009 Eitan M. Gurari
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-10-27-13:38}
+\immediate\write-1{version 2022-10-31-13:02}
 
 \exit:ifnot{Preamble,% 
 accents,% 
@@ -2099,6 +2099,13 @@
    {\HCode{<\a:mathml mtd
        \a:mathml columnalign="\ifodd\HCol right\else left\fi" >}}
    {\HCode{</\a:mathml mtd>}}
+\Configure{boxed}
+   {\ifmathml \Tg<\a:mathml menclose \a:mathml notation="box">\Tg<\a:mathml mrow>%
+    \else     \HCode{<span class="boxed">}\IgnorePar\fi}
+   {\ifmathml \Tg</\a:mathml mrow>\Tg</\a:mathml menclose>%
+    \else \HCode{</span>}\fi}
+\Css{.boxed{border: 1px solid black; padding-left:2px;
+                                     padding-right:2px;}}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/minted.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/minted.4ht	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/minted.4ht	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,4 +1,4 @@
-% minted.4ht (2022-04-04-07:43), generated from tex4ht-4ht.tex
+% minted.4ht (2022-10-31-13:02), generated from tex4ht-4ht.tex
 % Copyright 2022 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,13 +16,16 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-04-04-07:43}
+\immediate\write-1{version 2022-10-31-13:02}
 
 
 \NewConfigure{InlineCode}{2}
 % this is a hack to hide a newline that is produced, and which causes spurious space in the output
 \NewConfigure{MintedHideNewline}{2}
-\Configure{MintedHideNewline}{\HCode{<!--}}{\HCode{-->}}
+% I cannot reproduce the newline issue now, but it seems that
+% this comment can hide desired tags sometimes, so we should disable it.
+% See https://github.com/michal-h21/make4ht/issues/92
+%\Configure{MintedHideNewline}{\HCode{<!--}}{\HCode{-->}}
 
 \def\:tempa#1{%
   \endgroup%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/unicode.4ht	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,5 +1,5 @@
-% unicode.4ht (2022-10-25-13:59), generated from tex4ht-unicode.tex
-% Copyright 2009-2021 TeX Users Group
+% unicode.4ht (2022-10-31-13:02), generated from tex4ht-unicode.tex
+% Copyright 2009-2022 TeX Users Group
 % Copyright 1998-2009 Eitan M. Gurari
 %
 % This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-10-25-13:59}
+\immediate\write-1{version 2022-10-31-13:02}
 
 \exit:ifnot{8859-6,% 
 SIunits,% 
@@ -502,11 +502,11 @@
 \Configure{ddots}                 {\x:unicode{22F1}}
 \Configure{hookleftarrow}         {\x:unicode{21A9}}
 \Configure{hookrightarrow}        {\x:unicode{21AA}}
-\Configure{longleftarrow}         {\x:unicode{2190}}
-\Configure{longleftrightarrow}    {\x:unicode{2194}}
-\Configure{Longleftrightarrow}    {\x:unicode{21D4}}
-\Configure{longmapsto}            {\x:unicode{21A6}}
-\Configure{longrightarrow}        {\x:unicode{2192}}
+\Configure{longleftarrow}         {\x:unicode{27F5}}
+\Configure{longleftrightarrow}    {\x:unicode{27F7}}
+\Configure{Longleftrightarrow}    {\x:unicode{27FA}}
+\Configure{longmapsto}            {\x:unicode{27FC}}
+\Configure{longrightarrow}        {\x:unicode{27F6}}
 \Configure{mid}                   {\x:unicode{2223}}
 \Configure{models}                {\x:unicode{22A7}}
 \Configure{mapsto}                {\x:unicode{21A6}}
@@ -1013,11 +1013,11 @@
 \Configure{ddots}                 {\x:unicode{22F1}}
 \Configure{hookleftarrow}         {\x:unicode{21A9}}
 \Configure{hookrightarrow}        {\x:unicode{21AA}}
-\Configure{longleftarrow}         {\x:unicode{2190}}
-\Configure{longleftrightarrow}    {\x:unicode{2194}}
-\Configure{Longleftrightarrow}    {\x:unicode{21D4}}
-\Configure{longmapsto}            {\x:unicode{21A6}}
-\Configure{longrightarrow}        {\x:unicode{2192}}
+\Configure{longleftarrow}         {\x:unicode{27F5}}
+\Configure{longleftrightarrow}    {\x:unicode{27F7}}
+\Configure{Longleftrightarrow}    {\x:unicode{27FA}}
+\Configure{longmapsto}            {\x:unicode{27FC}}
+\Configure{longrightarrow}        {\x:unicode{27F6}}
 \Configure{mid}                   {\x:unicode{2223}}
 \Configure{models}                {\x:unicode{22A7}}
 \Configure{mapsto}                {\x:unicode{21A6}}

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-10-31 19:49:19 UTC (rev 64883)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2022-10-31 20:53:40 UTC (rev 64884)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-10-27-13:37), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-10-31-13:02), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2022 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2022-10-27-13:37}
+\immediate\write-1{version 2022-10-31-13:02}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}



More information about the tex-live-commits mailing list.