[tex4ht-commits] [SCM] tex4ht updated: r861 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Thu Jan 7 18:56:01 CET 2021
Author: michal_h21
Date: 2021-01-07 19:56:00 +0200 (Thu, 07 Jan 2021)
New Revision: 861
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-ooffice.tex
Log:
fixed \@namedef issues in Plain TeX
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2021-01-03 11:00:32 UTC (rev 860)
+++ trunk/lit/ChangeLog 2021-01-07 17:56:00 UTC (rev 861)
@@ -1,3 +1,8 @@
+2021-01-07 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-ooffice.4ht (ooffice.4ht): don't use \@namedef, in order to support
+ plain.
+
2021-01-03 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-fonts-spectral.tex: added support for the Spectral font.
Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex 2021-01-03 11:00:32 UTC (rev 860)
+++ trunk/lit/tex4ht-ooffice.tex 2021-01-07 17:56:00 UTC (rev 861)
@@ -1146,8 +1146,8 @@
\<configure ooffice tex4ht\><<<
\def\svg:width{0.0pt}\def\svg:height{0.0pt}
-\def\def:image:mime:type#1#2{\@namedef{image:mime#1}{#2}}
-\def\get:image:mime:type#1{\@nameuse{image:mime#1}}
+\def\def:image:mime:type#1#2{\expandafter\def\csname image:mime#1\endcsname{#2}}
+\def\get:image:mime:type#1{\csname image:mime#1\endcsname}
\def:image:mime:type{.png}{image/png}
\def:image:mime:type{.jpg}{image/jpeg}
\def:image:mime:type{.jpeg}{image/jpeg}
More information about the tex4ht-commits
mailing list.