Difference between revisions of "User talk:Frank"

From Wiki
Jump to navigation Jump to search
 
Line 18: Line 18:
  
 
[[User:Taco|Taco]]
 
[[User:Taco|Taco]]
 +
 +
==========================================================
 +
 +
Yes, that works fine. Thanks for your help.
 +
Frank

Latest revision as of 11:52, 17 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

==============================================

Yes, that works fine. Thanks for your help. Frank