ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Content head
@ 2009-01-28 11:24 Wolfgang Werners-Lucchini
  2009-01-28 11:59 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-01-28 11:24 UTC (permalink / raw)
  To: ntg-context

Hallo,

I would like to def a costum head, but I also want the
pure word 'Inhaltsverzeichnis' as content head.

I tryed:
----------------------------------------
\def\Vortrag#1#2{#1~Vortrag:~#2}%
\setuphead[chapter][command=\Vortrag ]
\definehead[contenthead][title]

\starttext

\contenthead{Inhaltsverzeichnis}
\placecontent

\chapter{Bla}
blub

\stoptext
----------------------------------------

But the content head is still prefixed with 'Vortrag:'.
What is the solution for this?

Gruß, 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Content head
  2009-01-28 11:24 Content head Wolfgang Werners-Lucchini
@ 2009-01-28 11:59 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2009-01-28 11:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 28.01.2009 um 12:24 schrieb Wolfgang Werners-Lucchini:

> I would like to def a costum head, but I also want the
> pure word 'Inhaltsverzeichnis' as content head.
>
> I tryed:
> ----------------------------------------
> \def\Vortrag#1#2{#1~Vortrag:~#2}%
> \setuphead[chapter][command=\Vortrag ]
> \definehead[contenthead][title]
>
> \starttext
>
> \contenthead{Inhaltsverzeichnis}
> \placecontent
>
> \chapter{Bla}
> blub
>
> \stoptext
> ----------------------------------------
>
> But the content head is still prefixed with 'Vortrag:'.
> What is the solution for this?

\setuphead
   [chapter]
   [numbercommand=\groupedcommand{}{~Vortrag:},
    distance=\spaceamount]

Viele Grüße,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-28 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-28 11:24 Content head Wolfgang Werners-Lucchini
2009-01-28 11:59 ` 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).