Repeating Headers for Tabulate not Working
Hello, I just looked up how to enable repeated headers in \starttabulate… \stoptabulate tables. It's explained here: http://wiki.contextgarden.net/Tabulate#Headers …but I am unable to make the minimal example work: \starttext \placetable[split,here][tab:ref]{Sometable} {\starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|] \HL \NC {\bf Animal} \NC {\bf Comment} \NC\FR \HL \dorecurse{50} {\NC Cat \NC Pretty cool \NC\MR} \NC Bear \NC Kind of lazy \NC\MR \NC Sheep \NC Always hungry \NC\MR \HL \stoptabulate} \stoptext Does that work for anyone else? What am I missing. Thank you, Malte.
Oops. Copy/pasted the wrong snippet. The minimal example looks like this:
\starttext
\setuptabulate[split=yes,header=repeat]
\starttabulatehead
\HL
\NC {\bf format char} \NC {\bf meaning} \NC \AR
\HL
\stoptabulatehead
\starttabulate[|r|l|]
\dorecurse{50}
{\NC c \NC centered \NC \AR
\NC l \NC left aligned \NC \AR
\NC r \NC right aligned \NC \AR}
\stoptabulate
\stoptext
My apologies.
Malte.
On 11/02/2013, at 4:09 PM, Malte Stien
Hello,
I just looked up how to enable repeated headers in \starttabulate… \stoptabulate tables. It's explained here:
http://wiki.contextgarden.net/Tabulate#Headers
…but I am unable to make the minimal example work:
\starttext \placetable[split,here][tab:ref]{Sometable} {\starttabulate[|w(.30\textwidth)p|w(.70\textwidth)p|] \HL \NC {\bf Animal} \NC {\bf Comment} \NC\FR \HL \dorecurse{50} {\NC Cat \NC Pretty cool \NC\MR} \NC Bear \NC Kind of lazy \NC\MR \NC Sheep \NC Always hungry \NC\MR \HL \stoptabulate} \stoptext
Does that work for anyone else? What am I missing.
Thank you, Malte.
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (1)
-
Malte Stien