diff options
author | Norbert Preining <norbert@preining.info> | 2022-11-25 03:01:38 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-11-25 03:01:38 +0000 |
commit | 7f9bf70fd6cdeda88e8e41a4dae6eac9827bb04e (patch) | |
tree | 6506c04c4eb89dbc54dc7711d0757278b43adc00 /support | |
parent | 9fd2567e662537931678156942aff6f817aea63d (diff) |
CTAN sync 202211250301
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 14 | ||||
-rw-r--r-- | support/TeX4ht/source/mktex4ht-cnf.tex | 4 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 68 |
3 files changed, 84 insertions, 2 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 47acd72460..8de763410d 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,17 @@ +2022-11-22 Michal Hoftich <michal.h21@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@gmail.com> * tex4ht-4ht.tex (biblatex.4ht): removed spurious space from in text diff --git a/support/TeX4ht/source/mktex4ht-cnf.tex b/support/TeX4ht/source/mktex4ht-cnf.tex index 80aac32c78..6b5a059d66 100644 --- a/support/TeX4ht/source/mktex4ht-cnf.tex +++ b/support/TeX4ht/source/mktex4ht-cnf.tex @@ -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} diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index d7e023a132..9939950dab 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -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,17 +12343,26 @@ different. We should keep the separator selected by the user. \<caption redefine makecaption\><<< \long\def\@makecaption#1#2{% + |<fix continued float|>% \caption@make@above% \cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:% \caption@make@below% } \long\def\caption@makecaption#1#2{% + |<fix continued float|>% \caption@make@above% \cptA:\caption@@make{\cap:ref{#1}}{\cptC:#2}\cptD:% \caption@make@below% } >>> +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@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 @@ The above doesn't work always. Try % Copyright (C) |CopyYear.2008. Eitan M. Gurari % |<TeX4ht copyright|> |<config glossaries|> +|<index in glossary|> \Hinput{glossaries} \endinput >>> \AddFile{6}{glossaries} @@ -13066,6 +13076,18 @@ The above doesn't work always. Try \HLet\@gls@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 @@ This code fixes nameref support in Tcolorbox. >>> %%%%%%%%%%%%%%%%%%%%%%% +\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 @@ Use >>> \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} %%%%%%%%%%%%%%%%% |