diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-11 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-11 03:03:26 +0000 |
commit | e4ccc7921b6518e670428990524161b3ddbfebd2 (patch) | |
tree | cc5e3d265c59f5f5031b2b085a4621d13f0b1af6 /support | |
parent | d8b5161942976a522cdb1a7b580fe3886eea6bc6 (diff) |
CTAN sync 202311110303
Diffstat (limited to 'support')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 22 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 10 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-html4.tex | 14 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-ooffice.tex | 4 |
4 files changed, 43 insertions, 7 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 07a08e9511..5d68063281 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,3 +1,25 @@ +2023-11-09 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-html4.tex (html4.4ht): better detection of the first row in + tables with the "p-width" option. + https://github.com/michal-h21/make4ht/issues/114 + +2023-11-06 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-4ht.tex (array.4ht,latex.4ht,revtex4.4ht): don't set array + spaces to zero. + https://puszcza.gnu.org.ua/bugs/?229 + +2023-11-03 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-ooffice.tex (ooffice.4ht): use \refname instead of \bibname + with the scrartcl class. + https://puszcza.gnu.org.ua/bugs/?172 + + * tex4ht-4ht.tex (latex.4ht): define \vrb:tt as \texttt. It was + originally \tt, but this command is deprecated in LaTeX. + https://puszcza.gnu.org.ua/bugs/?172 + 2023-11-02 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (tabu.4ht, usepackage.4ht): use Tabularx as a diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index 1b247dcdf9..beea54d732 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1403 2023-11-02 16:09:43Z michal_h21 $ +% $Id: tex4ht-4ht.tex 1406 2023-11-06 15:17:44Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2023 TeX Users Group @@ -9857,8 +9857,11 @@ problematic for leading lines of some, but not all, kinds. \tabcolsep|=\the\tabcolsep \noexpand\fi }% \fi -\arrayrulewidth|=\z@ \doublerulesep|=\z@ -\arraycolsep|=\z@ \tabcolsep|=\z@ +% why did we set these variables to zero? it leads to wrong spacing +% in pictures. +% https://puszcza.gnu.org.ua/bugs/?229 +% \arrayrulewidth|=\z@ \doublerulesep|=\z@ +% \arraycolsep|=\z@ \tabcolsep|=\z@ \Configure{MkHalign} {\@array:a}% {\@array:b\ProperTrTrue}% @@ -14498,6 +14501,7 @@ it failed me. \let\\\space% \toc:lbl:idx} \def\endMkHalign{\EndMkHalign} +\let\vrb:tt\texttt \def\:protect{\vrb:tt \let\protect|=\@unexpandable@protect \let\ref|=\o:ref \more:no diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex index c285ae3bed..fc0fe3bc74 100644 --- a/support/TeX4ht/source/tex4ht-html4.tex +++ b/support/TeX4ht/source/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1401 2023-11-01 11:17:59Z michal_h21 $ +% $Id: tex4ht-html4.tex 1407 2023-11-09 16:19:15Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -19990,9 +19990,19 @@ changes. \<configure html4 latex\><<< \:CheckOption{p-width} \if:Option + \HAssign\:hcolwidthtbl=0 + \gdef\:hcolwidthfirst{1} \ExplSyntaxOn \Configure{HColWidth} - {\ifnum\HRow=1% output CSS only on the first row, to prevent duplication + {% + % in some cases, the first \HRow is not 1, for example with \multicolumn + % see https://github.com/michal-h21/make4ht/issues/114 + % when we enter a new table, we will save the first row + \ifx\:hcolwidthtbl\TableNo\else + \global\let\:hcolwidthtbl=\TableNo + \global\let\:hcolwidthfirst=\HRow + \fi + \ifx\HRow\:hcolwidthfirst% output CSS only on the first row, to prevent duplication \tmp:dim=\fp_to_dim:n{\dim_to_fp:n{\HColWidth}/\f@size} \Css{\#TBL-\TableNo\space td:nth-child(\HCol)% CSS selects ID of the current table column {width:\strip@pt\tmp:dim em;}} diff --git a/support/TeX4ht/source/tex4ht-ooffice.tex b/support/TeX4ht/source/tex4ht-ooffice.tex index 5fd530f49b..8db74a7ac6 100644 --- a/support/TeX4ht/source/tex4ht-ooffice.tex +++ b/support/TeX4ht/source/tex4ht-ooffice.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-ooffice.tex 1393 2023-10-16 12:00:17Z michal_h21 $ +% $Id: tex4ht-ooffice.tex 1405 2023-11-03 10:47:49Z michal_h21 $ % compile 3 times: latex tex4ht-ooffice % htlatex tex4ht-ooffice "xhtml,4,sections+" % @@ -9319,7 +9319,7 @@ fn\the\c@footnote x\minipageNum |<scr subtitle|> |<scr abstract|> |<content styles|> -|<ooffice bib with bibname|> +|<ooffice bib with refname|> |<ooffice begin-end env|> |<basic scr ooffice sections|> |<basic ooffice section styles|> |