Difference between revisions of "User talk:Frank"

From Wiki
Jump to navigation Jump to search
 
Line 11: Line 11:
 
Thanks,
 
Thanks,
 
Frank
 
Frank
 +
 +
Probably the best place to ask for help is the context mailing list (more viewers there).
 +
See [[http://www.ntg.nl/mailman/listinfo/ntg-context the mailman info page]].
 +
 +
For your immediate problem: you need to use <texcode>\midaligned{\getmarking[chapter]}</texcode> The 'magic word' versions only work if they are the sole context of the bracket group.
 +
 +
[[User:Taco|Taco]]

Revision as of 09:21, 16 December 2004

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