From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63812 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: Re: Exist any table environment flag? Date: Mon, 22 Nov 2010 11:06:02 +0100 Message-ID: <4CEA408A.8000600@gyza.cz> References: <4CE9277C.4080208@gyza.cz> Reply-To: hajtmar@gyza.cz, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290420380 9280 80.91.229.12 (22 Nov 2010 10:06:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2010 10:06:20 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 22 11:06:16 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 1PKTHs-0000Om-4T for gctc-ntg-context-518@m.gmane.org; Mon, 22 Nov 2010 11:06:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B2FE1CA871; Mon, 22 Nov 2010 11:06:15 +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 lXkGCr686+LL; Mon, 22 Nov 2010 11:06:10 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6845ACA86A; Mon, 22 Nov 2010 11:06:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C83FECA86A for ; Mon, 22 Nov 2010 11:06:08 +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 0EfM+UzBcMl2 for ; Mon, 22 Nov 2010 11:06:03 +0100 (CET) Original-Received: from filter2-nij.mf.surf.net (filter2-nij.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id C2798CA852 for ; Mon, 22 Nov 2010 11:06:03 +0100 (CET) Original-Received: from psi2.forpsi.com (smtpa.forpsi.com [81.2.195.204]) by filter2-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id oAM9o7GI023566 for ; Mon, 22 Nov 2010 10:50:07 +0100 Original-Received: (qmail 13877 invoked by uid 89); 22 Nov 2010 10:06:01 -0000 Original-Received: from unknown (HELO ?192.168.1.60?) (hajtmar@gyza.cz@188.116.90.238) by psi02 with ESMTPA; 22 Nov 2010 10:06:01 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=81.2.195.204; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0aDy9O7nm - e7db72a9153b - 20101122 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:63812 Archived-At: Thanx Wolfgang! It works fine now ... it is great... I don't found (by google) any more information about \ifintable or = \iftrialtypesetting flags. Can I find anywhere more information about them? I have now still one similar question. Is there any flag which indicate = whether to use \expanded macro? I want to checked using the \expanded{} = macro as input parameter of my own macros. for example: \def\tbline{\expanded{\bTR\bTD \myfirstcolumn \eTD\eTR}} \mytablerow{\tbline} \def\mytablerow#1{ ... I want testing here, if #1 contain \expanded{} = macro ... } Thanx Jaroslav Dne 21.11.2010 15:32, Wolfgang Schuster napsal(a): > Am 21.11.2010 um 15:06 schrieb Jaroslav Hajtmar: > > = >> Hello ConTeXist, >> >> I want my macro to act differently inside \bTABLE ... \eTABLE environmen= t 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 enviro= nment and the other for normal environment) >> = > \ifintable but this is not available for tabulate, another alternative is= to use \iftrialtypesetting > > = >> Explanation: To my macro work, I must have already expanded values insid= e 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 ___________________________________________________________________________= ________