[tex4ht-commits] [SCM] tex4ht updated: r409 - trunk/lit
michal_h21 at gnu.org.ua
michal_h21 at gnu.org.ua
Fri Jun 8 20:34:58 CEST 2018
Author: michal_h21
Date: 2018-06-08 21:34:57 +0300 (Fri, 08 Jun 2018)
New Revision: 409
Modified:
trunk/lit/ChangeLog
trunk/lit/Makefile
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
Log:
Added basic cleveref support
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2018-06-06 21:26:07 UTC (rev 408)
+++ trunk/lit/ChangeLog 2018-06-08 18:34:57 UTC (rev 409)
@@ -1,6 +1,10 @@
+2018-06-08 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (cleveref.4ht): basic support for Cleveref package.
+
2018-06-06 Michal Hoftich <michal.h21 at gmail.com>
- * tex4ht-4ht.tex (ooffice.4ht): require new page for \clearpage command
+ * tex4ht-oofice.tex (ooffice.4ht): require new page for \clearpage command.
2018-05-19 Michal Hoftich <michal.h21 at gmail.com>
Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile 2018-06-06 21:26:07 UTC (rev 408)
+++ trunk/lit/Makefile 2018-06-08 18:34:57 UTC (rev 409)
@@ -44,7 +44,7 @@
tex4ht_4ht_derived = \
algorithmic.4ht animate.4ht authblk.4ht \
biblatex.4ht book.4ht \
- caption.4ht color.4ht colortbl.4ht \
+ caption.4ht cleveref.4ht color.4ht colortbl.4ht \
fontspec.4ht fontspec-4ht.lua fontspec-luatex.4ht fontspec-xetex.4ht \
framed.4ht frenchb.4ht \
geometry.4ht graphics.4ht graphicx.4ht \
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2018-06-06 21:26:07 UTC (rev 408)
+++ trunk/lit/mktex4ht-cnf.tex 2018-06-08 18:34:57 UTC (rev 409)
@@ -26,6 +26,7 @@
\AddFile{5}{footnote-dw}
\AddFile{8}{varioref}
\AddFile{8}{nameref}
+\AddFile{8}{cleveref}
\AddFile{8}{authblk}
\AddFile{8}{geometry}
\AddFile{8}{byname}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2018-06-06 21:26:07 UTC (rev 408)
+++ trunk/lit/tex4ht-4ht.tex 2018-06-08 18:34:57 UTC (rev 409)
@@ -3236,6 +3236,40 @@
>>>
%%%%%%%%%%%%%%%%%%
+\Section{cleveref}
+
+This basic support for the cleveref package.
+\Link[https://tex.stackexchange.com/a/220345/2891]{}{}Source.\EndLink
+
+\<cleveref.4ht\><<<
+% cleveref.4ht (|version), generated from |jobname.tex
+% Copyright 2018 TeX Users Group
+|<TeX4ht license text|>
+
+\def\refstepcounter at noarg#1{%
+ \cref at old@refstepcounter{#1}%
+ \cref at constructprefix{#1}{\cref at result}%
+ \@ifundefined{cref@#1 at alias}%
+ {\def\@tempa{#1}}%
+ {\def\@tempa{\csname cref@#1 at alias\endcsname}}%
+ \protected at xdef\cref at currentlabel{%
+ [\@tempa][\arabic{#1}][\cref at result]%
+ \csname p@#1\endcsname\csname the#1\endcsname}
+ }%
+\def\refstepcounter at optarg[#1]#2{%
+ \cref at old@refstepcounter{#2}%
+ \cref at constructprefix{#2}{\cref at result}%
+ \@ifundefined{cref@#1 at alias}%
+ {\def\@tempa{#1}}%
+ {\def\@tempa{\csname cref@#1 at alias\endcsname}}%
+ \protected at edef\cref at currentlabel{%
+ [\@tempa][\arabic{#2}][\cref at result]%
+ \csname p@#2\endcsname\csname the#2\endcsname}}%
+\Hinput{cleveref}
+\endinput
+>>> \AddFile{8}{cleveref}
+
+%%%%%%%%%%%%%%%%%%
\Section{authblk}
This is a basic fix for authblk package.
More information about the tex4ht-commits
mailing list