texlive[65089] Master/texmf-dist: \ContinuedFloat fixes, tex4ht
commits+karl at tug.org
commits+karl at tug.org
Wed Nov 23 18:30:59 CET 2022
Revision: 65089
http://tug.org/svn/texlive?view=revision&revision=65089
Author: karl
Date: 2022-11-23 18:30:58 +0100 (Wed, 23 Nov 2022)
Log Message:
-----------
\ContinuedFloat fixes, tex4ht r1247; slashbox support, tex4ht r1248; tablefootnote support, tex4ht r1249
Revision Links:
--------------
http://tug.org/svn/texlive?view=revision&revision=1247
http://tug.org/svn/texlive?view=revision&revision=1248
http://tug.org/svn/texlive?view=revision&revision=1249
Modified Paths:
--------------
trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
Added Paths:
-----------
trunk/Master/texmf-dist/tex/generic/tex4ht/slashbox.4ht
trunk/Master/texmf-dist/tex/generic/tex4ht/tablefootnote.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-11-23 00:49:37 UTC (rev 65088)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2022-11-23 17:30:58 UTC (rev 65089)
@@ -1,3 +1,17 @@
+2022-11-22 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (tablefootnote.4ht): added basic support for the
+ Tablefootnote package.
+
+ * tex4ht-4ht.tex (slashbox.4ht): added basic support for the
+ Slashbox package.
+
+ * tex4ht-4ht.tex (glossaries.4ht): removed spurious tags from the
+ glossary.
+
+ * tex4ht-4ht.tex (caption.4ht): fixed support for the
+ \ContinuedFloat command.
+
2022-11-21 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-4ht.tex (biblatex.4ht): removed spurious space from in text
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex 2022-11-23 00:49:37 UTC (rev 65088)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex 2022-11-23 17:30:58 UTC (rev 65089)
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1241 2022-11-17 18:48:36Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1249 2022-11-22 16:53:24Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -308,6 +308,7 @@
\AddFile{9}{ProTex}
\AddFile{9}{th4}
\AddFile{9}{footmisc}
+\AddFile{9}{tablefootnote}
\AddFile{9}{writer}
\AddFile{9}{mdwlist}
\AddFile{9}{sverb}
@@ -372,6 +373,7 @@
\AddFile{9}{framed}
\AddFile{9}{mdframed}
\AddFile{9}{tcolorbox}
+\AddFile{9}{slashbox}
\AddFile{9}{parallel}
\AddFile{9}{skak}
\AddFile{9}{chessboard}
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-11-23 00:49:37 UTC (rev 65088)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2022-11-23 17:30:58 UTC (rev 65089)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1246 2022-11-21 21:00:44Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1249 2022-11-22 16:53:24Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -12343,11 +12343,13 @@
\<caption redefine makecaption\><<<
\long\def\@makecaption#1#2{%
+ |<fix continued float|>%
\caption at make@above%
\cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:%
\caption at make@below%
}
\long\def\caption at makecaption#1#2{%
+ |<fix continued float|>%
\caption at make@above%
\cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:%
\caption at make@below%
@@ -12354,6 +12356,13 @@
}
>>>
+This definition should fix support for the \''ContinedFloat' command.
+Without it, we can get an error message that the current float type
+is different than the one to be continued.
+
+\<fix continued float\><<<
+\xdef\continuedfloat at captype{\@captype}>>>
+
Caption's version of addcontentsline doesn't prevent expansion of macros, which
may lead to errors when for example \''\%' is used. The use of detokenize should
prevent this issue.
@@ -13039,6 +13048,7 @@
% Copyright (C) |CopyYear.2008. Eitan M. Gurari %
|<TeX4ht copyright|>
|<config glossaries|>
+|<index in glossary|>
\Hinput{glossaries}
\endinput
>>> \AddFile{6}{glossaries}
@@ -13066,6 +13076,18 @@
\HLet\@gls at removespaces\:tempc
>>>
+This should fix wrong handling of paragraphs in glossary.
+The problem is that extra paragraph is inserted
+when a new letter is started.
+
+\<index in glossary\><<<
+\Configure{@begin}{theglossary}{
+ \Configure{theindex}{}{}{}{}{}{}{}{}{}{}
+ \def\idx:item{\SaveEverypar\ht:everypar{}}
+ \let\end:theidx\empty
+}
+>>>
+
%%%%%%%%%%%%%%%%%%
\Section{Glossary}
%%%%%%%%%%%%%%%%%%
@@ -27933,6 +27955,27 @@
>>>
%%%%%%%%%%%%%%%%%%%%%%%
+\Section{slashbox}
+%%%%%%%%%%%%%%%%%%%%%%%
+\<slashbox.4ht\><<<
+% slashbox.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+|<slashbox config|>
+\Hinput{slashbox}
+\endinput
+>>> \AddFile{9}{slashbox}
+
+\<slashbox config\><<<
+\NewConfigure{slashbox}{2}
+\def\:tempa[#1][#2]#3#4{\a:slashbox\o:@@@slashbox:[#1][#2]{#3}{#4}\b:slashbox}
+
+\HLet\@@@slashbox\:tempa
+\Configure{slashbox}{\Picture+{}}{\EndPicture}
+>>>
+
+
+%%%%%%%%%%%%%%%%%%%%%%%
\Section{dvipsnam}
%%%%%%%%%%%%%%%%%%%%%%%
@@ -36139,6 +36182,29 @@
>>> \AddFile{9}{footmisc}
%%%%%%%%%%%%%%%
+\Section{tablefootnote}
+%%%%%%%%%%%%%%%%%
+
+\<tablefootnote.4ht\><<<
+% tablefootnote.4ht (|version), generated from |jobname.tex
+% Copyright 2022 TeX Users Group
+|<TeX4ht license text|>
+|<config tablefootnote|>
+\Hinput{tablefootnote}
+\endinput
+>>> \AddFile{9}{tablefootnote}
+
+The \''\tablefootnote| command tries to print list of footnotes
+at the end of a table where they were used. I haven't found
+a good way how to do this in TeX4ht, so we just use normal footnote
+instead.
+
+\<config tablefootnote\><<<
+\let\tablefootnote\footnote
+>>>
+
+
+%%%%%%%%%%%%%%%
\Section{Other}
%%%%%%%%%%%%%%%%%
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht 2022-11-23 00:49:37 UTC (rev 65088)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht 2022-11-23 17:30:58 UTC (rev 65089)
@@ -1,6 +1,6 @@
-% caption.4ht (2021-10-19-14:11), generated from tex4ht-4ht.tex
+% caption.4ht (2022-11-22-14:29), generated from tex4ht-4ht.tex
% Copyright 2007-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-10-19-14:11}
+\immediate\write-1{version 2022-11-22-14:29}
\let\sv:toclof\toclof
\def\toclof#1#2#3{%
@@ -46,11 +46,13 @@
}
\long\def\@makecaption#1#2{%
+ \xdef\continuedfloat at captype{\@captype}%
\caption at make@above%
\cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:%
\caption at make@below%
}
\long\def\caption at makecaption#1#2{%
+ \xdef\continuedfloat at captype{\@captype}%
\caption at make@above%
\cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:%
\caption at make@below%
Added: trunk/Master/texmf-dist/tex/generic/tex4ht/slashbox.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/slashbox.4ht (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/slashbox.4ht 2022-11-23 17:30:58 UTC (rev 65089)
@@ -0,0 +1,29 @@
+% slashbox.4ht (2022-11-22-14:29), generated from tex4ht-4ht.tex
+% Copyright 2022 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2022-11-22-14:29}
+
+\NewConfigure{slashbox}{2}
+\def\:tempa[#1][#2]#3#4{\a:slashbox\o:@@@slashbox:[#1][#2]{#3}{#4}\b:slashbox}
+
+\HLet\@@@slashbox\:tempa
+\Configure{slashbox}{\Picture+{}}{\EndPicture}
+
+\Hinput{slashbox}
+\endinput
+
Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/slashbox.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/generic/tex4ht/tablefootnote.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/tablefootnote.4ht (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/tablefootnote.4ht 2022-11-23 17:30:58 UTC (rev 65089)
@@ -0,0 +1,25 @@
+% tablefootnote.4ht (2022-11-22-14:29), generated from tex4ht-4ht.tex
+% Copyright 2022 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2022-11-22-14:29}
+
+\let\tablefootnote\footnote
+
+\Hinput{tablefootnote}
+\endinput
+
Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/tablefootnote.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht 2022-11-23 00:49:37 UTC (rev 65088)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht 2022-11-23 17:30:58 UTC (rev 65089)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2022-11-17-13:27), generated from tex4ht-4ht.tex
+% usepackage.4ht (2022-11-22-14:29), generated from tex4ht-4ht.tex
% Copyright 2003-2009 Eitan M. Gurari
% Copyright 2009-2022 TeX Users Group
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2022-11-17-13:27}
+\immediate\write-1{version 2022-11-22-14:29}
\def\:temp{tex4ht}\ifx \:temp\@currname
\:warning{\string\usepackage{tex4ht} again?}
More information about the tex-live-commits
mailing list.