ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* can't get table to work
@ 2005-04-10  3:19 Paul Tremblay
  2005-04-10  4:10 ` Steve Peter
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Tremblay @ 2005-04-10  3:19 UTC (permalink / raw)


I am trying to create a table with the middle cell merged vertically. I
am trying to draw bottom lines for the left and right columns:


Alabama    13.3     13.5
-------             -----
Alaska	   17.8      18.8

Here is my table:


\placetable[here][tab:insurance]{Percentage of People without health
insurance in US}
\starttable[|l w(30mm)|l|l|]
\HL
\VL State     \VL 3-year average(2001-2003) \VL 2-year average(2001-2002)  \VL\SR
\HL[4]
\VL Alabama   \VL 13.3                     \VL 13.5                        \VL\FR
\DL \DC \DL     \DR
\VL Alaska    \VL 17.8                     \VL 18.8                        \VL\MR
\HL
\VL Arizona   \VL 17.3                     \VL 16.9                        \VL\LR
\HL
\stoptable

\stoptext

I am getting the following error message:

! Extra alignment tab has been changed to \cr.
<template> \endtemplate 
                        
\!ttLongHrule ->\omit \span \omit \span 
                                        \!ttShortHrule 
\next ->&\normalTABLElongrule 
                              &
\complexTableDL ...handleTABLEerror \fi \fi \next 
                                                  \fi 
\complexorsimpleTable ...fi \c!Table #1\endcsname 
                                                  #2
l.14 \DL \DC \DL      \DR

What am I doing wrong? 

Thanks

Paul
                         

-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can't get table to work
  2005-04-10  3:19 can't get table to work Paul Tremblay
@ 2005-04-10  4:10 ` Steve Peter
  2005-04-10  8:18   ` Paul Tremblay
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Peter @ 2005-04-10  4:10 UTC (permalink / raw)



On Apr 9, 2005, at 11:19 PM, Paul Tremblay wrote:

> I am trying to create a table with the middle cell merged vertically. I
> am trying to draw bottom lines for the left and right columns:
>
> \placetable[here][tab:insurance]{Percentage of People without health
> insurance in US}
> \starttable[|l w(30mm)|l|l|]
> \HL
> \VL State     \VL 3-year average(2001-2003) \VL 2-year 
> average(2001-2002)  \VL\SR
> \HL[4]
> \VL Alabama   \VL 13.3                     \VL 13.5                    
>     \VL\FR
> \DL \DC \DL     \DR

The \DL has an explicit \DC in it, so the line should be:

\DL \DL \DR

Steve

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: can't get table to work
  2005-04-10  4:10 ` Steve Peter
@ 2005-04-10  8:18   ` Paul Tremblay
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Tremblay @ 2005-04-10  8:18 UTC (permalink / raw)


On Sun, Apr 10, 2005 at 12:10:26AM -0400, Steve Peter wrote:
> 
> The \DL has an explicit \DC in it, so the line should be:
> 
> \DL \DL \DR
> 

Thanks. That is what I guessed after I fiddled with the tables some
more.

Paul

-- 

************************
*Paul Tremblay         *
*phthenry@iglou.com    *
************************

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-10  8:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-10  3:19 can't get table to work Paul Tremblay
2005-04-10  4:10 ` Steve Peter
2005-04-10  8:18   ` Paul Tremblay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).