diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-03 22:52:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-03 22:52:15 +0000 |
commit | 6f2783e78a0925832cf35909142cc1915ef4fc0e (patch) | |
tree | 32efcbf8e33ae5b4f386591fcde243cb2a030d60 /Master/texmf-dist/source/generic/tex4ht | |
parent | 22ac7738597d89c48195687b6751b4bb88880c3f (diff) |
vrules in tables, tex4ht r1071
git-svn-id: svn://tug.org/texlive/trunk@61869 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 | ||||
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 13 |
2 files changed, 16 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog index 02e00499db4..66b22e95bde 100644 --- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog +++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog @@ -1,3 +1,9 @@ +2022-02-03 Michal Hoftich <michal.h21@gmail.com> + + * tex4ht-html4.tex (html4.4ht): fixed support for vertical rules in + tables. + https://tug.org/pipermail/tex4ht/2022q1/003125.html + 2022-02-02 Michal Hoftich <michal.h21@gmail.com> * tex4ht-4ht.tex (tasks.4ht), diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index ed7402d9898..999d8887a17 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 1070 2022-02-02 22:04:53Z karl $ +% $Id: tex4ht-html4.tex 1071 2022-02-03 14:27:43Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -7625,8 +7625,15 @@ Currently, we either have empty \verb'\VBorder', or one defined to \gHAdvance\Next:TableNo by 1 \global\let\TableNo=\Next:TableNo } {\xdef\VBorder{\VBorder\ifnum \NewGroup> 0 </colgroup>\fi} \HAssign\NewGroup = 0 % \gdef\GROUPS{rules="groups"}} - \Css{\#TBL-\TableNo\space colgroup{border-left: 1px solid black;border-right:1px solid black;}} - \Css{\#TBL-\TableNo{border-collapse:collapse;}}} + % 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;}}% + \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;}}% + \fi% + } {\Advance:\NewGroup by 1 \ifnum \NewGroup=1 \xdef\VBorder{\VBorder<colgroup id="TBL-\TableNo-\ar:cnt g">}\fi |