ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupheadertexts [section]
@ 2013-03-26 10:37 Alan BRASLAU
  2013-03-26 11:00 ` Otared Kavian
  0 siblings, 1 reply; 3+ messages in thread
From: Alan BRASLAU @ 2013-03-26 10:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

\setupheadertexts [chapter]

will center the current chapter title (or abbreviated version using
marking=) in the running page headers.

However, how can one also put unnumbered chapter-level titles
(\starttitle\stoptitle) in the running headers?

\setupheadertexts [chapter,title]
seems natural but does not work.


Also, what seems to be a bug, the running text does *not* get reset to
empty upon leaving the chapter. Below is a minimal illustration
(nonworking as it is incomplete, only a snippet)

\setupheadertexts [chapter]

\starttext

\startpart % lets have some structure...

Some introductory text...

\startchapter [title=Getting started]

Some text...

\stopchapter

\page [yes]

Some trailing remarks...
% the header here still contains "Getting started"

\stoppart

\stoptext


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


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

end of thread, other threads:[~2013-03-26 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-26 10:37 \setupheadertexts [section] Alan BRASLAU
2013-03-26 11:00 ` Otared Kavian
2013-03-26 11:50   ` Alan BRASLAU

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).