From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77084 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: A problem with modes Date: Tue, 26 Jun 2012 22:44:40 +0200 Message-ID: <70832ED2-5CAF-4DAA-A29C-AEA77B9F7EA6@googlemail.com> References: <20120626221211.327d57b7@aga-netbook> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340743493 30083 80.91.229.3 (26 Jun 2012 20:44:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2012 20:44:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 26 22:44: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 1Sjccw-00081l-UM for gctc-ntg-context-518@m.gmane.org; Tue, 26 Jun 2012 22:44:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB571101FE; Tue, 26 Jun 2012 22:44:46 +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 71LDqP3PrzGN; Tue, 26 Jun 2012 22:44:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E7944101E8; Tue, 26 Jun 2012 22:44:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 253E5101E8 for ; Tue, 26 Jun 2012 22:44:43 +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 LECk-x2BulDT for ; Tue, 26 Jun 2012 22:44:41 +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 67815101DD for ; Tue, 26 Jun 2012 22:44:41 +0200 (CEST) Original-Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5QKieYA025552 for ; Tue, 26 Jun 2012 22:44:40 +0200 Original-Received: by wgbdt14 with SMTP id dt14so276060wgb.2 for ; Tue, 26 Jun 2012 13:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=SQtzwkbAqXTbbOYul1wPVfKxTyHF+gHdWuTLnJAOTn0=; b=TLmGgMkZqisHw1rTl75x9g8MlY7taFi1FeuC1o/FxIm28ZXTp54Yl16BM2lblCZnPl 9HXcS9SPrRznFfr7ojYVCCOdqvO1lG3SCDbJiV0IlucGmaL0FGv6QvucQmwmVT6TpWNL eAfsGcFt3ZWMlyE7saUvKPG9F7h3qc10Xa7lokPSXxW5JYYo4Nm6E8/AMCTFKIuZvUqk AnZ2l6rHZUbxEwuRJ+6hgkqucu9KPwQWVUCd1GCYMi1ChLlQH/iG6GaH7rwm/98Deq4B rA5dJoO0S0WXTb6UrDaCOkulsQ7YmkQ+rf5/7dePG0fMpTYOjxkk6SOdJBS6xnk1Z0VZ 9CEA== Original-Received: by 10.216.143.213 with SMTP id l63mr9367260wej.117.1340743480245; Tue, 26 Jun 2012 13:44:40 -0700 (PDT) Original-Received: from [192.168.2.36] (p54BAF620.dip.t-dialin.net. [84.186.246.32]) by mx.google.com with ESMTPS id n6sm11411748wie.7.2012.06.26.13.44.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 26 Jun 2012 13:44:39 -0700 (PDT) In-Reply-To: <20120626221211.327d57b7@aga-netbook> X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 0NHr8IE4c - b4fb223b8bf6 - 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:77084 Archived-At: Am 26.06.2012 um 22:12 schrieb Marcin Borkowski: > Hello, > = > this doesn't work for me: > = > \definestartstop[amode][before=3D{\startmode[a]}, > after=3D{\stopmode}] > = > \starttext > = > All modes. > \startamode > ``A'' mode. > \stopamode > = > \stoptext > = > Can I use \startmode with \definestartstop? No you can=92t. > Or is there a better way to do something like this? It depends on what you want to do. You can create a buffer command: \def\startamode{\grabbufferdata[amode][startamode][stopamode]} %\def\stopamode {\getbuffer[amode]} \starttext All modes. \startamode =93A=94 mode. \stopamode \stoptext or you use my annotation module: \usemodule[annotation] \defineannotation[amode][alternative=3Dtext] %\defineannotation[amode][alternative=3Dnone] \starttext All modes. \startamode =93A=94 mode. \stopamode \stoptext 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 ___________________________________________________________________________= ________