summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-07-03 21:53:50 +0000
committerKarl Berry <karl@freefriends.org>2022-07-03 21:53:50 +0000
commit8ea6d3f1b5089ae779b34b8e47768a28731f6274 (patch)
tree545c86c41cc03febf2ea43d9ff977075ad8c7c2f /Master/texmf-dist/tex
parent217c1e16d9b316f60167942777fd1aff14dea424 (diff)
\arrayrulecolor outside tabular, tex4ht r1165
git-svn-id: svn://tug.org/texlive/trunk@63804 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht12
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht b/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
index 5b954cc8ff1..50543a2b952 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/colortbl.4ht
@@ -1,6 +1,6 @@
-% colortbl.4ht (2021-05-06-14:12), generated from tex4ht-4ht.tex
+% colortbl.4ht (2022-07-03-14:21), generated from tex4ht-4ht.tex
% Copyright 1997-2009 Eitan M. Gurari
-% Copyright 2009-2021 TeX Users Group
+% Copyright 2009-2022 TeX Users Group
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2021-05-06-14:12}
+\immediate\write-1{version 2022-07-03-14:21}
\RequirePackage{xcolor}
@@ -99,7 +99,11 @@
\def\hline:color{000}
% save rule color in format usable in CSS
\newcommand\tmp:arrayrulecolor[2][named]{%
-\noalign{\convertcolorspec{#1}{#2}{HTML}\:tmp\global\let\hline:color\:tmp}%
+\ifvoid\@arstrutbox% test if we are inside a tabular environment
+\convertcolorspec{#1}{#2}{HTML}\:tmp\global\let\hline:color\:tmp% we are not
+\else%
+\noalign{\convertcolorspec{#1}{#2}{HTML}\:tmp\global\let\hline:color\:tmp}% we are
+\fi
}
\HLet\arrayrulecolor\tmp:arrayrulecolor
\def\convert:colorspec#1 #2 #3 #4{%