diff options
author | Karl Berry <karl@freefriends.org> | 2024-10-06 21:25:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-10-06 21:25:33 +0000 |
commit | fd786859f9dd33026b15b63e7ae826dd67d01c8c (patch) | |
tree | 9ce70aa75f94747c94c999fab140b6ae92fb85dc /Master/texmf-dist/tex | |
parent | d50c8f0cc2127805f433b0b65cf470291f9d7af6 (diff) |
colortbl \arrayrulecolor for vertical table lines, tex4ht r1575
git-svn-id: svn://tug.org/texlive/trunk@72480 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/html4.4ht | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht index 099866e4986..82c48eddfc3 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 (2024-10-03-13:41), generated from tex4ht-html4.tex +% html4.4ht (2024-10-06-14:09), generated from tex4ht-html4.tex % Copyright 2009-2024 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 2024-10-03-13:41} +\immediate\write-1{version 2024-10-06-14:09} \exit:ifnot{8859-6,% CJK,% @@ -3009,7 +3009,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% {} {\xdef\col:Css{\col:Css border-\ifnum \ar:cnt=0 left\else right\fi - :solid black 0.4pt;}% + :1px solid \VBorder:color;}% }{}{}% } {\ifx \col:Css\empty \else @@ -3107,6 +3107,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% \Configure{arrayparbox}{\ShowPar} \fi \let\VBorder\empty \let\AllColMargins\empty +\def\VBorder:color{black} \Configure{VBorder} {\let\VBorder\empty \let\AllColMargins\empty \global\let\GROUPS\empty \HAssign\NewGroup = 0 @@ -3116,10 +3117,10 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}% % put vertical border for a column \ifnum\ar:cnt > 0% % in all other cases, we should put right border - \Css{\#TBL-\TableNo-\ar:cnt {border-right:1px solid black;}}% + \Css{\#TBL-\TableNo-\ar:cnt {border-right:1px solid \VBorder:color;}}% \else% % columns are numbered from 1. if \ar:cnt == 0 then it is the left border - \Css{\#TBL-\TableNo-1{border-left: 1px solid black;}}% + \Css{\#TBL-\TableNo-1{border-left: 1px solid \VBorder:color;}}% \fi% } {\Advance:\NewGroup by 1 @@ -21041,7 +21042,7 @@ Y{0178}\i{00EF}% {} {\xdef\col:Css{\col:Css border-\ifnum \ar:cnt=0 left\else right\fi - :solid black 0.4pt;}% + :1px solid \VBorder:color;}% }{}{}% } {\ifx \col:Css\empty \else @@ -21139,6 +21140,7 @@ Y{0178}\i{00EF}% \Configure{arrayparbox}{\ShowPar} \fi \let\VBorder\empty \let\AllColMargins\empty +\def\VBorder:color{black} \Configure{VBorder} {\let\VBorder\empty \let\AllColMargins\empty \global\let\GROUPS\empty \HAssign\NewGroup = 0 @@ -21148,10 +21150,10 @@ Y{0178}\i{00EF}% % put vertical border for a column \ifnum\ar:cnt > 0% % in all other cases, we should put right border - \Css{\#TBL-\TableNo-\ar:cnt {border-right:1px solid black;}}% + \Css{\#TBL-\TableNo-\ar:cnt {border-right:1px solid \VBorder:color;}}% \else% % columns are numbered from 1. if \ar:cnt == 0 then it is the left border - \Css{\#TBL-\TableNo-1{border-left: 1px solid black;}}% + \Css{\#TBL-\TableNo-1{border-left: 1px solid \VBorder:color;}}% \fi% } {\Advance:\NewGroup by 1 @@ -29090,6 +29092,9 @@ Y{0178}\i{00EF}% % redefine default table configuration and put the color rule \def\a:HBorder{<tr class="hline" style="border-top:1px solid \#\hline:color">} + +% use the hline color also for vertial lines +\def\VBorder:color{\#\hline:color} % don't display <hr> elements in colored \hline \Css{tr.hline td hr{display:none}} |