summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-03 22:52:15 +0000
committerKarl Berry <karl@freefriends.org>2022-02-03 22:52:15 +0000
commit6f2783e78a0925832cf35909142cc1915ef4fc0e (patch)
tree32efcbf8e33ae5b4f386591fcde243cb2a030d60 /Master/texmf-dist/tex/generic
parent22ac7738597d89c48195687b6751b4bb88880c3f (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/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht26
1 files changed, 20 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index 66a4df7e14c..6b5d84d2400 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 (2022-02-02-14:04), generated from tex4ht-html4.tex
+% html4.4ht (2022-02-03-14:35), generated from tex4ht-html4.tex
% Copyright 2009-2022 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 2022-02-02-14:04}
+\immediate\write-1{version 2022-02-03-14:35}
\exit:ifnot{8859-6,%
CJK,%
@@ -3046,8 +3046,15 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
\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
@@ -20981,8 +20988,15 @@ Y{0178}\i{00EF}%
\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