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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Wed Jun 15 16:03:03 CEST 2022


Author: michal_h21
Date: 2022-06-15 14:03:03 +0000 (Wed, 15 Jun 2022)
New Revision: 1153

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-jats.tex
Log:
Added footnotes support

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2022-06-15 13:08:46 UTC (rev 1152)
+++ trunk/lit/ChangeLog	2022-06-15 14:03:03 UTC (rev 1153)
@@ -1,7 +1,7 @@
 2022-06-15  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-jats.tex (jats.4ht): added support for Koma, AMS and Memoir
-	classes, figures and tables.
+	classes, figures, tables and footnotes.
 
 	* tex4ht-jats.tex (jats.4ht): added xml:lang support for the article
 	element.

Modified: trunk/lit/tex4ht-jats.tex
===================================================================
--- trunk/lit/tex4ht-jats.tex	2022-06-15 13:08:46 UTC (rev 1152)
+++ trunk/lit/tex4ht-jats.tex	2022-06-15 14:03:03 UTC (rev 1153)
@@ -161,6 +161,7 @@
 |<latex floats|>
 |<abstract|>
 |<latex tables|>
+|<latex footnotes|>
 >>>
 
 \section{Configurations for Memoir}
@@ -176,6 +177,7 @@
 |<latex sections|>
 |<latex floats|>
 |<latex tables|>
+|<latex footnotes|>
 >>>
 
 \<shared article,report\><<<
@@ -642,6 +644,18 @@
 }{}{}
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%
+\section{Footnotes}
+%%%%%%%%%%%%%%%%%%%%%
+
+\<latex footnotes\><<<
+\Configure{footnotemark}{\bgroup\NoFonts\HCode{<fn symbol="}\Configure{textsuperscript}{}{}}{\HCode{">}\EndNoFonts\egroup}
+% suppress footnote number in footnotext, it was already used in footnotemark
+\Configure{footnotetext}{\NoFonts\ShowPar\setbox0=\vbox\bgroup}
+{\egroup\EndNoFonts\SaveEndP\par\ShowPar\normalsize}% force new paragraph and normal font size
+{\EndP\RecallEndP\HCode{</fn>}}%
+>>>
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \chapter{Packages}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.