diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-04 22:11:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-04 22:11:52 +0000 |
commit | 5dd56ee78ed661e6c66aba9acd8086164b332b02 (patch) | |
tree | ad308a1e38216709d66bee82f68682cb5174fdb5 /Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | |
parent | 198d882419df89da6879d2319d06f3949cf1d60e (diff) |
xskak support, tex4ht r1235
git-svn-id: svn://tug.org/texlive/trunk@64937 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index b9119693d39..00502d272ba 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1226 2022-10-27 14:19:24Z michal_h21 $ +% $Id: tex4ht-html4.tex 1235 2022-11-04 15:46:19Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -19426,6 +19426,27 @@ latex.ltx, fontmath.ltx, plain.tex >>> %%%%%%%%%%%%%%%%% +\section{xskak} +%%%%%%%%%%%%%%%%% + +\<configure html4 xskak\><<< +\Configure{mainline}{\Picture*[\:xskakalt]{ style="\:xskakdepth"}}{\EndPicture} +\Configure{xskakget}{\Picture*[\:xskakalt]{ style="\:xskakdepth"}}{\EndPicture} +>>> + +%%%%%%%%%%%%%%%%% +\section{chessboard} +%%%%%%%%%%%%%%%%% + +If called from Xskak, we can use the xskakget command to get +chess notation as an alt text. + +\<configure html4 chessboard\><<< +\def\chessboard:alt{\ifdefined\o:xskakget:\o:xskakget:{nextfen}\fi} +\Configure{chessboard}{\Picture*[\chessboard:alt]{}}{\EndPicture} +>>> + +%%%%%%%%%%%%%%%%% \section{texmate} \<configure html4 texmate\><<< |