From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64233 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: \setuptyping and \type{} Date: Sat, 4 Dec 2010 20:59:48 +0200 Message-ID: <20101204185948.GA7116@khaled-laptop> References: <20101203093202.GA2159@khaled-laptop> <0D182700-AC4E-420A-9A83-F59DFA6CC66E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291489210 29305 80.91.229.12 (4 Dec 2010 19:00:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 19:00:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 04 20:00:06 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 1POxL4-0003ZF-45 for gctc-ntg-context-518@m.gmane.org; Sat, 04 Dec 2010 20:00:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCA48C9A8A; Sat, 4 Dec 2010 20:00:05 +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 yX5mrF3OfhPI; Sat, 4 Dec 2010 20:00:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F1A04CA88B; Sat, 4 Dec 2010 20:00:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B294DC9A8A for ; Sat, 4 Dec 2010 19:59:59 +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 ekE8QEAHNnZ4 for ; Sat, 4 Dec 2010 19:59:56 +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 54271CA88B for ; Sat, 4 Dec 2010 19:59:56 +0100 (CET) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB4IxtbE008523 for ; Sat, 4 Dec 2010 19:59:55 +0100 Original-Received: by wyj26 with SMTP id 26so3412252wyj.14 for ; Sat, 04 Dec 2010 10:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=Xd8oTsTd8Mr8X+G8SQDDHI+4nOrLXAT/g7TCnPXfWYM=; b=T/HSXOJoyQTsRJY+h8HfZWNDhVcGXCEL5UW4iUNsPb0xWYiBbLriM/qSgKeBNcV0yF c32EZBn6HAcP1KVbhInGqsSY/Or0Se9vBh78QNgaRLBAt5n5rSKcbNxq3hcxZM6gtjr8 MyCxQGLXr2LulIsQg8UWzmVXGFwvnJl4jv1m0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=ey0gxQ5bPvaMzdWOv7eCcpmeaUsWLqyqPLPLbRivlwMpYfYdcmHqNq04MNza9zb3oh 5QTqgKJjigJQlEzBZWvHxtRKgUUNCO4KKOweZ5Rqp3+UojbhWzs1qBuN01yxJyddIRFY z0io4ZtI5Z9Bpa9Vy8XXhce/mGsSHp6uJnTyg= Original-Received: by 10.227.127.66 with SMTP id f2mr3604577wbs.81.1291489194983; Sat, 04 Dec 2010 10:59:54 -0800 (PST) Original-Received: from localhost ([41.238.235.190]) by mx.google.com with ESMTPS id p4sm1529577wej.4.2010.12.04.10.59.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Dec 2010 10:59:54 -0800 (PST) Content-Disposition: inline In-Reply-To: <0D182700-AC4E-420A-9A83-F59DFA6CC66E@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.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: 0bDD6XTRp - 4ffce6edb6ac - 20101204 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:64233 Archived-At: On Fri, Dec 03, 2010 at 03:36:14PM +0100, Wolfgang Schuster wrote: > > Am 03.12.2010 um 10:32 schrieb Khaled Hosny: > > > Is there a way to setup insertion of some stuff before/after \type{}, > > tried \setuptyping but only works for \start/stoptyping. > > > > \setuptyping[before=\framed] > > You can try to convince Hans to add a command key to \setuptype, untill > then you can use this: > > \unexpanded\def\mytype{\groupedcommand{\setgroupedtype\inframed}{\relax}} > > \starttext > one \mytype{\two} three > \stoptext Thanks Wolfgang. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 ___________________________________________________________________________________