[NTG-context] Natural table header mystery.

Peter Rolf indiego at gmx.net
Wed Feb 21 00:52:14 CET 2007


Hi John,

John R. Culleton wrote:
> The table runs ok with the headers omitted. There are 8 columns. But 
> when I add these headers it gives me an error. Here are the headers:
> -------------------------------------------------------------------------------------
> \bTABLEhead
> \bTR
> \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD 
> \bTD \eTD \bTD \eTD \bTD \eTD \bTD \eTD 
> \eTR
> \bTR %% ROW 1
> \bTD
> \bTD[nc=2,nr=3]  BUY SIGNAL  \eTD
> \bTD [nc=2 nr=3]   SELL SIGNAL  \eTD
> \bTD [nr=3]   \eTD
> \bTD  [nr=3]\$100,000  \eTD
> \bTD  [nc=2,nr=3]FULLY INVESTED AT ALL TIMES (BUY \& HOLD)  \eTD
> \eTR
> \eTABLEhead

see

http://wiki.contextgarden.net/TABLE#Multipage_TABLEs

Every head column is enclosed by a \bTH .. \eTH pair.


Greetings, Peter

> -----------------------------------------------------
> And here is the error message, relating to a nonexistent (in my 
> code) } character.
> --------------------------------------------------------------------------------
> ! Argument of \parseTD has an extra }.
> <inserted text>
>                 \par
> <to be read again>
>                    }
> \handleTBLcell ...\bTBLCELL \TBLcharalign {#2}{#4}
>                                                   \eTBLCELL \inTBLcell 
> {#1}{...
> <inserted text> ...ow \begintblrow \makeTBL {2}{1}
>                                                   \nexttblcol \makeTBL 
> {2}{2...
> 
> \endTBL ...x {\trialtypesettingtrue \the \tbltoks
>                                                   }\settbldis 
> \maximumcol {\...
> 
> \eTABLE ...}}\eTBL }\removeunwantedspaces \endTBL
>                                                   \stopTBLprocessing 
> \fi \eg...
> l.1197 \eTABLE
> ---------------------------------------------------------------------
> I could reproduce the entire table but it is hundreds of lines. 
> 
> 
> 



More information about the ntg-context mailing list