From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79450 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: "Hiding" columns in m-database & TABLE Date: Thu, 22 Nov 2012 13:26:52 +0100 Message-ID: References: <20121122125702.2c1bc8ff@aga-netbook> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353587220 32123 80.91.229.3 (22 Nov 2012 12:27:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2012 12:27:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 22 13:27:10 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TbVs5-0005ql-Ep for gctc-ntg-context-518@m.gmane.org; Thu, 22 Nov 2012 13:27:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69F7A102CD; Thu, 22 Nov 2012 13:26:58 +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 tJX2UMmllNPl; Thu, 22 Nov 2012 13:26:56 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 23D0D102E9; Thu, 22 Nov 2012 13:26:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B3D93102E9 for ; Thu, 22 Nov 2012 13:26:54 +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 dQfWgqhoIuMB for ; Thu, 22 Nov 2012 13:26:53 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id C404F102CD for ; Thu, 22 Nov 2012 13:26:53 +0100 (CET) Original-Received: from mail-qa0-f41.google.com (mail-qa0-f41.google.com [209.85.216.41]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAMCQqIv019161 for ; Thu, 22 Nov 2012 13:26:53 +0100 Original-Received: by mail-qa0-f41.google.com with SMTP id c26so876551qad.14 for ; Thu, 22 Nov 2012 04:26:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Vj1cxUGevh9gADV7M4xBEdygZinA724B/WjsqCE5YgU=; b=pnnZZie5i8DJNdB5O8jkNNxEfETRPl/cNiYZY3y2twt7SOgVzw7Eqw2ZDkg1BYWmNt fMPbeabDF9d+A2JfLENyV/tmJdNmZSLHw2xICTuBYTVldVhGtbFBanb4QPnmsRGokqMN FmFnR2FknUXlw1VshzfTbguHlzGh7u/7EuJQ6LSzblQfBjpVdPNjfzzPGMIoOCa5UNhx Qv318KCQxE7Mja/KN4XQLp1CToRxNnS51nhIYEQGjT9NXhPiegwLgaG79TjB/giX195U VLZdOIVKsObnk0bB6uP4+X3c6XxjLqmFF905So7Eia5KRRtvvJPVWIm0Nxytfa58/w8J q83w== Original-Received: by 10.224.182.81 with SMTP id cb17mr1048449qab.78.1353587212160; Thu, 22 Nov 2012 04:26:52 -0800 (PST) Original-Received: by 10.49.61.36 with HTTP; Thu, 22 Nov 2012 04:26:52 -0800 (PST) In-Reply-To: <20121122125702.2c1bc8ff@aga-netbook> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NIqAqQ9o - 2f9610bbac31 - 20121122 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79450 Archived-At: On Thu, Nov 22, 2012 at 12:57 PM, Marcin Borkowski wrote: > le) in order to > typeset a (nice) TABLE. However, I have a few columns I'd like to > omit. I can (of course) hand-edit the csv file; but is there a way to > do it automatically? Something like > > \setupTABLE[column][3,4,5][kill] > > I did [empty=yes,width=0pt] in place of [kill], and it worked, but it > seems like a hack (and I don't know whether it does actually process > the cells I'm omitting - which in my case wouldn't bother me, but might > be an additional layer of inelegance;)). And better ideas? If you have up to 9 columns, you could use \def\ProcessingLine#1#2#3#4#5#6#7{% \bTR\bTD#1\eTD\bTD#2\eTD\bTD#6\eTD\bTD#7\eTD} and then [command=\ProcessingLine] Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________