From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78718 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Fwd: Need help with \definetabulate Date: Tue, 16 Oct 2012 12:52:18 +0200 Message-ID: References: <976656BD-A09C-4FE4-92E0-C863BDC98DD0@stien.de> 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 1350384772 32203 80.91.229.3 (16 Oct 2012 10:52:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Oct 2012 10:52:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 16 12:52:59 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 1TO4lZ-00027p-8I for gctc-ntg-context-518@m.gmane.org; Tue, 16 Oct 2012 12:52:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A51B8101F4; Tue, 16 Oct 2012 12:52:45 +0200 (CEST) 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 KA-Tfg+CjBqs; Tue, 16 Oct 2012 12:52:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id EA863101F9; Tue, 16 Oct 2012 12:52:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B49F9101F9 for ; Tue, 16 Oct 2012 12:52:42 +0200 (CEST) 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 eYW0JNyZ6XJT for ; Tue, 16 Oct 2012 12:52:41 +0200 (CEST) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id D0278101F4 for ; Tue, 16 Oct 2012 12:52:41 +0200 (CEST) Original-Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9GAqdQ0003680 for ; Tue, 16 Oct 2012 12:52:40 +0200 Original-Received: by mail-ie0-f169.google.com with SMTP id 10so11857136ied.14 for ; Tue, 16 Oct 2012 03:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Ma+Nh5gOle/dJ6Cp6z7fPpdRH9t1b8QolE9KV1Kx1oI=; b=ihU7IWACHfY4l11kFquF//1WCU81nJRZLWPAnc2Un+g34nMl5SiMr6N0a/rNmdip2Y tB9iyAHTX2semQ2PaHHrv1mpjVPRnruj2mi42On8DzNeERK2u0wWC/PsakpmQftnRLhQ 8l/CHzXNxH9VqvVq8CaQeYI/oys3QAptatd/7EE4d1009AHCC+YwzWR5WcsIj341SkMG zP76pvhs7d+pT1VzV8X2+6ko+DGP35Phj9kYdfl9bfUzacbNXHz1UGU/PSVi7evlK1GK eN/jM0BEFxmLhW8K2sNjvkcRebsbfjlB92q5yeHn68uC+lMbGlP389+b/srSqOUGsvLW YXiQ== Original-Received: by 10.42.49.9 with SMTP id u9mr11085042icf.12.1350384759130; Tue, 16 Oct 2012 03:52:39 -0700 (PDT) Original-Received: by 10.64.31.67 with HTTP; Tue, 16 Oct 2012 03:52:18 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.223.169; 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: 04IbKQExj - ebb6511321b3 - 20121016 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:78718 Archived-At: The problem is that \starttabulate does not accept a format parameter. Cheap solution (only figured it out now, or I'd have replied before): use \setuptabulate[alpha][format={....}] before every \startalpha call. It's not very contexty syntax, but on the other hand it requires no new definitions at all. Full example below. Cheers, Sietse \definetabulate[alpha][|l|] % dummy format \setuptabulate[alpha][style=bold] \setuptabulate[alpha][format={|r|r|r|}] \startalpha \NC r \NC r \NC r \NC \NR \NC test \NC test \NC test \NC \NR \stopalpha \setuptabulate[alpha][format={|c|c|}] \startalpha \NC c \NC c \NC \NR \NC test \NC test \NC \NR \stopalpha ___________________________________________________________________________________ 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 ___________________________________________________________________________________