From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79780 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Q about hangaround commands Date: Thu, 6 Dec 2012 18:23:57 +0100 Message-ID: <3324E78C-2464-4150-B3DA-185545666BBD@gmail.com> References: <4571F63D-01DA-4FBA-9661-72581BDD1A51@gmail.com> <716B08DF-6EBB-49E9-A0A8-A8B9E6F42CFB@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354814652 4575 80.91.229.3 (6 Dec 2012 17:24:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2012 17:24:12 +0000 (UTC) Cc: Otared Kavian To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 06 18:24:24 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 1TgfBM-0002Fx-6J for gctc-ntg-context-518@m.gmane.org; Thu, 06 Dec 2012 18:24:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D2A01029C; Thu, 6 Dec 2012 18:24:07 +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 kIEHLyYjIBsK; Thu, 6 Dec 2012 18:24:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6460E1022B; Thu, 6 Dec 2012 18:24:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D4B821022B for ; Thu, 6 Dec 2012 18:24:02 +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 uz8H8EtKUMdp for ; Thu, 6 Dec 2012 18:24:02 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 1DBE610225 for ; Thu, 6 Dec 2012 18:24:01 +0100 (CET) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB6HGLSi000868 for ; Thu, 6 Dec 2012 18:16:22 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so3359332bkc.14 for ; Thu, 06 Dec 2012 09:24:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=sdI7lABjZDpTxqr2Klq7NHK7XolFpkI6U8EFXVY9ve8=; b=mLctRiR/lXeVsE9L1KT6UbObreCZ+XxMpyt7GS3kMn1hL8RBXXyjxbPGZXGEqEvp49 V+BclZy1ERCpNneH5UwgysqvPGvnolVRSj1HvOu9dKJuykf+im39MBCs9+I5TuZlgnng e9hkUTMdKFyUMDT7spHjbvk2zx28g8B/8TMRy/4EZRTA+f5kOmdDd3bMvJbb4r81zoY+ rDl0bRUQpqpoe0IgnSUtTGwE7Hh/EJFIsIZNCXcub23Vh4ou6zvv9hRxfyLkZ8z0ml1b lLqly6whyRBLJmJNjwaKCS46tvOnxsRcWPtvbmU4nQUBQLEqj9Cgo9sFs7qWMI0HCeFg iyXg== Original-Received: by 10.204.9.23 with SMTP id j23mr916608bkj.2.1354814640789; Thu, 06 Dec 2012 09:24:00 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4d07311d.pool.mediaWays.net. [77.7.49.29]) by mx.google.com with ESMTPS id c10sm7170693bkw.1.2012.12.06.09.23.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Dec 2012 09:24:00 -0800 (PST) In-Reply-To: <716B08DF-6EBB-49E9-A0A8-A8B9E6F42CFB@gmail.com> X-Mailer: Apple Mail (2.1499) 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: 0WIwhgmWF - 59e1ed3cce35 - 20121206 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79780 Archived-At: Am 06.12.2012 um 11:44 schrieb Otared Kavian : > Hi Mikael, > > The example given by Wolfgang works fine for me with mkii, but not in mkiv: probably something has changed in mkiv, for example the way [scale=500] must be used in mkiv. The definitions of commands/environments have changed in MkIV, as you can see in the following example there are differences between the MkII and MkIV version of the same command. \starttexcode \def\mkiiemphasized {\dosingleempty\domkiiemphasized} \def\domkiiemphasized[#1]#2% {\getrawparameters[mkiiemphasized][style=,color=,#1] \doattributes{mkiiemphasized}{style}{color}{#2}} \def\mkivemphasized {\dosingleempty\mkivemphasized_direct} \def\mkivemphasized_direct[#1]#2% {\begingroup \getdummyparameters[#1]% \usedummystyleandcolor\c!style\c!color #2% \endgroup} \stoptexcode \starttext \mkiiemphasized[style=bold,color=green]{\MKII} \mkivemphasized[style=italic,color=red]{\MKIV} \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________