diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/xskak.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/xskak.4ht | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/xskak.4ht b/Master/texmf-dist/tex/generic/tex4ht/xskak.4ht index 9f59aafa149..f18bfba72d9 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/xskak.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/xskak.4ht @@ -1,5 +1,5 @@ -% xskak.4ht (2022-11-04-13:31), generated from tex4ht-4ht.tex -% Copyright 2022 TeX Users Group +% xskak.4ht (2023-07-28-13:49), generated from tex4ht-4ht.tex +% Copyright 2022-2023 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -16,7 +16,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2022-11-04-13:31} +\immediate\write-1{version 2023-07-28-13:49} \ExplSyntaxOn \def\:xskakdepth{vertical-align:-\fp_eval:n{ @@ -31,7 +31,10 @@ %\a:mainline\Picture*[\detokenize{#1}]{ style="\:xskakdepth"}\box0\EndPicture\b:mainline% \a:mainline\box0\b:mainline% } -\HLet\mainline\:tempa +% I've found that mainline redefinition can lead to compilation errors +% As it prints text and chess symbols are retrieved from SkakNew.htf, maybe we don't need +% to compile it to image at all, unless we get further bug reports. +% \HLet\mainline\:tempa \NewConfigure{xskakget}{2} \def\:tempa#1{% @@ -42,15 +45,15 @@ \HLet\xskakget\:tempa \NewConfigure{chessboard}{2} -\def\:tempa{% +\newcommand\:newchessgame[1][]{% % reset to the original version of \chessboard \let\:currchesboard\chessboard \let\chessboard\o:chessboard:% - \o:newchessgame:% + \o:newchessgame:[#1]% % set the TeX4ht version of \chessboard back \let\chessboard\:currchesboard } -\HLet\newchessgame\:tempa +\HLet\newchessgame\:newchessgame \Hinput{xskak} \endinput |