From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64184 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \setuptyping and \type{} Date: Fri, 3 Dec 2010 15:36:14 +0100 Message-ID: <0D182700-AC4E-420A-9A83-F59DFA6CC66E@gmail.com> References: <20101203093202.GA2159@khaled-laptop> 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 1291387893 12809 80.91.229.12 (3 Dec 2010 14:51:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Dec 2010 14:51:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 03 15:51:29 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 1POWyv-00048v-3p for gctc-ntg-context-518@m.gmane.org; Fri, 03 Dec 2010 15:51:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A50A5CA8A9; Fri, 3 Dec 2010 15:51:25 +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 ChFEyryi2YED; Fri, 3 Dec 2010 15:51:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 75A38CA8AD; Fri, 3 Dec 2010 15:50:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 30E88CA8A8 for ; Fri, 3 Dec 2010 15:50:29 +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 xiydmvzshJiS for ; Fri, 3 Dec 2010 15:50:27 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 4BD31CA89C for ; Fri, 3 Dec 2010 15:50:19 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB3EoEpf003044 for ; Fri, 3 Dec 2010 15:50:19 +0100 Original-Received: by mail-bw0-f41.google.com with SMTP id 16so9060474bwz.14 for ; Fri, 03 Dec 2010 06:50:18 -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=RLPGKZN06wqYmy/cD2noMogcr1PYHbmc0lRW4uBc1R0=; b=fTPElvwUGnIKvd36ru56wGMa1EhAGlYcPRVaOvkYtk/QL40YvysvX1Wx15H2/SwHnZ PsXiFSdXG9HdQe0loNBg7fAugsgmXwYGZ1lQZdF5t/32xgPXbFs+0E8WzR060SJnerhc 1BZiXKBCBDXZnsrzqnpIRAGL1Z/WkuafwpSds= 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=k1J4G7a6mwurJhokOSgXxIska+nNndpJ7CUfZL1H9DpwVQlIDYvzmSWlxyBxAKuUfu SPSg2bTgoYmwAK+ZlrNwmh6VL87PGkT0QI7Bja3mhtRJaLgrDZcjW9XKig765cBOtRAI q86debsVDv1dhB3ZuSvj6I8x8knNFrVUrhxng= Original-Received: by 10.204.113.142 with SMTP id a14mr2442110bkq.206.1291387815589; Fri, 03 Dec 2010 06:50:15 -0800 (PST) Original-Received: from [192.168.2.23] (p5B293B08.dip.t-dialin.net [91.41.59.8]) by mx.google.com with ESMTPS id a4sm114747bka.19.2010.12.03.06.50.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 03 Dec 2010 06:50:14 -0800 (PST) In-Reply-To: <20101203093202.GA2159@khaled-laptop> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 03DCCOilm - dad7ca289d48 - 20101203 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:64184 Archived-At: 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=3D\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 =84before=93 and =84after=93 keys are used only for environments to change the spacing (e.g. before=3D\blank) at the begin and end of a environment or to frame it (e.g. before=3D\startframedtext). 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 ___________________________________________________________________________= ________