From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27248 Path: news.gmane.org!not-for-mail From: Johannes Graumann Newsgroups: gmane.comp.tex.context Subject: Re: XML and Multipage table Date: Tue, 18 Apr 2006 22:46:19 -0700 Organization: Die Guten Message-ID: References: <443E0FF9.8010505@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145426167 2173 80.91.229.2 (19 Apr 2006 05:56:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2006 05:56:07 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 19 07:56:03 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FW5fQ-0002hV-PO for gctc-ntg-context-518@m.gmane.org; Wed, 19 Apr 2006 07:55:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 83D921279C; Wed, 19 Apr 2006 07:55:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32440-04; Wed, 19 Apr 2006 07:55:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6F4751277C; Wed, 19 Apr 2006 07:52:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 32D6B1277C for ; Wed, 19 Apr 2006 07:52:21 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32270-07 for ; Wed, 19 Apr 2006 07:52:19 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id 9EA2A12772 for ; Wed, 19 Apr 2006 07:52:19 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FW5bo-0002KZ-2M for ntg-context@ntg.nl; Wed, 19 Apr 2006 07:52:12 +0200 Original-Received: from iluvatar.caltech.edu ([131.215.35.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Apr 2006 07:52:12 +0200 Original-Received: from johannes_graumann by iluvatar.caltech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Apr 2006 07:52:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 104 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iluvatar.caltech.edu User-Agent: KNode/0.10.2 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27248 Archived-At: Hans Hagen wrote: > first of all, putting a \framed around it makes it unsplittable; best use > the framed options that come with the floats Ok. > second, there's a problem in signaling the splitter, which demands a patch Please excuse my ignorance: can I add these patches just to my *.ctx file or do I have to edit the actual distributed file? If the latter is true: is it (in the case of 'core-ntb') './tex/context/base/core-ntb.tex' or '/base/core-ntb.tex' that need to be edited? How about 'page-flt'? Do I have to edit './tex/context/base/page-flt.tex' or './base/page-flt.tex'? Do I have to call 'texexec --make' afterwards? Sorry for my novice-ness, Joh > > \unprotect > > % in core-ntb : we check the flag > > \def\splittblbox#1% > {\ifinsidesplitfloat > \donetrue > \else\ifinsidefloat > \donefalse > \else > \donetrue > \fi\fi > \ifdone > \executeifdefined{splittblbox\tbltblsplitmethod}\splittblboxa{#1}% > \else > \notsplittblbox{#1}% > \fi} > > % in page-flt : we add a flag > > \newif\ifinsidesplitfloat % will become chardef > > \def\dosplitfloat[#1]#2% nog dubbele refs > {\ifinsidecolumns % tzt ook nog figuren splitten > % not yet supported > \else > \bgroup > \insidefloattrue > \insidesplitfloattrue > \getparameters[\??si][#1]% > \resetnumber[\??si]% > \def\floatcaptionsuffix{\convertednumber[\??si]}% > \TABLEcaptionheight\@@silines\lineheight % brrr > \simplifypagebreak % \page becomes \goodbreak > \dowithnextbox > {\forgetall > \dontcomplain > \doloop > {\setbox2\vsplit\nextbox to \lineheight > \setbox2\vbox{\unvbox2} > \ifdim\ht2>\lineheight > \incrementnumber[\??si]% > \ifcase\rawnumber[\??si]\or \ifdim\nextboxht=\zeropoint > \let\floatcaptionsuffix\empty > \fi \fi > \bgroup > #2{\unvbox2} > \egroup > \ifdim\nextboxht>\zeropoint > \page > \decrementnumber[\floatcaptionnumber]% > \fi > \fi > \ifdim\nextboxht>\zeropoint\else > \expandafter\exitloop > \fi}% > \egroup} > \vbox > \fi} > > % beware: you need to set the splitmethod to b (boxed split) > > \starttext > > \splitfloat > {\placetable{test}} > {\bTABLE[split=repeat,splitmethod=b] > \dorecurse{100}{\bTR \bTD test \eTD \eTR} > \eTABLE} > > \stoptext > > this whole splitting has to be revised (although a two way singaling is > not that trivial here) > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com > | www.pragma-pod.nl > -----------------------------------------------------------------