From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47087 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setuphead question Date: Thu, 29 Jan 2009 13:06:34 +0100 Message-ID: <115224fb0901290406s7869b8cdx9abe149d073522d5@mail.gmail.com> References: <326847810901290250i5e9b492dmca2815647b3493e4@mail.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: ger.gmane.org 1233230981 16558 80.91.229.12 (29 Jan 2009 12:09:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2009 12:09:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 29 13:10:53 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LSVjP-0003eG-EO for gctc-ntg-context-518@m.gmane.org; Thu, 29 Jan 2009 13:10:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 830ED1FCB0; Thu, 29 Jan 2009 13:09:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26650-06; Thu, 29 Jan 2009 13:07:57 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E0E91FC72; Thu, 29 Jan 2009 13:07:56 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 207C61FC72 for ; Thu, 29 Jan 2009 13:07:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31579-03 for ; Thu, 29 Jan 2009 13:06:47 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 2BBFC1FC36 for ; Thu, 29 Jan 2009 13:06:38 +0100 (CET) Original-Received: from mail-fx0-f16.google.com (mail-fx0-f16.google.com [209.85.220.16]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0TC6YRs006371 for ; Thu, 29 Jan 2009 13:06:37 +0100 Original-Received: by fxm9 with SMTP id 9so2141026fxm.2 for ; Thu, 29 Jan 2009 04:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rzyyx6zYLDh/RFzo8ZgcR/9DnZ+epbv/Qdpkuaz+HOQ=; b=KUC+e9CcbGFkkAt8fgfQwXuw7Im5Q5lWJxU+SiLze+doyF2zqx+fnVoLymYIaPsc3P uwGeiDYJvzXhH82MfuO1kwHs9qXhR+UDx03NsLdPI5Q9w22EvmgZduTAup+Pv3tR/8DZ g+7KLDwo1qevEE7jYvLJWij61OuY2fIPEj0LQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=LT7USkZvKGNC9nA/ehvxHNvzt/dJfa1zaSBLUnsPwTNza6vsuWKGTN7zKiMqNtza3s 5SvsVELRuyIQUG2+gviGObq9raCHWvmy3w3NmRcj4dfNkD2Jsa1VR1DVLD6whMEjpPoH LtEZNDPIB0biYpLbwv6ZM0M3us6IkaXGfOzb0= Original-Received: by 10.223.115.193 with SMTP id j1mr668345faq.98.1233230794111; Thu, 29 Jan 2009 04:06:34 -0800 (PST) In-Reply-To: <326847810901290250i5e9b492dmca2815647b3493e4@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.16; 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: 172221826 - 7b5a8e6ba7fe X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:47087 Archived-At: On Thu, Jan 29, 2009 at 11:50 AM, Alan Stone wrote: > ... how do you define myCommand so > > \setuphead[chapter] > [(any other parameter settings), > command=\myCommand, > (any other parameter settings)] > > is equal to > > \setuphead[chapter] > [(any other parameter settings), > command=, > (any other parameter settings)] > > i.e. with any other parameter settings remaining active. This is not possible because ConTeXt use the \normalplacehead command by default (even for "command=," as fallback) and this is where the align key is used, with your \myCommand this \normalplacehead is repleaced and the align key and many of the others are no longer used by ConTeXt. The best thing is to key that are used in higher level macros like style, color or \numbercommand and \textcommand because they act independent of the command key. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________