From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77083 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: A problem with modes Date: Tue, 26 Jun 2012 22:40:39 +0200 Message-ID: <638FC521-7F77-4FCB-AE4C-87DB75808FC8@umich.edu> References: <20120626221211.327d57b7@aga-netbook> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340743253 28126 80.91.229.3 (26 Jun 2012 20:40:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 20:40:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 26 22:40:53 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 1SjcZA-0002uA-Bs for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jun 2012 22:40:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56AE4101FA; Tue, 26 Jun 2012 22:40:52 +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 0TS4GT5oZQQh; Tue, 26 Jun 2012 22:40:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4BF4101E8; Tue, 26 Jun 2012 22:40:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8AA60101E8 for ; Tue, 26 Jun 2012 22:40:49 +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 ka8B5F8sjhtF for ; Tue, 26 Jun 2012 22:40:48 +0200 (CEST) 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 8CC34101DD for ; Tue, 26 Jun 2012 22:40:48 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5QKekuv002417 for ; Tue, 26 Jun 2012 22:40:47 +0200 Original-Received: FROM [172.21.9.161] ((null) [193.52.216.7]) By hackers.mr.itd.umich.edu ID 4FEA1E48.D0B90.27866 ; Authuser adityam; 26 Jun 2012 16:40:41 EDT In-Reply-To: <20120626221211.327d57b7@aga-netbook> X-Mailer: iPad Mail (9B206) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NHr8EKxX - 20d6af2ac668 - 20120626 (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.13 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:77083 Archived-At: On 2012-06-26, at 10:12 PM, Marcin Borkowski wrote: > Hello, > > this doesn't work for me: > > \definestartstop[amode][before={\startmode[a]}, > after={\stopmode}] > > \starttext > > All modes. > \startamode > ``A'' mode. > \stopamode > > \stoptext > > Can I use \startmode with \definestartstop? Or is there a better way > to do something like this? > (Untested): try the \doifmodeelse version. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________