texlive[71381] Master/texmf-dist: jurabook footnotes, tex4ht r1525;
commits+karl at tug.org
commits+karl at tug.org
Tue May 28 22:06:27 CEST 2024
Revision: 71381
https://tug.org/svn/texlive?view=revision&revision=71381
Author: karl
Date: 2024-05-28 22:06:27 +0200 (Tue, 28 May 2024)
Log Message:
-----------
jurabook footnotes, tex4ht r1525; jurabib->jurabook, tex4ht r1526
Revision Links:
--------------
https://tug.org/svn/texlive?view=revision&revision=1525
https://tug.org/svn/texlive?view=revision&revision=1526
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-05-28 19:28:05 UTC (rev 71380)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-05-28 20:06:27 UTC (rev 71381)
@@ -1,3 +1,12 @@
+2024-05-28 Michal Hoftich <michal.h21 at 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 at gmail.com>
* tex4ht-ooffice.tex (ooffice.4ht): added support for jurabook
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-05-28 19:28:05 UTC (rev 71380)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-05-28 20:06:27 UTC (rev 71381)
@@ -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 @@
|<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}
%%%%%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2024-05-28 19:28:05 UTC (rev 71380)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex 2024-05-28 20:06:27 UTC (rev 71381)
@@ -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 @@
\section{juramisc}
%%%%%%%%%%%%%%%%%%
-\<configure html4 jurabib\><<<
-|<jurabib sections|>
-|<jurabib toc|>
+\<configure html4 jurabook\><<<
+|<jurabook sections|>
+|<jurabook toc|>
>>>
\<configure html4 juraurtl\><<<
@@ -9056,7 +9056,7 @@
\<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 @@
\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}
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2024-05-28 19:28:05 UTC (rev 71380)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html4.4ht 2024-05-28 20:06:27 UTC (rev 71381)
@@ -1,4 +1,4 @@
-% html4.4ht (2024-05-27-13:00), generated from tex4ht-html4.tex
+% html4.4ht (2024-05-28-12:45), generated from tex4ht-html4.tex
% Copyright 2009-2024 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-05-27-13:00}
+\immediate\write-1{version 2024-05-28-12:45}
\exit:ifnot{8859-6,%
CJK,%
@@ -135,6 +135,7 @@
index,%
jeep,%
jurabib,%
+jurabook,%
koi8-r,%
latex,%
latin1,%
@@ -34160,11 +34161,65 @@
\endinput\empty\empty\empty\empty\empty\empty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \ConfigureHinput{jurabook}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \Configure{subthreesection}
+ {}{}
+ {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subthreesection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
+\ConfigureMark{subthreesection}{\HCode{<span class="titlemark">}\thesubthreesection\HCode{</span>}}
+\Configure{subfoursection}
+ {}{}
+ {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subfoursection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
+\ConfigureMark{subfoursection}{\HCode{<span class="titlemark">}\thesubfoursection\HCode{</span>}}
+\Configure{subfivesection}
+ {}{}
+ {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subfivesection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
+
+\ConfigureMark{subfivesection}{\HCode{<span class="titlemark">}\thesubfivesection\HCode{</span>}}
+
+\Configure{subsixsection}
+ {}{}
+ {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subsixsection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
+
+\ConfigureMark{subsixsection}{\HCode{<span class="titlemark">}\thesubsixsection\HCode{</span>}}
+
+
+\Configure{subsevensection}
+ {}{}
+ {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subsevensection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
+
+\ConfigureMark{subsevensection}{\HCode{<span class="titlemark">}\thesubsevensection\HCode{</span>}}
+
+
+\Configure{subeightsection}
+ {}{}
+ {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subeightsection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
+
+\ConfigureMark{subeightsection}{\HCode{<span class="titlemark">}\thesubeightsection\HCode{</span>}}
+
+\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}
+\def\tocsubsixsection#1#2#3{\par\toc:num{subsixsection}{#1}{#2}\par}
+\def\tocsubsevensection#1#2#3{\par\toc:num{subsevensection}{#1}{#2}\par}
+\def\tocsubeightsection#1#2#3{\par\toc:num{subeightsection}{#1}{#2}\par}
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\endinput\empty\empty\empty\empty\empty\empty
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{elsart}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\Configure{abstract}
@@ -35019,53 +35074,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ConfigureHinput{jurabib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \Configure{subthreesection}
- {}{}
- {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subthreesection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
-
-\ConfigureMark{subthreesection}{\HCode{<span class="titlemark">}\thesubthreesection\HCode{</span>}}
-
-\Configure{subfoursection}
- {}{}
- {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subfoursection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
-
-\ConfigureMark{subfoursection}{\HCode{<span class="titlemark">}\thesubfoursection\HCode{</span>}}
-
-\Configure{subfivesection}
- {}{}
- {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subfivesection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
-
-\ConfigureMark{subfivesection}{\HCode{<span class="titlemark">}\thesubfivesection\HCode{</span>}}
-
-\Configure{subsixsection}
- {}{}
- {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subsixsection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
-
-\ConfigureMark{subsixsection}{\HCode{<span class="titlemark">}\thesubsixsection\HCode{</span>}}
-
-
-\Configure{subsevensection}
- {}{}
- {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subsevensection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
-
-\ConfigureMark{subsevensection}{\HCode{<span class="titlemark">}\thesubsevensection\HCode{</span>}}
-
-
-\Configure{subeightsection}
- {}{}
- {\ifvmode\IgnorePar\fi\EndP\HCode{<h5 class="subeightsection">}\TitleMark\space} {\HCode{</h5>}\par\ShowPar}
-
-\ConfigureMark{subeightsection}{\HCode{<span class="titlemark">}\thesubeightsection\HCode{</span>}}
-
-\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}
-\def\tocsubsixsection#1#2#3{\par\toc:num{subsixsection}{#1}{#2}\par}
-\def\tocsubsevensection#1#2#3{\par\toc:num{subsevensection}{#1}{#2}\par}
-\def\tocsubeightsection#1#2#3{\par\toc:num{subeightsection}{#1}{#2}\par}
-
-
-\HAssign\jbancorDepth=0
+ \HAssign\jbancorDepth=0
\Configure{jblink}
{\HAdvance\jbancorDepth by 1 \Link}
{\EndLink \HAdvance\jbancorDepth by -1 }
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht 2024-05-28 19:28:05 UTC (rev 71380)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht 2024-05-28 20:06:27 UTC (rev 71381)
@@ -1,4 +1,4 @@
-% jurabook.4ht (2024-05-27-12:59), generated from tex4ht-4ht.tex
+% jurabook.4ht (2024-05-28-12:45), generated from tex4ht-4ht.tex
% Copyright 2024 TeX Users Group
% Copyright 2009-2024 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2024-05-27-12:59}
+\immediate\write-1{version 2024-05-28-12:45}
\let\no at subthreesection\subthreesection
\Def:Section\subthreesection{\ifnum \c:secnumdepth>\c at secnumdepth \else
@@ -72,5 +72,14 @@
\Configure{tableofcontents*}{part,chapter,section,subsection,subsubsection,subthreesection,subfoursection,subfivesection,subsixsection,subsevensection,subeightsection}
+ \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}
+
\Hinput{jurabook}
More information about the tex-live-commits
mailing list.