From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68799 Path: news.gmane.org!not-for-mail From: Mathieu DUPONT Newsgroups: gmane.comp.tex.context Subject: Re: Modifying the header of a Register : \setuphead or \setupregister not working Date: Fri, 27 May 2011 15:41:52 -0400 Message-ID: References: , <73C1E170-C4E4-4C02-AC81-E6BE2C1BE86C@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0089554859==" X-Trace: dough.gmane.org 1306525431 25330 80.91.229.12 (27 May 2011 19:43:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 19:43:51 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 21:43:41 2011 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 1QQ2we-0006rn-0j for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2011 21:43:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 933DECAD97; Fri, 27 May 2011 21:43:39 +0200 (CEST) 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 OT0b9qaQwaU4; Fri, 27 May 2011 21:43:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7ED06CAD91; Fri, 27 May 2011 21:43:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36F5BCAD91 for ; Fri, 27 May 2011 21:43:26 +0200 (CEST) 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 ikKxJQGephnD for ; Fri, 27 May 2011 21:43:23 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 6C9EBCAD7D for ; Fri, 27 May 2011 21:43:23 +0200 (CEST) Original-Received: from col0-omc2-s7.col0.hotmail.com (col0-omc2-s7.col0.hotmail.com [65.55.34.81]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4RJhLHS014835 for ; Fri, 27 May 2011 21:43:22 +0200 Original-Received: from COL107-W4 ([65.55.34.71]) by col0-omc2-s7.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 May 2011 12:41:52 -0700 X-Originating-IP: [70.30.197.40] Importance: Normal In-Reply-To: <73C1E170-C4E4-4C02-AC81-E6BE2C1BE86C@googlemail.com> X-OriginalArrivalTime: 27 May 2011 19:41:52.0578 (UTC) FILETIME=[20B4F220:01CC1CA6] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.34.81; country=US; region=WA; city=Redmond; postalcode=98052; latitude=47.6801; longitude=-122.1206; metrocode=819; areacode=425; http://maps.google.com/maps?q=47.6801,-122.1206&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eEMHHluQ - 375e63661f62 - 20110527 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:68799 Archived-At: --===============0089554859== Content-Type: multipart/alternative; boundary="_1545417a-c95c-4b89-b350-34ddee2c8af0_" --_1545417a-c95c-4b89-b350-34ddee2c8af0_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This is fixing a lot of problems I had=2C thank you ! Mathieu From: schuster.wolfgang@googlemail.com Date: Fri=2C 27 May 2011 20:46:01 +0200 To: ntg-context@ntg.nl Subject: Re: [NTG-context] Modifying the header of a Register : \setuphead = or \setupregister not working Am 27.05.2011 um 20:32 schrieb Mathieu DUPONT:Hi=2C How can one modify the header of a Register=2C after it apparently inherite= d from Chapter ?In the following example=2C I try to have the title "INDEX"= at the same height as the title "CHAPTER"=2Cbut neither the \setuphead nor= \setupregister commands seem to do anything.Is there another command for t= hat ?I couldn't find it. Thanks for help ! \setupinteraction[state=3Dstart] \setuplabeltext[chapter=3DCHAPITRE~]\setuphead[chapter][ align=3Dmiddle=2C = before=3D{\crlf\blank[1cm-4.2ex]}=2C style=3D{\blank[2cm]}=2C after=3D{\bla= nk[3cm]}=2C header=3Dempty=2C ] \setuphead [chapter] [alternative=3Dmiddle=2C before=3D{\blank[force=2C= 1cm]}=2C numbercommand=3D\groupedcommand{}{\blank[2cm]}=2C after=3D{\bl= ank[3cm]}=2C header=3Dempty] \defineregister[MyIndex][MyIndexs]\setupheadtext[MyIndex=3DINDEX] \setupregister[MyIndex][{\blank[0cm]}] %% not working\setuphead[register][= {\blank[0cm]}] %% not working Invalid setup=2C the second argument expects assignments. Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well=2C please add an entry to= the 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 ___________________________________________________________________________= ________ = --_1545417a-c95c-4b89-b350-34ddee2c8af0_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

This is fixing a lot of problems I had=2C thank you !


Mathieu





From: schuster.wolfgang@googlemail.com
Date: Fri=2C 27 May 2011 = 20:46:01 +0200
To: ntg-context@ntg.nl
Subject: Re: [NTG-context] Modi= fying the header of a Register : \setuphead or \setupregister not working

Am 27= .05.2011 um 20:32 schrieb Mathieu DUPONT:


Hi=2C

How can one modify the h= eader of a Register=2C after it apparently inherited from Chapter ?
In the following example=2C I try to have the title "INDEX" at the same = height as the title "CHAPTER"=2C
but neither the \setuphead nor \= setupregister commands seem to do anything.
Is there another comm= and for that ?
I couldn't find it.

Thank= s for help !


\setupinteraction= [state=3Dstart]

\setuplabeltext[chapter=3DCHAPITRE= ~]
\setuphead[chapter][
align=3Dmiddle=2C
before=3D{\crlf\b= lank[1cm-4.2ex]}=2C
style=3D{\blank[2cm]}=2C
after=3D{\blank[3cm]}=2C=
header=3Dempty=2C
]

\setuphead
 =3B =3B[chapter]
 =3B =3B[alternative=3Dmiddle=2C
 =3B =3B befo= re=3D{\blank[force=2C1cm]}=2C
 =3B =3B numbercommand=3D\g= roupedcommand{}{\blank[2cm]}=2C
 =3B =3B after=3D{\blank[= 3cm]}=2C
 =3B =3B header=3Dempty]

\defineregister[MyIndex][MyIndexs]
\set= upheadtext[MyIndex=3DINDEX]

\setupregister[MyIndex= ][{\blank[0cm]}]  =3B%% not working
\setuphead[register][{\bl= ank[0cm]}]  =3B%% not working

=
Invalid setup=2C the second argument expects assignments.
Wolfgang



_________________________= __________________________________________________________ If your question is of interest to others as well=2C please add an entry to= the 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 ___________________________________________________________________________= ________ = --_1545417a-c95c-4b89-b350-34ddee2c8af0_-- --===============0089554859== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0089554859==--