diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-26 22:07:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-26 22:07:17 +0000 |
commit | 0d5c28c878fabf8c6ac4e12cf34a106b2d0468b7 (patch) | |
tree | 6f9930f1eeed285b6dfcc34fcdfd9523e5d3238c /Master | |
parent | bf30694fc8daf987b98580deba4bb0b585c97410 (diff) |
\hline via css, tex4ht r986; omit dimension checking for \LT@start, tex4ht r987
git-svn-id: svn://tug.org/texlive/trunk@60623 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
5 files changed, 29 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 926216fe58e..45b3c47aef8 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,11 @@ +2021-09-26 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-html4.tex (html4.4ht): draw table lines in \hline using CSS. + https://puszcza.gnu.org.ua/bugs/?528 + * tex4ht-4ht.tex (longtable.4ht): redefine \LT@start to ommit box dimension + checking, as it can lead to compilation errors when table is too tall. + https://puszcza.gnu.org.ua/bugs/?527 + 2021-09-23 Michal Hoftich <michal.h21@gmail.com> * tex4ht-html4.tex (html4.4ht): removed invalid CSS declaration. diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex index ed4649929da..4df4f93e6cc 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 984 2021-09-22 10:29:30Z michal_h21 $ +% $Id: tex4ht-4ht.tex 987 2021-09-26 20:24:16Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2021 TeX Users Group @@ -9667,15 +9667,17 @@ longtable.sty\EndLink{ \tt|} \<longtable code\><<< \csname newbox\endcsname\LT:box \csname newbox\endcsname\LT:ebox -\let\:tempc\LT@start -\pend:def\:tempc{% +\def\:tempc{% \ifvoid\LT@head\else \ifvoid\LT@firsthead \global\setbox\LT@firsthead=\hbox{\box\LT@head}% \else \global\setbox\tmp:bx=\hbox{\box\LT@head}% - \fi\fi - \box\LT:box} + \fi\fi% + \box\LT:box% + \ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi\nobreak + \output{\LT@output} +} \HLet\LT@start\:tempc \let\:tempc\endlongtable \append:def\:tempc{\box\LT:ebox} diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index 75351d079ee..859ee361c59 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 985 2021-09-23 09:09:24Z michal_h21 $ +% $Id: tex4ht-html4.tex 986 2021-09-26 18:06:30Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -7643,6 +7643,7 @@ Currently, we either have empty \verb'\VBorder', or one defined to \Css{.hline hr, .cline hr{ height : 0px; margin:0px; }} \Css{.hline td, .cline td{ padding: 0; }} \Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}} +\Css{.hline {border-top: 1px solid black;}} >>> When \verb'\putVBorder' is call in \verb'\VBorder' diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index d98e6f30eba..f3210be06e6 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht @@ -1,4 +1,4 @@ -% html4.4ht (2021-09-23-13:52), generated from tex4ht-html4.tex +% html4.4ht (2021-09-26-14:16), generated from tex4ht-html4.tex % Copyright 2009-2021 TeX Users Group % Copyright 1997-2009 Eitan M. Gurari % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-09-23-13:52} +\immediate\write-1{version 2021-09-26-14:16} \exit:ifnot{8859-6,% CJK,% @@ -3063,6 +3063,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \Css{.hline hr, .cline hr{ height : 0px; margin:0px; }} \Css{.hline td, .cline td{ padding: 0; }} \Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}} +\Css{.hline {border-top: 1px solid black;}} \def\putVBorder{\expandafter\put:VBorder\VBorder</>!*?: } \def\put:VBorder#1</#2>#3!*?: {\def\:temp{#2}\ifx\:temp\empty \HCode{\VBorder}% @@ -20991,6 +20992,7 @@ Y{0178}\i{00EF}% \Css{.hline hr, .cline hr{ height : 0px; margin:0px; }} \Css{.hline td, .cline td{ padding: 0; }} \Css{.hline hr, .cline hr{border:none;border-top:1px solid black;}} +\Css{.hline {border-top: 1px solid black;}} \def\putVBorder{\expandafter\put:VBorder\VBorder</>!*?: } \def\put:VBorder#1</#2>#3!*?: {\def\:temp{#2}\ifx\:temp\empty \HCode{\VBorder}% diff --git a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht index 776e089e91d..3e9772e5488 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/longtable.4ht @@ -1,4 +1,4 @@ -% longtable.4ht (2021-06-13-08:46), generated from tex4ht-4ht.tex +% longtable.4ht (2021-09-26-14:15), generated from tex4ht-4ht.tex % Copyright 1997-2009 Eitan M. Gurari % Copyright 2009-2021 TeX Users Group % @@ -17,7 +17,7 @@ % % If you modify this program, changing the % version identification would be appreciated. -\immediate\write-1{version 2021-06-13-08:46} +\immediate\write-1{version 2021-09-26-14:15} \def\:tempc[#1]#2{% \gHAdvance\float:cnt 1 @@ -147,15 +147,17 @@ \NewConfigure{longtable}{6} \csname newbox\endcsname\LT:box \csname newbox\endcsname\LT:ebox -\let\:tempc\LT@start -\pend:def\:tempc{% +\def\:tempc{% \ifvoid\LT@head\else \ifvoid\LT@firsthead \global\setbox\LT@firsthead=\hbox{\box\LT@head}% \else \global\setbox\tmp:bx=\hbox{\box\LT@head}% - \fi\fi - \box\LT:box} + \fi\fi% + \box\LT:box% + \ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi\nobreak + \output{\LT@output} +} \HLet\LT@start\:tempc \let\:tempc\endlongtable \append:def\:tempc{\box\LT:ebox} |