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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Sun Feb 6 20:43:26 CET 2022


Author: michal_h21
Date: 2022-02-06 19:43:26 +0000 (Sun, 06 Feb 2022)
New Revision: 1074

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-ooffice.tex
Log:
Fixed links for the \cite command

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-02-06 19:29:41 UTC (rev 1073)
+++ trunk/lit/ChangeLog	2022-02-06 19:43:26 UTC (rev 1074)
@@ -1,5 +1,9 @@
 2022-02-06  Michal Hoftich  <michal.h21 at gmail.com>
 
+	* tex4ht-ooffice.tex (ooffice.4ht): fixed links for the \cite
+	command.
+	https://puszcza.gnu.org.ua/bugs/?547
+
 	* tex4ht-html4.tex (html4.4ht): declare table properties necessary
 	for correct rule support in Longtable.
 	https://tug.org/pipermail/tex4ht/2022q1/003137.html

Modified: trunk/lit/tex4ht-ooffice.tex
===================================================================
--- trunk/lit/tex4ht-ooffice.tex	2022-02-06 19:29:41 UTC (rev 1073)
+++ trunk/lit/tex4ht-ooffice.tex	2022-02-06 19:43:26 UTC (rev 1074)
@@ -2864,8 +2864,25 @@
 \subsection{cite}
 %%%%%%%%%%%%%%%%%%%
 
+This version of Cite produces links, but not speciall bibliography
+field in the ODT file. I don't know if it is important, I think
+functional link is better.
+
 \<configure ooffice latex\><<<
 \Configure{cite} 
+   {}  
+   {} 
+   {\Link}         {\EndLink} 
+\let\lat:cite\@cite
+\def\@cite#1#2{{#1\if at tempswa , #2\fi}} 
+>>>
+
+This version of cite is post-processed by Xtpipes, which
+removes links from citation to the bibliography, and 
+introduce extra square brackets. I don't understand why.
+
+\<\><<<
+\Configure{cite} 
    {\HCode{<text:bibliography-mark 
                  text:bibliography-type="custom1">}}  
    {\HCode{</text:bibliography-mark>}} 



More information about the tex4ht-commits mailing list.