[tex4ht-commits] [SCM] tex4ht updated: r903 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Fri Apr 16 17:02:57 CEST 2021
Author: michal_h21
Date: 2021-04-16 15:02:57 +0000 (Fri, 16 Apr 2021)
New Revision: 903
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
Added support for the chessboard package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-04-16 08:50:00 UTC (rev 902)
+++ trunk/lit/ChangeLog 2021-04-16 15:02:57 UTC (rev 903)
@@ -1,6 +1,7 @@
2021-04-16 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (tikz-hooks.4ht): load dvisvgm4ht driver by default.
+ * tex4ht-4ht.tex (chessboard.4ht): added support for the chessboard package.
2021-04-15 Michal Hoftich <michal.h21 at gmail.com>
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2021-04-16 08:50:00 UTC (rev 902)
+++ trunk/lit/mktex4ht-cnf.tex 2021-04-16 15:02:57 UTC (rev 903)
@@ -355,6 +355,7 @@
\AddFile{9}{tcolorbox}
\AddFile{9}{parallel}
\AddFile{9}{skak}
+\AddFile{9}{chessboard}
\AddFile{9}{animate}
\AddFile{9}{sectionbreak}
% \AddFile{9}{mktex4ht}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2021-04-16 08:50:00 UTC (rev 902)
+++ trunk/lit/tex4ht-4ht.tex 2021-04-16 15:02:57 UTC (rev 903)
@@ -31820,7 +31820,33 @@
>>> \AddFile{9}{skak}
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{chessboard.sty}
+%%%%%%%%%%%%%%%%%%%%%%%%
+\<chessboard.4ht\><<<
+% chessboard.4ht (|version), generated from |jobname.tex
+% Copyright 2021 TeX Users Group
+|<TeX4ht license text|>
+
+|<chessboard.sty|>
+\Hinput{chessboard}
+\endinput
+>>>
+
+\<chessboard.sty\><<<
+\NewConfigure{chessboard}{2}
+% this should put configurable hooks around \newchessgame
+% contents printed by this command should be printed to image
+\newcommand\Save:TikzPict{\let\old:a:tikzpicture\a:tikzpicture\let\old:b:tikzpicture\b:tikzpicture\let\a:tikzpicture\relax\let\b:tikzpicture\relax}
+\newcommand\Restore:TikzPict{\let\a:tikzpicture\old:a:tikzpicture\let\b:tikzpicture\old:b:tikzpicture}
+\newcommand\:tempaboard[1][]{\a:chessboard\o:chessboard:[#1]\b:chessboard}
+%
+\HLet\chessboard\:tempaboard
+\Configure{chessboard}{\Picture*{}\Save:TikzPict}{\Restore:TikzPict\EndPicture}
+>>> \AddFile{9}{chessboard}
+
+
%%%%%%%%%%%%%%%%%%%%%%%%
\Section{vanilla.sty}
%%%%%%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.