summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-05-28 20:06:27 +0000
committerKarl Berry <karl@freefriends.org>2024-05-28 20:06:27 +0000
commitd4ae5d55b8e98c680a07b814195a714943d9ae72 (patch)
tree617009644d8d0acc9d2d586e48b4c75c78f93be0 /Master/texmf-dist/source
parentfceabf93611659284bf05f1b2373e53bca700110 (diff)
jurabook footnotes, tex4ht r1525; jurabib->jurabook, tex4ht r1526
git-svn-id: svn://tug.org/texlive/trunk@71381 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog9
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex21
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex12
3 files changed, 35 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 25893abd258..6c8e2f74e4d 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,12 @@
+2024-05-28 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-html4.tex (html4.4ht): renamed jurabib cofigurations to
+ jurabook.
+
+ * 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@gmail.com>
* tex4ht-ooffice.tex (ooffice.4ht): added support for jurabook
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index a3c0c6c7fe1..a6a4a21a7a4 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1523 2024-05-27 14:16:04Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1525 2024-05-28 12:07:12Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -19235,6 +19235,7 @@ Classes in the Juramisc bundle
|<TeX4ht copywrite|>
|<jurabook subsections|>
|<jurabook toc|>
+|<jurabook footnotes|>
\Hinput{jurabook}
>>> \AddFile{9}{jurabook}
@@ -19317,6 +19318,24 @@ We need to include these sectionins in the TOC
\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@xt@1.8em{\hss\@makefnmark}#1%
+ \@infootnotefalse}
+>>>
+
%%%%%%%%%%%%%%%%%%%
\Chapter{letter}
%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index 0fc5fabe324..a2f3a577811 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1523 2024-05-27 14:16:04Z michal_h21 $
+% $Id: tex4ht-html4.tex 1526 2024-05-28 19:03:35Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -9045,9 +9045,9 @@ The hbox is for avoiding the start of a new paragraph, if in vmode.
\section{juramisc}
%%%%%%%%%%%%%%%%%%
-\<configure html4 jurabib\><<<
-|<jurabib sections|>
-|<jurabib toc|>
+\<configure html4 jurabook\><<<
+|<jurabook sections|>
+|<jurabook toc|>
>>>
\<configure html4 juraurtl\><<<
@@ -9056,7 +9056,7 @@ The hbox is for avoiding the start of a new paragraph, if in vmode.
\<configure html4 juraovw\><<<
>>>
-\<jurabib sections\><<<
+\<jurabook sections\><<<
\Configure{subthreesection}
{}{}
{\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subthreesection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
@@ -9096,7 +9096,7 @@ The hbox is for avoiding the start of a new paragraph, if in vmode.
\ConfigureMark{subeightsection}{\HCode{<span class="titlemark">}\thesubeightsection\HCode{</span>}}
>>>
-\<jurabib toc\><<<
+\<jurabook toc\><<<
\def\tocsubthreesection#1#2#3{\par\toc:num{subthreesection}{#1}{#2}\par}
\def\tocsubfoursection#1#2#3{\par\toc:num{subfoursection}{#1}{#2}\par}
\def\tocsubfivesection#1#2#3{\par\toc:num{subfivesection}{#1}{#2}\par}