* changing title of register displayed with \completeregistername
@ 2011-02-09 7:46 Daniel Lyons
2011-02-09 12:07 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Lyons @ 2011-02-09 7:46 UTC (permalink / raw)
To: ntg-context
Hi,
I'm trying to get a register to show a title other than the name of the register in the code, and not having much luck. For example,
\defineregister[pgtype][pgtypes]
\completepgtype
produces a page with the title "Pgtype", when I'd like it to say "PostgreSQL Types" instead. (Also, the documentation led me to believe the function should be called \completepgtypes rather than \completepgtype.)
The wiki suggests \setupheadtext[name=PostgreSQL Types] on http://wiki.contextgarden.net/Registers but this seems to have no effect, which makes sense to me, because it doesn't seem to have enough information.
What's the trick?
Thanks,
—
Daniel Lyons
___________________________________________________________________________________
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] 2+ messages in thread
* Re: changing title of register displayed with \completeregistername
2011-02-09 7:46 changing title of register displayed with \completeregistername Daniel Lyons
@ 2011-02-09 12:07 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-02-09 12:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 09.02.2011 um 08:46 schrieb Daniel Lyons:
> Hi,
>
> I'm trying to get a register to show a title other than the name of the register in the code, and not having much luck. For example,
>
> \defineregister[pgtype][pgtypes]
>
> \completepgtype
>
> produces a page with the title "Pgtype", when I'd like it to say "PostgreSQL Types" instead. (Also, the documentation led me to believe the function should be called \completepgtypes rather than \completepgtype.)
>
> The wiki suggests \setupheadtext[name=PostgreSQL Types] on http://wiki.contextgarden.net/Registers but this seems to have no effect, which makes sense to me, because it doesn't seem to have enough information.
>
> What's the trick?
\setupheadtext[pgtype=PostgreSQL Types]
or
\setupheadtext[en][pgtype=PostgreSQL Types]
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-09 12:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-09 7:46 changing title of register displayed with \completeregistername Daniel Lyons
2011-02-09 12:07 ` Wolfgang Schuster
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).