[tex4ht-commits] [SCM] tex4ht updated: r1323 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Wed Apr 12 16:01:17 CEST 2023
Author: michal_h21
Date: 2023-04-12 14:01:16 +0000 (Wed, 12 Apr 2023)
New Revision: 1323
Modified:
trunk/lit/ChangeLog
trunk/lit/mktex4ht-cnf.tex
trunk/lit/tex4ht-4ht.tex
trunk/lit/tex4ht-html4.tex
Log:
Added basic support for the enotez package
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2023-04-10 13:54:40 UTC (rev 1322)
+++ trunk/lit/ChangeLog 2023-04-12 14:01:16 UTC (rev 1323)
@@ -1,3 +1,10 @@
+2023-04-12 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (enotez.4ht),
+ * tex4ht-html4.tex (html4.4ht): added basic support for the Enotez
+ package.
+ https://tex.stackexchange.com/a/682624/2891
+
2023-04-10 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (longtable.4ht): fixed another \caption issue.
Modified: trunk/lit/mktex4ht-cnf.tex
===================================================================
--- trunk/lit/mktex4ht-cnf.tex 2023-04-10 13:54:40 UTC (rev 1322)
+++ trunk/lit/mktex4ht-cnf.tex 2023-04-12 14:01:16 UTC (rev 1323)
@@ -67,6 +67,7 @@
\AddFile{9}{footnotebackref}
\AddFile{9}{footnotebackref-hooks}
\AddFile{9}{pagenote}
+\AddFile{9}{enotez}
\AddFile{9}{floatrow}
\AddFile{9}{makeidx}
\AddFile{9}{splitidx}
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2023-04-10 13:54:40 UTC (rev 1322)
+++ trunk/lit/tex4ht-4ht.tex 2023-04-12 14:01:16 UTC (rev 1323)
@@ -12752,6 +12752,36 @@
>>>
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{enotez}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<enotez.4ht\><<<
+% enotez.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+|<enotez definitions|>
+\Hinput{enotez}
+\endinput
+>>> \AddFile{9}{enotez}
+
+
+\<enotez definitions\><<<
+\NewConfigure{enotezmark}{2}
+\NewConfigure{enotezback}{2}
+% patch commands that print note numbers, so we can add links
+\ExplSyntaxOn
+% \:currentnoteid contains the note number
+\protected\def\:tempa #1#2{\def\:currentnoteid{#1}\a:enotezmark\o:enotez_write_mark:nn:{#1}{#2}\b:enotezmark}
+\HLet\enotez_write_mark:nn\:tempa
+
+\protected\def\:tempa#1{\def\:currentnoteid{#1}\a:enotezback\o:enotez_write_list_number:n:{#1}\b:enotezback}
+\HLet\enotez_write_list_number:n\:tempa
+
+\ExplSyntaxOff
+>>>
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{floatrow.sty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2023-04-10 13:54:40 UTC (rev 1322)
+++ trunk/lit/tex4ht-html4.tex 2023-04-12 14:01:16 UTC (rev 1323)
@@ -5686,6 +5686,17 @@
>>>
%%%%%%%%%%%%%%%%%%%%%
+\subsection{enotez}
+%%%%%%%%%%%%%%%%%%%%%
+
+Add links and backlinks to pagenotes with the Enotez package
+
+\<configure html4 enotez\><<<
+\Configure{enotezmark}{\Link{enotez\:currentnoteid}{enotez-bk\:currentnoteid}}{\EndLink}
+\Configure{enotezback}{\Link{enotez-bk\:currentnoteid}{enotez\:currentnoteid}\HCode{<sup>}}{\HCode{</sup>}\EndLink}
+>>>
+
+%%%%%%%%%%%%%%%%%%%%%
\subsection{Wrapfig}
%%%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.