[tex4ht-commits] [SCM] tex4ht updated: r686 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Thu Apr 23 20:12:44 CEST 2020
Author: michal_h21
Date: 2020-04-23 21:12:44 +0300 (Thu, 23 Apr 2020)
New Revision: 686
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
Fix for interaction between cleveref and hyperref
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2020-04-20 16:16:32 UTC (rev 685)
+++ trunk/lit/ChangeLog 2020-04-23 18:12:44 UTC (rev 686)
@@ -1,3 +1,9 @@
+2020-04-23 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (usepackage.4ht): fix for interaction between Cleveref and
+ Hyperref.
+ https://tex.stackexchange.com/a/540277/2891
+
2020-04-19 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): fixed support for `\ {`
https://tex.stackexchange.com/a/539677/2891
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2020-04-20 16:16:32 UTC (rev 685)
+++ trunk/lit/tex4ht-4ht.tex 2020-04-23 18:12:44 UTC (rev 686)
@@ -3339,7 +3339,20 @@
\HLet\@@@setcref=\:tempa
>>>
+
+\<use package\><<<
+cleveref,>>>
%%%%%%%%%%%%%%%%%%
+
+Cleveref depends on internal Hyperref macro when Hyperref is loaded. It causes crash,
+because Hyperref exits before this macro is defined.
+\Link[https://tex.stackexchange.com/a/540277/2891]{}{}More information\EndLink.
+\<add to usepackage\><<<
+\def\:temp{cleveref}\ifx\@currname\:temp
+\let\HyOrg at addtoreset\@addtoreset
+\fi
+>>>
+%%%%%%%%%%%%%%%%%%
\Section{authblk}
This is a basic fix for authblk package.
More information about the tex4ht-commits
mailing list.