[NTG-context] chapter title does not show on header.

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Jun 29 15:39:40 CEST 2014


Am 29.06.2014 um 13:49 schrieb john Culleton <John at wexfordpress.com>:

> I copied \setupheadertexts etc. straight from the
> wiki with one change. For the fourth parameter
> instead of chapter I substituted \Titlea, which
> contains the title of the book. That part works,
> But the word chapter as a parameter doesn't.
> 
> Here is my pertinent code:
> 
> \def\Titlea{Scribus Index Feature }
> ...
> \setuppagenumbering[alternative=doublesided,location=]
> \setupheader[leftstyle=bold,rightstyle=bold]
> \setupheadertexts
>   [{\getmarking[chapter]}] 
>   [{page \pagenumber}] 
>   [{page \pagenumber}]
>   [{\Titlea}] 
> \setuppagenumbering[location=]
> ...
> \setuppagenumbering[command=\bf]

Use the style key for bold page numbers.

> \definetext[chapter][footer][pagenumber]
> \setupmakeup[standard][page=yes, doublesided=no]
> \definepagebreak
>  [mychapterpagebreak]
>  [yes,header,right]
> ...
> \chapter{Summary}
> etc.

This is not a *working* minimal example!

Wolfgang


More information about the ntg-context mailing list