summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist')
-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
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht107
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht13
5 files changed, 104 insertions, 58 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}
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index c39563b9bd3..6ec46b9a628 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
@@ -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 @@ hyperref,%
index,%
jeep,%
jurabib,%
+jurabook,%
koi8-r,%
latex,%
latin1,%
@@ -34160,6 +34161,60 @@ description">}%
\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
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -35019,53 +35074,7 @@ description">}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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 }
diff --git a/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht b/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht
index fcdfe437847..91ab8574901 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/jurabook.4ht
@@ -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@subthreesection\subthreesection
\Def:Section\subthreesection{\ifnum \c:secnumdepth>\c@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@xt@1.8em{\hss\@makefnmark}#1%
+ \@infootnotefalse}
+
\Hinput{jurabook}