User talk:Frank

From Wiki
Revision as of 09:21, 16 December 2004 by Taco (talk | contribs)
Jump to navigation Jump to search

I'm a ConTeXt beginner. Is this the right place to get help? Well, here goes...

I want to create header text that has the book name and page number on the left and the chapter name and page number on the right. The book/chapter names should be centered while the page numbers should be right aligned.

I've tried:

\setupheadertexts[text][\midaligned{chapter}][pagenumber][\midaligned{The Great Escape}][pagenumber]

But I get the literal "chapter" instead of the chapter name. Can anyone help?

Thanks, Frank

Probably the best place to ask for help is the context mailing list (more viewers there). See [the mailman info page].

For your immediate problem: you need to use

\midaligned{\getmarking[chapter]}

The 'magic word' versions only work if they are the sole context of the bracket group.

Taco