[tex4ht-commits] [SCM] tex4ht updated: r1525 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Tue May 28 14:07:12 CEST 2024
Author: michal_h21
Date: 2024-05-28 12:07:12 +0000 (Tue, 28 May 2024)
New Revision: 1525
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-4ht.tex
Log:
fixed footnote handling in jurabook
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2024-05-27 19:41:45 UTC (rev 1524)
+++ trunk/lit/ChangeLog 2024-05-28 12:07:12 UTC (rev 1525)
@@ -1,3 +1,9 @@
+2024-05-28 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (jurabook.4ht): fixed footnotes handling in
+ Jurabook.
+ https://github.com/michal-h21/make4ht/issues/148
+
2024-05-27 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-ooffice.tex (ooffice.4ht): added support for jurabook
Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex 2024-05-27 19:41:45 UTC (rev 1524)
+++ trunk/lit/tex4ht-4ht.tex 2024-05-28 12:07:12 UTC (rev 1525)
@@ -19235,6 +19235,7 @@
|<TeX4ht copywrite|>
|<jurabook subsections|>
|<jurabook toc|>
+|<jurabook footnotes|>
\Hinput{jurabook}
>>> \AddFile{9}{jurabook}
@@ -19317,6 +19318,24 @@
\Configure{tableofcontents*}{part,chapter,section,subsection,subsubsection,subthreesection,subfoursection,subfivesection,subsixsection,subsevensection,subeightsection}
>>>
+This code is a copy from jurabook.cls. It rewrites the default version used by
+Jurabook, which starts a list environment. This leads to HTML tag mismatches
+and is unnecessary in general.
+
+The \`'\@makefntext' command will be redefined again in book.4ht, so we don't need to
+insert TeX4ht hooks in this version.
+
+\<jurabook footnotes\><<<
+ \renewcommand{\@makefntext}[1]{%
+ \stepcounter{totalfootnotes}%
+ \renewcommand{\baselinestretch}{\@ne}% (nur) dieses hinzugefuegt fuer einzeilige Ausgabe
+ \parindent 1em%
+ \noindent%
+ \@infootnotetrue%
+ \hb at xt@1.8em{\hss\@makefnmark}#1%
+ \@infootnotefalse}
+>>>
+
%%%%%%%%%%%%%%%%%%%
\Chapter{letter}
%%%%%%%%%%%%%%%%%
More information about the tex4ht-commits
mailing list.