From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11574 Path: main.gmane.org!not-for-mail From: Simon Pepping Newsgroups: gmane.comp.tex.context Subject: Re: table page breaking Date: Fri, 21 Mar 2003 22:47:17 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20030321214717.GA3794@scaprea> References: <20030319195937.GA3970@miwie.in-berlin.de> <5.1.0.14.1.20030320104338.0386ead0@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048283451 7028 80.91.224.249 (21 Mar 2003 21:50:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 21:50:51 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Mar 21 22:50:49 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18wUPZ-0001pE-00 for ; Fri, 21 Mar 2003 22:50:49 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 9C58210AF9; Fri, 21 Mar 2003 22:50:55 +0100 (MET) Original-Received: from hgatenl.hobby.nl (ns.hobby.nl [212.72.224.8]) by ref.ntg.nl (Postfix) with ESMTP id F21A210AB6 for ; Fri, 21 Mar 2003 22:48:44 +0100 (MET) Original-Received: from hgatenl.hobby.nl (localhost [127.0.0.1]) by hgatenl.hobby.nl (8.12.6/8.12.2) with ESMTP id h2LLmjCl033237 for ; Fri, 21 Mar 2003 22:48:45 +0100 (CET) (envelope-from spepping@scaprea.hobby.nl) Original-Received: (from uucp@localhost) by hgatenl.hobby.nl (8.12.6/8.12.2/Submit) with UUCP id h2LLmjQj033236 for ntg-context@ntg.nl; Fri, 21 Mar 2003 22:48:45 +0100 (CET) Original-Received: from simon by scaprea.salix.nl with local (Exim 3.35 #1 (Debian)) id 18wUMA-00011h-00; Fri, 21 Mar 2003 22:47:18 +0100 Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <5.1.0.14.1.20030320104338.0386ead0@server-1> User-Agent: Mutt/1.3.28i Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11574 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11574 On Thu, Mar 20, 2003 at 10:44:23AM +0100, Hans Hagen wrote: > tabulate will break > > table will break when asked for > > bTABLE will break when split=yes > > linetables will break horizontally and vertically The option \setupTABLE[split=yes] causes errors in DocbookInContext. The revision history gives an error, tables in the body do not obey this option. The error in the revision history is as follows: ! Missing } inserted. } \halign \begintbl ... \rowTBL \tabskip \zeropoint \halign \bgroup \registerparoption... \begintbl \begintblrow \makeTBL {1}{1}\nexttblcol \makeTBL {... \endTBL ...tblbox \scratchbox \else \the \tbltoks \fi \else \vbox {\the \tbl... \eTABLE ...{\doTBL {\row }{\col }}}\eTBL }\endTBL \egroup \egroup \popTBL l.52 \eTABLE \egroup ? x The following file mimics what happens when the revision history is processed, and generates the same error: \setupTABLE[split=yes] \starttext \section{One} Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. Some text to continue with. \unprotect \def\??xmldb {xmldb} \def\??xmldbrevhist {\??xmldb rvh} \setvalue{\??xmldbrevhist date}{Date} \setvalue{\??xmldbrevhist authorinitials}{Author} \setvalue{\??xmldbrevhist revnumber}{Revision} \setvalue{\??xmldbrevhist revremark}{Remark} \setvalue{\??xmldbrevhist revdescription}{Description} \def\XMLDBenvironmentSaveElement#1% {\@EA\gdef\csname XMLDBused!#1\endcsname{1}} \def\XMLDBElementList{revnumber,date,authorinitials,revremark,revdescription} \processcommacommand[revnumber,date,authorinitials]\XMLDBenvironmentSaveElement \def\XMLDBshowElementTH#1{% \@EA\ifx\csname XMLDBused!#1\endcsname\relax\else \bTH\getvalue{\??xmldbrevhist #1}\eTH \doglobal\addtocommalist{#1}\XMLDBElementsUsed \fi } \def\XMLDBshowElementTD#1{% \safeexpanded{\bTD \ignorespaces \csname #1:data\endcsname}\eTD} \gdef\XMLDBElementsUsed{}% \midaligned\bgroup \setupTABLE[frame=off] \setupTABLE[row][first][topframe=on] \setupTABLE[row][first,last][bottomframe=on] \bTABLE % typeset header and construct the list of elements used \bTR\processcommacommand[\XMLDBElementList]\XMLDBshowElementTH\eTR % process content second pass \setvalue{revnumber:data}{0.5} \setvalue{date:data}{21 March 2003} \setvalue{authorinitials:data}{SP} \bTR\processcommacommand[\XMLDBElementsUsed]\XMLDBshowElementTD\eTR \XMLflush{revhistory}% \eTABLE\egroup \protect \stoptext Regards, Simon -- Simon Pepping email: spepping@scaprea.hobby.nl