[NTG-context] xtable question backgroundcolor
I have the following xmlsetup for a table and tablecell in xtable (plus other appropiate definitions): \startxmlsetups xmlcommon:table \startembeddedxtable[background=color,backgroundcolor=\xmlatt{#1}{bgcolor}] .. \startxmlsetups xmlcommon:td \startxcell[backgroundcolor=\xmlatt{#1}{bgcolor},] .. \stopxmlsetups and the following table: table bgcolor=orange tr td One /td td width=8cm Two /td /tr tr td bgcolor=yellow bThree/b /td td width=8cm Four /td /tr /table Then without the yellow on the cell the whole table colors its background orange. But with it only the given cell has yellow background, the others lose their orange. Is this as should be? Or is something wrong? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] xtable question
I have the following xmlsetup for a tablecell in xtable (plus other appropiate definitions): \startxmlsetups xmlcommon:td \startxcell[\doifnot{\xmlatt{#1}{width}}{\empty}{width={\xmlatt{#1}{width}}},] \xmlflush{#1} \stopxcell \stopxmlsetups and the following table: table tr td One /td td width=8cm Two /td /tr tr td bThree/b /td td width=8cm Four /td /tr /table Why isn't the width setting on the cells not honoured and is the following message appearing in the log: check missing or ungrouped '=' after '\doifnot {8cm}{}{width={8cm}}' Also I tried \expanded{startxcell..} but it made no difference. Neither does width={\xmlatt{#1}{width}} because the a broad setting results instead of a cell 8cm wide. How can I then accomplish the following parameter scheme? on td width=dimension the \startcellx[ takes width=dimension, on td the \startcellx does not take a width-paarameter. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___