summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-04-10 22:39:54 +0000
committerKarl Berry <karl@freefriends.org>2023-04-10 22:39:54 +0000
commitc9cadc2376bc11c174fedd51cc7559b4273de430 (patch)
tree1fe66e4134a094c0c955097756516a0268220cc8 /Master/texmf-dist/source
parent3fda135732e5a7ae2d5b2beab1c6595fddbf05ae (diff)
call \@endpart after \part, tex4ht r1321; longtable caption fix, tex4ht r1322
git-svn-id: svn://tug.org/texlive/trunk@66823 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog13
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex41
2 files changed, 41 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index bf51d9bae75..1c44cdae8c3 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,16 @@
+2023-04-10 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (longtable.4ht): fixed another \caption issue.
+ https://tex.stackexchange.com/q/682383/2891
+
+ * tex4ht-4ht.tex (
+ aa.4ht, acm_proc_article-sp.4ht, article.4ht, book.4ht,
+ JHEP.4ht, report.4ht, revtex4.4ht, scrbook.4ht, scrbook.4ht,
+ scrreprt.4ht, scrreprt.4ht
+ ): call \@endpart after contents of \part were printed.
+ https://tex.stackexchange.com/a/682376/2891
+
+
2023-04-08 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-html4.tex (html4.4ht): show next paragraph after footnote
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index f1aa1c341d6..ad61bdcdf2d 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 1318 2023-04-06 09:30:00Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1322 2023-04-10 13:54:40Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -10553,7 +10553,8 @@ normal code for caption will not work.
\NewConfigure{longtablecaption}{4}
\def\:tempc#1#2#3{%
\a:longtablecaption #1{\cap:ref{#2}}\if\relax\detokenize{#1}\relax\else\b:longtablecaption\fi\c:longtablecaption#3\d:longtablecaption
- \endgraf\vskip\baselineskip}
+ \endgraf%\vskip\baselineskip <- this caused error in https://tex.stackexchange.com/q/682383/2891
+ }
\HLet\LT@makecaption\:tempc
>>>
@@ -15614,7 +15615,7 @@ CAN'T, e.g., :
\else
\addcontentsline{toc}{part}{#1}%
\fi
- \csname @endpart\endcsname}
+ }
>>>
The \''\@endpart' is not defined for \`'article' class.
@@ -15629,7 +15630,9 @@ The above is LaTeX's def without the output of titles.
\let\no@part|=\@part
\def\@part[#1]#2{%
{\let\addcontentsline|=\:gobbleIII\no@part[#1]{}}%
- \HtmlEnv \Toc:Title{#1}\:part{#2}}
+ \HtmlEnv \Toc:Title{#1}\:part{#2}%
+ \csname @endpart\endcsname%
+ }
>>>
\<html late parts\><<<
@@ -17030,7 +17033,7 @@ titleref command.
\else
\addcontentsline{toc}{part}{#1}%
\fi
- \csname @endpart\endcsname}
+ }
\let\:tempb\part
\Def:Section\part{\thepart}{#1}
\let\:part\part
@@ -17038,14 +17041,18 @@ titleref command.
\let\no@part\@part
\def\@part[#1]#2{%
{\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
- \HtmlEnv \Toc:Title{#1}\:part{#2}}
+ \HtmlEnv \Toc:Title{#1}\:part{#2}%
+ \csname @endpart\endcsname%
+ }
\Def:Section\likepart{}{#1}
\let\:likepart\likepart
\let\likepart\:UnDef
\let\no@spart\@spart
\def\@spart#1{%
{\let\addcontentsline\:gobbleIII\no@spart{}}%
- \HtmlEnv \:likepart{#1}}
+ \HtmlEnv \:likepart{#1}%
+ \csname @endpart\endcsname%
+ }
\let\no@section\section
\Def:Section\section{\ifnum \c:secnumdepth>\c@secnumdepth \else
@@ -18484,7 +18491,7 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes
\else
\addcontentsline{toc}{part}{#1}%
\fi
- \csname @endpart\endcsname}
+ }
\let\:tempb\part
\Def:Section\part{\thepart}{#1}
\let\:part\part
@@ -18492,14 +18499,18 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes
\let\no@part\@part
\def\@part[#1]#2{%
{\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
- \HtmlEnv \Toc:Title{#1}\:part{#2}}
+ \HtmlEnv \Toc:Title{#1}\:part{#2}%
+ \csname @endpart\endcsname%
+ }
\Def:Section\likepart{}{#1}
\let\:likepart\likepart
\let\likepart\:UnDef
\let\no@spart\@spart
\def\@spart#1{%
{\let\addcontentsline\:gobbleIII\no@spart{}}%
- \HtmlEnv \:likepart{#1}}
+ \HtmlEnv \:likepart{#1}%
+ \csname @endpart\endcsname%
+ }
\fi
\ifx \section\:UnDef\else
@@ -18669,7 +18680,7 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes
\else
\addcontentsline{toc}{part}{#1}%
\fi
- \csname @endpart\endcsname}
+ }
\let\:tempb\part
\Def:Section\part{\thepart}{#1}
\let\:part\part
@@ -18677,14 +18688,18 @@ TeX4ht now loads before class files. We reuse the code used in Koma classes
\let\no@part\@part
\def\@part[#1]#2{%
{\let\addcontentsline\:gobbleIII\no@part[#1]{}}%
- \HtmlEnv \Toc:Title{#1}\:part{#2}}
+ \HtmlEnv \Toc:Title{#1}\:part{#2}%
+ \csname @endpart\endcsname%
+ }
\Def:Section\likepart{}{#1}
\let\:likepart\likepart
\let\likepart\:UnDef
\let\no@spart\@spart
\def\@spart#1{%
{\let\addcontentsline\:gobbleIII\no@spart{}}%
- \HtmlEnv \:likepart{#1}}
+ \HtmlEnv \:likepart{#1}%
+ \csname @endpart\endcsname%
+ }
\fi
\ifx \section\:UnDef\else