[tex4ht-commits] [SCM] tex4ht updated: r349 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Thu Nov 23 18:06:34 CET 2017
Author: michal_h21
Date: 2017-11-23 19:06:34 +0200 (Thu, 23 Nov 2017)
New Revision: 349
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed xr-hyper issue with equations
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2017-11-21 11:20:56 UTC (rev 348)
+++ trunk/lit/ChangeLog 2017-11-23 17:06:34 UTC (rev 349)
@@ -1,3 +1,8 @@
+2017-11-23 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (nameref.4ht): add label for equation if asmath is not
+ used.
+
2017-11-16 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (biblatex.4ht): fixed version checking
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2017-11-21 11:20:56 UTC (rev 348)
+++ trunk/lit/tex4ht-4ht.tex 2017-11-23 17:06:34 UTC (rev 349)
@@ -3239,12 +3239,12 @@
\HLet\NROrg at lst@MakeCaption\:tempc
}{}%
% bug [348]
+ \def\:tempams{%
+ \gdef\NR:Title{\a:newlabel{equation}}%
+ \gdef\NR:Type{equation}%
+ \gdef\@currentlabelname{equation}%
+ }
\@ifpackageloaded{amsmath}{%
- \def\:tempams{%
- \gdef\NR:Title{\a:newlabel{equation}}%
- \gdef\NR:Type{equation}%
- \gdef\@currentlabelname{equation}%
- }
\Configure{@begin}{align}{\:tempams}
\Configure{@begin}{multline}{\:tempams}
\Configure{@begin}{equation}{\:tempams}
@@ -3265,7 +3265,9 @@
\Configure{@begin}{underset}{\:tempams}
\Configure{@begin}{xleftarrow}{\:tempams}
\Configure{@begin}{xrightarrow}{\:tempams}
- }{}
+ }{
+ \Configure{@begin}{equation}{\:tempams}
+}
}
\let\T:ref=\::ref
More information about the tex4ht-commits
mailing list