From d4ae5d55b8e98c680a07b814195a714943d9ae72 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 28 May 2024 20:06:27 +0000 Subject: jurabook footnotes, tex4ht r1525; jurabib->jurabook, tex4ht r1526 git-svn-id: svn://tug.org/texlive/trunk@71381 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 9 +++++++++ .../texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 21 ++++++++++++++++++++- .../source/generic/tex4ht/tex4ht-html4.tex | 12 ++++++------ 3 files changed, 35 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/source') 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 + + * 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 * 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 | | | +| \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. + +\<<< + \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} %%%%%%%%%%%%%%%%%% -\<<< -| -| +\<<< +| +| >>> \<<< @@ -9056,7 +9056,7 @@ The hbox is for avoiding the start of a new paragraph, if in vmode. \<<< >>> -\<<< +\<<< \Configure{subthreesection} {}{} {\ifvmode\IgnorePar\fi\EndP\HCode{
}\TitleMark\space} {\HCode{
}\par\ShowPar} @@ -9096,7 +9096,7 @@ The hbox is for avoiding the start of a new paragraph, if in vmode. \ConfigureMark{subeightsection}{\HCode{}\thesubeightsection\HCode{}} >>> -\<<< +\<<< \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} -- cgit v1.2.3