[tex4ht-commits] [SCM] tex4ht updated: r951 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Thu Jun 17 18:29:23 CEST 2021
Author: michal_h21
Date: 2021-06-17 16:29:22 +0000 (Thu, 17 Jun 2021)
New Revision: 951
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
trunk/lit/tex4ht-html4.tex
Log:
Added support for the texmate package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-06-13 15:46:36 UTC (rev 950)
+++ trunk/lit/ChangeLog 2021-06-17 16:29:22 UTC (rev 951)
@@ -1,3 +1,8 @@
+2021-06-17 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (texmate.4ht),
+ * tex4ht-html4.tex (html4.4ht): added support for the texmate package.
+
2021-06-13 Karl Berry <karl at freefriends.org>
* tex4ht-4ht.tex (fontspec.4ht, graphics.4ht, lfeenc.4ht,
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2021-06-13 15:46:36 UTC (rev 950)
+++ trunk/lit/mktex4ht-cnf.tex 2021-06-17 16:29:22 UTC (rev 951)
@@ -357,6 +357,7 @@
\AddFile{9}{parallel}
\AddFile{9}{skak}
\AddFile{9}{chessboard}
+\AddFile{9}{texmate}
\AddFile{9}{menukeys}
\AddFile{9}{animate}
\AddFile{9}{sectionbreak}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2021-06-13 15:46:36 UTC (rev 950)
+++ trunk/lit/tex4ht-4ht.tex 2021-06-17 16:29:22 UTC (rev 951)
@@ -31956,7 +31956,34 @@
\Configure{chessboard}{\Picture*{}\Save:TikzPict}{\Restore:TikzPict\EndPicture}
>>> \AddFile{9}{chessboard}
+
%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{texmate.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<texmate.4ht\><<<
+% texmate.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht license text|>
+
+|<texmate.sty|>
+\Hinput{texmate}
+\endinput
+>>> \AddFile{9}{texmate}
+
+
+\<texmate.sty\><<<
+% fix incorrect handling of pictures
+\NewConfigure{makediagramsfix}{2}
+\renewcommand*\:tempa[1]{\a:makediagramsfix\o:@toD:{#1}\b:makediagramsfix}
+\HLet\@toD\:tempa
+% add some markup for diagrams
+\NewConfigure{makediagrams}{2}
+\renewcommand*\:tempa[1][\@diagramsbuilt]{\a:makediagrams\o:makediagrams:[#1]\b:makediagrams}
+\HLet\makediagrams\:tempa
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%%%%
\Section{menukeys.sty}
%%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2021-06-13 15:46:36 UTC (rev 950)
+++ trunk/lit/tex4ht-html4.tex 2021-06-17 16:29:22 UTC (rev 951)
@@ -19238,6 +19238,15 @@
>>>
%%%%%%%%%%%%%%%%%
+\section{texmate}
+
+\<configure html4 texmate\><<<
+\Configure{makediagramsfix}{\PictureOff}{\PictureOn}
+\Configure{makediagrams}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="makediagrams">}}
+{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par\leavevmode}
+>>>
+
+%%%%%%%%%%%%%%%%%
\section{vanilla}
\<configure html4 vanilla\><<<
More information about the tex4ht-commits
mailing list.