[tex4ht-commits] [SCM] tex4ht updated: r1335 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Jun 2 13:15:08 CEST 2023


Author: michal_h21
Date: 2023-06-02 11:15:08 +0000 (Fri, 02 Jun 2023)
New Revision: 1335

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html4.tex
Log:
check if nextfen from xskak is defined

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2023-05-21 14:16:15 UTC (rev 1334)
+++ trunk/lit/ChangeLog	2023-06-02 11:15:08 UTC (rev 1335)
@@ -1,3 +1,8 @@
+2023-06-02  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html4.tex (html4.4ht): check if Xskak's nextfen is defined.
+	https://tex.stackexchange.com/a/687434/2891
+
 2023-05-21  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-4ht.tex (lineno.4ht): copyright 2023.

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2023-05-21 14:16:15 UTC (rev 1334)
+++ trunk/lit/tex4ht-html4.tex	2023-06-02 11:15:08 UTC (rev 1335)
@@ -19571,7 +19571,7 @@
 chess notation as an alt text.
 
 \<configure html4 chessboard\><<<
-\def\chessboard:alt{\ifdefined\o:xskakget:\o:xskakget:{nextfen}\fi}
+\def\chessboard:alt{\ifdefined\o:xskakget:\ifcsname Xskak.\xskak at val@gameid.\xskak at val@movenr.\xskak at val@player.nextfen\endcsname\o:xskakget:{nextfen}\fi\fi}
 \Configure{chessboard}{\Picture*[\chessboard:alt]{}}{\EndPicture}
 >>>
 



More information about the tex4ht-commits mailing list.