From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79825 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: setuphead command changes? Date: Sun, 9 Dec 2012 09:41:27 +0100 Message-ID: <1C5816EE-F4D0-46B9-83FA-9E5BC33A984C@gmail.com> References: <20121209023519.13024df6zqf3x2on@webmail.caesar.elte.hu> 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="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355042497 9154 80.91.229.3 (9 Dec 2012 08:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2012 08:41:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 09 09:41:50 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 1ThcSM-0006J6-A3 for gctc-ntg-context-518@m.gmane.org; Sun, 09 Dec 2012 09:41:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7468C10208; Sun, 9 Dec 2012 09:41:37 +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 9o-Dmzi2CSYT; Sun, 9 Dec 2012 09:41:35 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 05158101FD; Sun, 9 Dec 2012 09:41:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B081C101FD for ; Sun, 9 Dec 2012 09:41:32 +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 xwMJ6qzdPWUs for ; Sun, 9 Dec 2012 09:41:31 +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 3994E101E9 for ; Sun, 9 Dec 2012 09:41:31 +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 qB98XeWw020496 for ; Sun, 9 Dec 2012 09:33:40 +0100 Original-Received: by mail-bk0-f41.google.com with SMTP id jg9so856741bkc.14 for ; Sun, 09 Dec 2012 00:41:30 -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 :content-transfer-encoding:message-id:references:to:x-mailer; bh=UKYdSj+5qTXDxfP0pqyKmj0PsL/lBy56eqseXFwIR0E=; b=Xier7KQd/y6wrcl47ni8TdhQAru7R0LwHMjgQvXQ9QYG0nVtvmQKWZbg7+qhbrn/5+ Na1zDDYCMaLo3srq1xQ+kO7UwI3CIXoJRkU/xGgKFMCiblTTr713bzGlfXXa/UVaxcYg gaNdUVJwwMh0GpH9Hsr9DQFL/UwBGGx3Gn6gDd4Mp1inyyOPFYZv4Q1oyKTmoG8o+HBB tMYuVNgWFYJkUSSSzEzqkwtPw2cnPlzlve7+G6gSgkHfEwxhbJqGJkpQppTf9f5s+1SC APriZjGV1O3/UW4OBmp1Ny0k6KFKN7foK6w3EW7JnArpjYAh1LFLAFTReH1S1496mK/4 8gHA== Original-Received: by 10.204.130.87 with SMTP id r23mr3301780bks.90.1355042489811; Sun, 09 Dec 2012 00:41:29 -0800 (PST) Original-Received: from keima.localdomain (nrbg-4dbf8ea5.pool.mediaWays.net. [77.191.142.165]) by mx.google.com with ESMTPS id f24sm11781948bkv.7.2012.12.09.00.41.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Dec 2012 00:41:29 -0800 (PST) In-Reply-To: <20121209023519.13024df6zqf3x2on@webmail.caesar.elte.hu> 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: 0WIxkxEzT - 0351622e4596 - 20121209 (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:79825 Archived-At: Am 09.12.2012 um 02:35 schrieb reviczky@caesar.elte.hu: > Hi, > = > The following minimal example works on live.contextgarden.net but with th= e latest beta the command parameter doesn't seem work (the "TEST" does not = appear in the margin). > = > \showframe > \starttext > \define[2]\cmd{\inmargin{TEST}} > \startsubject[title=3DTitle,command=3D\cmd] > \input knuth > \stopsubject > \stoptext > = > Can someone confirm this? You have to use =93alternative=3Dcommand=94 before you can apply a command: \define[2]\SubjectCommand {\inmargin{TEST}} \setuphead [subject] [alternative=3Dcommand, command=3D\SubjectCommand] \showframe \starttext \startsubject[title=3DTitle] \input knuth \stopsubject \stoptext When you want more control about the layout of your header use \defineheada= lternative to create it: \defineheadalternative [Subject] [alternative=3Dhorizontal, renderingsetup=3DSubject] \startsetups[Subject] \headsetupspacing \inmargin{TEST} \stopsetups \setuphead [subject] [alternative=3DSubject, distance=3D0pt] \showframe \starttext \startsubject[title=3DTitle]% \input knuth \stopsubject \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 ___________________________________________________________________________= ________