From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55089 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Table macro choices? Date: Sun, 6 Dec 2009 21:42:04 +0100 Message-ID: <44132437-F12F-4C08-B547-F01F9DE645EB@googlemail.com> References: <334EDAFA-BA7F-4FBB-9C32-C3628C8C00A1@enquora.com> <0D54D4B2-A93C-4B3D-BD8A-56696C4C5380@enquora.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260132155 5797 80.91.229.12 (6 Dec 2009 20:42:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 20:42:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 06 21:42:28 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NHNw4-0003ny-LQ for gctc-ntg-context-518@m.gmane.org; Sun, 06 Dec 2009 21:42:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EDB82C9BB3; Sun, 6 Dec 2009 21:42:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pf-sfgKmYCLU; Sun, 6 Dec 2009 21:42:27 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F0F4DC9BA5; Sun, 6 Dec 2009 21:42:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4BC8C9BA5 for ; Sun, 6 Dec 2009 21:42:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id iYpc2-tq7NYd for ; Sun, 6 Dec 2009 21:42:09 +0100 (CET) Original-Received: from mail-bw0-f220.google.com (mail-bw0-f220.google.com [209.85.218.220]) by balder.ntg.nl (Postfix) with ESMTP id 40F4BC9BA3 for ; Sun, 6 Dec 2009 21:42:09 +0100 (CET) Original-Received: by bwz20 with SMTP id 20so3016330bwz.34 for ; Sun, 06 Dec 2009 12:42:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=qdXbF0hGkFPe8bdMQZTeF8wKEiZx0bvqKZw4B5O4eao=; b=YSdd0KzTNExZACMIoTEIQCj40toCPFxz/5/ellrWq5Vn43peIzCeeyfhL9B3E+ZEct GyEGEyoQ94Rv/u4s+Yde7xrse/Jt5qPJfyRzHT/uBfRUn640jT0AFJ35xJjaJbIjwTnT JDkQidgbzvtFpVbKFkzBR3mQ7LS6dp0Wsj5i0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=mwuhFeA6WjS3M3ZQxOqM7TX+DV5YJmm9/RDBq7zDCawE883k7NFU3+OhP32ZoK69U5 QH9hzF5r1oT+V0MndaodzyPZAGqnn/xh/bDDfEjYtGdNnJMcrCGBE1lwRS5TmN2mUa6E U+BVEtPST9hbjP//+vGbW/bMBaGaxMl25qmHE= Original-Received: by 10.204.5.138 with SMTP id 10mr6108746bkv.110.1260132128732; Sun, 06 Dec 2009 12:42:08 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B295682.dip.t-dialin.net [91.41.86.130]) by mx.google.com with ESMTPS id 14sm1402726bwz.1.2009.12.06.12.42.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Dec 2009 12:42:07 -0800 (PST) In-Reply-To: <0D54D4B2-A93C-4B3D-BD8A-56696C4C5380@enquora.com> X-Mailer: Apple Mail (2.1077) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55089 Archived-At: Am 06.12.2009 um 03:53 schrieb Design Department: > The main point is that the tabular material runs from just a single to se= veral hundred rows and each page *must* contain both the header and footer = explanations associated with the table. Normally the pages are broken at a = fixed increment of rows depending on the type of data, usually 20 or 32 per= page, but other values are possible. For good measure, field technicians o= ften want a forced page break at an arbitrary row position. > = > Two of the table columns contain data which may wrap to multiple lines, a= s illustrated. > = > Is all this possible without writing a new tabular macro? I could get clo= se, but couldn't get the table footer repeating on every page or the forced= page breaks. That was using the TeXLive 2008 distribution. The best I can do. \setuppapersize[A4,landscape][A4,landscape] \setuptables[bodyfont=3D8pt] \initializeboxstack{table} \savebox{table}{footer}{\starttable[s0|l|l|l|l|l|l|] \NC Accept \NC \THREE No detectable indications at the time of inspection = \NC Reject \NC See remarks for explanation \NC\NR \NC BT \NC Burn-through \NC IP \NC Incomplete pene= tration \NC SHOTS \NC Number of shots taken \NC\NR \NC CR \NC Crack \NC IUC \NC Internal underc= ut \NC SIZE \NC Size of pipe \NC\NR \NC EP \NC Excessive penetration \NC LC \NC Low cover = \NC SOD \NC Source to object distance \NC\NR \NC EUC \NC External under-cut \NC LOF \NC Lack of fusion = \NC STAMP \NC Welder=92s stamp \NC\NR \NC EXP \NC Single or double wall exposure \NC MAT \NC Material being = inspected \NC TECH \NC Inspection technique \NC\NR \NC HB \NC Hollow bead \NC OFD \NC Object to film = distance \NC THICK \NC Thickness of tubular wall or component \NC\NR \NC HL \NC High/low \NC P \NC Porosity = \NC VIEW \NC Single Or Double wall viewing \NC\NR \NC IC \NC Internal concavity \NC S \NC Slag = \NC WT \NC Wall thickness \NC\NR \NC SZ \NC Component diameter or dimensions \NC SW \NC Single wall = \NC DW \NC Double wall \NC\NR \stoptable} \savebox{table}{header}{\input knuth } \starttext \splitfloat[lines=3D16,inbetween=3D\foundbox{table}{footer}\page,after=3D\f= oundbox{table}{footer}] {\foundbox{table}{header}} %{\placefigure[none]{}{\foundbox{table}{header}}} {\bTABLE[split=3Dyes] \dorecurse{100}{\bTR\bTD#1\eTD\bTD text \eTD\eTR} \eTABLE} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________