* Modifying the header of a Register : \setuphead or \setupregister not working
@ 2011-05-27 18:32 Mathieu DUPONT
2011-05-27 18:46 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Mathieu DUPONT @ 2011-05-27 18:32 UTC (permalink / raw)
To: ConTeXt
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Modifying the header of a Register : \setuphead or \setupregister not working
2011-05-27 18:32 Modifying the header of a Register : \setuphead or \setupregister not working Mathieu DUPONT
@ 2011-05-27 18:46 ` Wolfgang Schuster
2011-05-27 19:41 ` Mathieu DUPONT
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-05-27 18:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1108 bytes --]
Am 27.05.2011 um 20:32 schrieb Mathieu DUPONT:
>
> 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,
> ]
\setuphead
[chapter]
[alternative=middle,
before={\blank[force,1cm]},
numbercommand=\groupedcommand{}{\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
Invalid setup, the second argument expects assignments.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2928 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Modifying the header of a Register : \setuphead or \setupregister not working
2011-05-27 18:46 ` Wolfgang Schuster
@ 2011-05-27 19:41 ` Mathieu DUPONT
0 siblings, 0 replies; 3+ messages in thread
From: Mathieu DUPONT @ 2011-05-27 19:41 UTC (permalink / raw)
To: ConTeXt
[-- Attachment #1.1: Type: text/plain, Size: 1789 bytes --]
This is fixing a lot of problems I had, thank you !
Mathieu
From: schuster.wolfgang@googlemail.com
Date: Fri, 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,
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, ]
\setuphead [chapter] [alternative=middle, before={\blank[force,1cm]}, numbercommand=\groupedcommand{}{\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
Invalid setup, the second argument expects assignments.
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3884 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-27 19:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-27 18:32 Modifying the header of a Register : \setuphead or \setupregister not working Mathieu DUPONT
2011-05-27 18:46 ` Wolfgang Schuster
2011-05-27 19:41 ` Mathieu DUPONT
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).