Date: Fri, Apr 25 2003 7:29 am Groups: comp.text.tex
> the colortbl package does not produce color along any > row that contains entries such as \d{o}, \b{o}
Sounds like a bug, but probably in something other than colortbl. Can you produce a minimal but complete demonstration file?
Donald Arseneau
Attaching below a minimal test file. colored rows; all other diacriticals, including the The problem is only with these two diacriticals. A black box (sometimes white) along the row results.
%%% %test file %%%% \documentclass{article} \usepackage{colortbl} \definecolor{xx}{cmyk}{.20,0,0,0} \begin{document} \begin{tabular}{l} \rowcolor{xx} colortbl works for all diacriticals except $\backslash$d \{o\}$ and $\backslash$b \{o\}\\ \rowcolor{xx}with \d{o} the row does not produce color\\ \rowcolor{xx} again \b{o} fails to produce colored row \rowcolor{xx}But, all other diacriticals \=a, \"a, \c{o}, \t{oo}, \H{o}, \v{o}, \u{o} give colored rows \end{tabular} \end{document}
P Narayanaswami
> As I wrote, the presence of either \d{o}, or > \b{o} in any row (where o is any character) fails to produce > colored rows;
It is a bug in colortbl. I had expected some accents were defined to use raw \halign without empying \everycr, but colortbl subverts \everycr to prevent it being emptied properly.
The comments in colortbl.dtx give no indication why \everycr has to be subverted instead of just set. Give it a try with this patch
\usepackage{colortbl} \makeatletter \let\everycr\CT@everycr % restore proper \g@addto@macro\CT@start{\CT@hookeverycr} \def\CT@hookeverycr{% \everycr{\noalign{\global\let\CT@row@color\relax}}% \def\everycr##1{\let\everycr\CT@everycr}} \makeatother
Donald Arseneau