From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63800 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Exist any table environment flag? Date: Sun, 21 Nov 2010 15:32:37 +0100 Message-ID: References: <4CE9277C.4080208@gyza.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290350007 2576 80.91.229.12 (21 Nov 2010 14:33:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 14:33:27 +0000 (UTC) To: hajtmar@gyza.cz, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 21 15:33:22 2010 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.69) (envelope-from ) id 1PKAyo-00006R-Mr for gctc-ntg-context-518@m.gmane.org; Sun, 21 Nov 2010 15:33:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05483CA84A; Sun, 21 Nov 2010 15:33:22 +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 ayqKk3WR9tGt; Sun, 21 Nov 2010 15:33:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5CFECA843; Sun, 21 Nov 2010 15:33:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 995E0CA843 for ; Sun, 21 Nov 2010 15:33:17 +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 MqskJW4qg+vP for ; Sun, 21 Nov 2010 15:33:15 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 3AD49CA834 for ; Sun, 21 Nov 2010 15:33:15 +0100 (CET) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oALEXESn013738 for ; Sun, 21 Nov 2010 15:33:14 +0100 Original-Received: by fxm20 with SMTP id 20so3974995fxm.14 for ; Sun, 21 Nov 2010 06:33:14 -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=CjlbjmRl9bXnRUIIHX4evoV0JPFq0K5vmunWiLAmltM=; b=WUZ4jM3lBwZJkC9Clteg+4Q8h21eR/Mqrls2HTrfVK/vvMN735xk2xpFe47SNOaPjv 9GjQFRC7cFao23s6h9t2iq1KxQ477yWrGqKv+HwV3kf+XuG6Qp1FEm5Ne8cI6yLVTe8P 8zfrylQYim08KXlTOxZhe+lEohJfNTDzesgDE= 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=NRZaiyjrEYFYFo90gCpAzmpxa50o3txy22v3+RgXdpVo6l13Hob+HRP17M7h9+hO9i MfIJ2HUYj9a6ZTfxHMc3WULy/NzLu+PEvzobTlOxChfdt6e98olW96fdVE8gED5miQqm +RkGGAF+aNow2a794s9hbkYtUbn/ocMQcwgMg= Original-Received: by 10.223.79.66 with SMTP id o2mr3187648fak.80.1290349993284; Sun, 21 Nov 2010 06:33:13 -0800 (PST) Original-Received: from [192.168.2.23] (p5B29618D.dip.t-dialin.net [91.41.97.141]) by mx.google.com with ESMTPS id p18sm1051935faa.16.2010.11.21.06.33.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 21 Nov 2010 06:33:12 -0800 (PST) In-Reply-To: <4CE9277C.4080208@gyza.cz> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 0bDxOxemm - 1bc91ed4e661 - 20101121 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:63800 Archived-At: Am 21.11.2010 um 15:06 schrieb Jaroslav Hajtmar: > Hello ConTeXist, > = > I want my macro to act differently inside \bTABLE ... \eTABLE environment= and otherwise outside of that environment. > Is there any sign (flag) which can determine whether my macro run inside = or outside the \bTABLE .. \eTABLE environment? > Or do I have two similar versions of my macros (one for the table environ= ment and the other for normal environment) \ifintable but this is not available for tabulate, another alternative is t= o use \iftrialtypesetting > Explanation: To my macro work, I must have already expanded values inside= table environment... In this case you have to expand the whole table before it=92s processed, e.= g. \bTABLE \bTR \expanded{\bTD ... \eTD} \eTR \eTABLE 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 ___________________________________________________________________________= ________