From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6081 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Tabulate headers and footers Date: Sun, 11 Nov 2001 23:05:59 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <10510602171.20011111230559@bigfoot.com> References: <5.1.0.14.1.20011106121905.03785f20@server-1> <5.1.0.14.1.20011105180427.031363a8@server-1> <5.1.0.14.1.20011105180427.031363a8@server-1> <5.1.0.14.1.20011106121905.03785f20@server-1> <5.1.0.14.1.20011106162641.03795c58@server-1> Reply-To: Giuseppe Bilotta NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035396631 7247 80.91.224.250 (23 Oct 2002 18:10:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:10:31 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: <5.1.0.14.1.20011106162641.03795c58@server-1> Xref: main.gmane.org gmane.comp.tex.context:6081 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6081 Tuesday, November 06, 2001 Hans Hagen wrote: >>(Just brainstorming for some features I would really like to see >>--btw I noticed you added tabulate heads and foots: can barely >>wait to test them!) HH> Well, since you have a reasonable new version, you can pop this code HH> (cont-new.tex) HH> \def\fulltabulatecontent HH> {\ifx\tabulateheadcontent\empty\else HH> \TABLEnoalign{\global\settrue\tabulatesomeamble}% HH> \tabulateheadcontent HH> \TABLEnoalign{\global\setfalse\tabulatesomeamble}% HH> \fi HH> \tabulatecontent HH> \ifx\tabulatetailcontent\empty\else HH> \TABLEnoalign{\global\settrue\tabulatesomeamble}% HH> \tabulatetailcontent HH> \fi} HH> \def\checkfulltabulatecontent HH> {\doifdefinedelse{\??tt\currenttabulate\v!hoofd} HH> {\@EA\let\@EA\tabulateheadcontent HH> \csname\??tt\currenttabulate\v!hoofd\endcsname} HH> {\let\tabulateheadcontent\empty}% HH> \doifdefinedelse{\??tt\currenttabulate\v!voet} HH> {\@EA\let\@EA\tabulatetailcontent HH> \csname\??tt\currenttabulate\v!voet\endcsname} HH> {\let\tabulatetailcontent\empty}} Well, I suspect this is not enough ... I expected the header to be repeated at the beginning of each part of the tabulate, when it split across pages, but it is not so (it only appears in first page). Also, I thought I could use \starttabulatehead[test] \NC My tabulate head \NC is like this \NC \NR \stoptabulatehead \starttabulate[|l|l|][header=test] but this doesn't work. How do you select the head to use? And: isn't there a name inconsistency (head/header)? Also, maybe we should distinguish between head(er)/tail and "continuation head/tail", and provide a way to define the latter (extremely helpful when writing *long* tabulates, to allow the replication of the head row!). -- Giuseppe "Oblomov" Bilotta