From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68795 Path: news.gmane.org!not-for-mail From: Mathieu DUPONT Newsgroups: gmane.comp.tex.context Subject: Modifying the header of a Register : \setuphead or \setupregister not working Date: Fri, 27 May 2011 14:32:40 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2033964929==" X-Trace: dough.gmane.org 1306521296 32299 80.91.229.12 (27 May 2011 18:34:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 May 2011 18:34:56 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 20:34:50 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 1QQ1s0-0007Lp-Ki for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2011 20:34:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 02AE1CAD93; Fri, 27 May 2011 20:34:48 +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 A6IFy9vIsavL; Fri, 27 May 2011 20:34:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3F37ACAD87; Fri, 27 May 2011 20:34:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2AE64CAD87 for ; Fri, 27 May 2011 20:34:44 +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 2VWowPjWvB1x for ; Fri, 27 May 2011 20:34:42 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 4604ECAD20 for ; Fri, 27 May 2011 20:34:42 +0200 (CEST) Original-Received: from col0-omc2-s3.col0.hotmail.com (col0-omc2-s3.col0.hotmail.com [65.55.34.77]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4RIYeIk027818 for ; Fri, 27 May 2011 20:34:41 +0200 Original-Received: from COL107-W34 ([65.55.34.73]) by col0-omc2-s3.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 May 2011 11:32:40 -0700 X-Originating-IP: [70.30.197.40] Importance: Normal X-OriginalArrivalTime: 27 May 2011 18:32:40.0965 (UTC) FILETIME=[76271350:01CC1C9C] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.34.77; 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: 0bEMGyFng - a6477fe90626 - 20110527 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:68795 Archived-At: --===============2033964929== Content-Type: multipart/alternative; boundary="_b087bea7-aa72-4c22-a72b-162a72bc0e9e_" --_b087bea7-aa72-4c22-a72b-162a72bc0e9e_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 ] \defineregister[MyIndex][MyIndexs]\setupheadtext[MyIndex=3DINDEX] \setupregister[MyIndex][{\blank[0cm]}] %% not working\setuphead[register][= {\blank[0cm]}] %% not working \starttext \startbodymatter\chapter{Chapter}\MyIndex{word}word\stopbodymatter \startbackmatter\completeMyIndex\stopbackmatter \stoptext=20 Mathieu = --_b087bea7-aa72-4c22-a72b-162a72bc0e9e_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi=2C

How can one modify the header of a = Register=2C after it apparently inherited from Chapter ?
In the f= ollowing example=2C I try to have the title "INDEX" at the same height as t= he title "CHAPTER"=2C
but neither the \setuphead nor \setupregist= er commands seem to do anything.
Is there another command for tha= t ?
I couldn't find it.

Thanks for help = !


\setupinteraction[state=3Dst= art]

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

\defineregister[MyIndex][MyIndexs]
\setup= headtext[MyIndex=3DINDEX]

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

\starttext

\startbodymatter
\chapter{Chapter}
\M= yIndex{word}word
\stopbodymatter

\startb= ackmatter
\completeMyIndex
\stopbackmatter
\stoptext =3B




Mathieu=


= --_b087bea7-aa72-4c22-a72b-162a72bc0e9e_-- --===============2033964929== 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 ___________________________________________________________________________________ --===============2033964929==--