From: Mathieu DUPONT <mathieudupont@hotmail.com>
To: ConTeXt <ntg-context@ntg.nl>
Subject: Modifying the header of a Register : \setuphead or \setupregister not working
Date: Fri, 27 May 2011 14:32:40 -0400 [thread overview]
Message-ID: <COL107-W34DE235016D4BCE9566BA3B2760@phx.gbl> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 885 bytes --]
Hi,
How can one modify the header of a Register, after it apparently inherited from Chapter ?In the following example, I try to have the title "INDEX" at the same height as the title "CHAPTER",but neither the \setuphead nor \setupregister commands seem to do anything.Is there another command for that ?I couldn't find it.
Thanks for help !
\setupinteraction[state=start]
\setuplabeltext[chapter=CHAPITRE~]\setuphead[chapter][ align=middle, before={\crlf\blank[1cm-4.2ex]}, style={\blank[2cm]}, after={\blank[3cm]}, header=empty, ]
\defineregister[MyIndex][MyIndexs]\setupheadtext[MyIndex=INDEX]
\setupregister[MyIndex][{\blank[0cm]}] %% not working\setuphead[register][{\blank[0cm]}] %% not working
\starttext
\startbodymatter\chapter{Chapter}\MyIndex{word}word\stopbodymatter
\startbackmatter\completeMyIndex\stopbackmatter
\stoptext
Mathieu
[-- Attachment #1.2: Type: text/html, Size: 2126 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2011-05-27 18:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-27 18:32 Mathieu DUPONT [this message]
2011-05-27 18:46 ` Wolfgang Schuster
2011-05-27 19:41 ` Mathieu DUPONT
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=COL107-W34DE235016D4BCE9566BA3B2760@phx.gbl \
--to=mathieudupont@hotmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).