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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Jan 16 17:58:10 CET 2024


Author: michal_h21
Date: 2024-01-16 16:58:10 +0000 (Tue, 16 Jan 2024)
New Revision: 1444

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
Log:
added support for various primes in unicode-math

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-01-16 12:24:53 UTC (rev 1443)
+++ trunk/lit/ChangeLog	2024-01-16 16:58:10 UTC (rev 1444)
@@ -1,5 +1,8 @@
 2024-01-16  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-4ht.tex (unicode-math-hooks.4ht): added support for various
+	Unicode prime and back-prime symbols.
+
 	* tex4ht-4ht.tex (hyperref.4ht): fixed support for the `]`
 	characters in URLs in the \href command.
 	https://tex.stackexchange.com/a/707193/2891

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-01-16 12:24:53 UTC (rev 1443)
+++ trunk/lit/tex4ht-4ht.tex	2024-01-16 16:58:10 UTC (rev 1444)
@@ -4374,6 +4374,14 @@
 \DeclareDocumentCommand \setmathfont { O{} m O{} }{}
 \DeclareDocumentCommand \unimathsetup {m} {} 
 \catcode`\:=11\makeatletter
+% declare prime and backprime Unicode symbols. they shouldn't be used with
+% explicit superscripts
+\DeclareDocumentCommand\dprime{}{\sp{\ht:special{t4ht at +\string&{35}x2033;}x}}
+\DeclareDocumentCommand\trprime{}{\sp{\ht:special{t4ht at +\string&{35}x2034;}x}}
+\DeclareDocumentCommand\qprime{}{\sp{\ht:special{t4ht at +\string&{35}x2057;}x}}
+\DeclareDocumentCommand\backprime{}{\sp{\ht:special{t4ht at +\string&{35}x2035;}x}}
+\DeclareDocumentCommand\backdprime{}{\sp{\ht:special{t4ht at +\string&{35}x2036;}x}}
+\DeclareDocumentCommand\backtrprime{}{\sp{\ht:special{t4ht at +\string&{35}x2037;}x}}
 \endinput
 >>> \AddFile{9}{unicode-math-hooks}
 



More information about the tex4ht-commits mailing list.