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

* Re: header text for each page of a chapter
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Milton Galo Patricio Inostroza Aguilera @ 2011-03-07 21:47 UTC (permalink / raw)
  To: Lista de correo context

I'm still working on my issue without success :-(.  I've posted my pdf
document [1]...if somebody could help me it will great for me =D.

The principal idea is to customize the name of the chapter (the header
text), "Tarjeta de Crédito", to show the header text like the light
blue text "Tarjeta de Crédito" (position, color, size). In a nutshell,
I want that the light blue text become my header text.

As you can see, the second page doesn't have the light blue text but
It still has the name of the chapter (it is the desired behavior)

[1] http://tinyurl.com/4vuwug5



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