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

michal_h21 at gnu.org.ua michal_h21 at gnu.org.ua
Fri Jul 26 22:45:33 CEST 2019


Author: michal_h21
Date: 2019-07-26 23:45:33 +0300 (Fri, 26 Jul 2019)
New Revision: 590

Modified:
   trunk/lit/ChangeLog
   trunk/lit/Makefile
   trunk/lit/tex4ht-4ht.tex
Log:
Added support for \Configure{cite} in Natbib

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2019-07-10 14:20:57 UTC (rev 589)
+++ trunk/lit/ChangeLog	2019-07-26 20:45:33 UTC (rev 590)
@@ -1,3 +1,8 @@
+2019-07-26 Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (natbib.4ht): added support for \Configure{cite}.
+	https://tex.stackexchange.com/q/501572/2891
+
 2019-07-10  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (babel.4ht,polyglossia.4ht): added support for the

Modified: trunk/lit/Makefile
===================================================================
--- trunk/lit/Makefile	2019-07-10 14:20:57 UTC (rev 589)
+++ trunk/lit/Makefile	2019-07-26 20:45:33 UTC (rev 590)
@@ -53,7 +53,7 @@
 	jurabib.4ht \
   latex.4ht lettrine.4ht listings.4ht \
   magyar.4ht mdframed.4ht memoir.4ht multicol.4ht multirow.4ht \
-  nameref.4ht \
+  nameref.4ht natbib.4ht \
   proof.4ht pstricks.4ht \
   quoting.4ht \
   reading.4ht \

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2019-07-10 14:20:57 UTC (rev 589)
+++ trunk/lit/tex4ht-4ht.tex	2019-07-26 20:45:33 UTC (rev 590)
@@ -22035,14 +22035,15 @@
 \<hyperref for natbib\><<<
 \expandafter\ifx \csname hyper at linkstart\endcsname\relax
    \def\hyper at linkstart#1#2{%
+     \a:cite%
      \def\:temp{#1}%
      \ifx\:temp\@urltype
-       \Link[#2]{}{}%
+       \cIteLink[#2]{}{}%
      \else
-       \ifx\rel:hyper\def\Link{#2}{}\else\Link[\##2]{}{}\fi
+       \ifx\rel:hyper\def\cIteLink{#2}{}\else\cIteLink[\##2]{}{}\fi
      \fi  \global\let\rel:hyper=\:UnDef
    }
-   \def\hyper at linkend{\EndLink}
+   \def\hyper at linkend{\EndcIteLink\b:cite}
 \fi
 \long\def\:temp#1{}\ifx \:temp\hyper at natanchorstart
    \def\hyper at natanchorstart#1{\Link{}{X#1}\EndLink}



More information about the tex4ht-commits mailing list