ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* header text for each page of a chapter
@ 2011-03-05 17:08 Milton Galo Patricio Inostroza Aguilera
  2011-03-07 21:47 ` Milton Galo Patricio Inostroza Aguilera
  0 siblings, 1 reply; 2+ messages in thread
From: Milton Galo Patricio Inostroza Aguilera @ 2011-03-05 17:08 UTC (permalink / raw)
  To: Lista de correo context

Hi,

I need that the name of a chapter appears in each page that belongs of
it.  For that, I use the following code:

\definepagebreak
  [mychapterpagebreak]
  [yes,header]

\setuphead
	[chapter]
	[page=mychapterpagebreak,
	placehead=no]

\setupheadertexts[][chapter]


\starttext
  \chapter{Tarjetas} \dorecurse{10}{\input tufte }
  \chapter{Linea de credito} \dorecurse{10}{\input tufte }
\stoptext


This approach works perfectly, but I can't customize the text that
contains the name of the chapter.  I would like to show the name of
the chapter with this code:

\startnarrower[3*right]
\crlf
{\tfd \rightaligned{ CHAPTER_NAME }}
\stopnarrower

Why I'm doing that?... because I have a lot of framed and I want when
they are send to the next page the document shows the name of the
chapter that they belong (or the name of the current chapter). am I
right with my approach?

Regards,

-- 
Milton
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2011-03-07 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-05 17:08 header text for each page of a chapter Milton Galo Patricio Inostroza Aguilera
2011-03-07 21:47 ` Milton Galo Patricio Inostroza Aguilera

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