ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* chapter names in header
@ 2007-06-30 16:30 Patrick Gundlach
  2007-06-30 17:24 ` Peter Rolf
  2007-07-01 10:34 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Gundlach @ 2007-06-30 16:30 UTC (permalink / raw)
  To: ntg-context

Hi,

what is wrong with 

--------------------------------------------------
\setuppagenumbering[location=]
\starttext 
\setupheadertexts[text][section][chapter]
\dorecurse{8}{\chapter{chapter - \recurselevel}
\input tufte
\dorecurse{8}{\section {section - \recurselevel}
\input knuth

\input knuth
}
}
\stoptext
--------------------------------------------------
??

The header looks strange - example: on page four I'd expect 'section
4' and 'chapter 1' in the head.

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


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

* Re: chapter names in header
  2007-06-30 16:30 chapter names in header Patrick Gundlach
@ 2007-06-30 17:24 ` Peter Rolf
  2007-07-01 18:00   ` Patrick Gundlach
  2007-07-01 10:34 ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Rolf @ 2007-06-30 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Patrick,

Patrick Gundlach schrieb:
> Hi,
> 
> what is wrong with 
> 
> --------------------------------------------------
> \setuppagenumbering[location=]
> \starttext 
> \setupheadertexts[text][section][chapter]
> \dorecurse{8}{\chapter{chapter - \recurselevel}
          \expanded{\chapter.... }

look at the *.tui file for the unexpanded case.


Greetings, Peter


> \input tufte
> \dorecurse{8}{\section {section - \recurselevel}

same here

> \input knuth
> 
> \input knuth
> }
> }
> \stoptext
> --------------------------------------------------
> ??
> 
> The header looks strange - example: on page four I'd expect 'section
> 4' and 'chapter 1' in the head.
> 
> Patrick
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 

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


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

* Re: chapter names in header
  2007-06-30 16:30 chapter names in header Patrick Gundlach
  2007-06-30 17:24 ` Peter Rolf
@ 2007-07-01 10:34 ` Wolfgang Schuster
  2007-07-01 18:04   ` Patrick Gundlach
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2007-07-01 10:34 UTC (permalink / raw)
  To: ntg-context

On Sat, 30 Jun 2007 18:30:59 +0200
Patrick Gundlach <patrick@gundla.ch> wrote:

> Hi,
> 
> what is wrong with 
> 
> --------------------------------------------------
> \setuppagenumbering[location=]
> \starttext 
> \setupheadertexts[text][section][chapter]
> \dorecurse{8}{\chapter{chapter - \recurselevel}
> \input tufte
> \dorecurse{8}{\section {section - \recurselevel}
> \input knuth
> 
> \input knuth
> }
> }
> \stoptext

Hi Patrick,

it is not neccessary to write chapter and section in the headers, you
can use ConTeXts predefined labeletexts for them.

\setuplabeltext[en][chapter=Chapter ]
\setuplabeltext[en][section=Section ]

\starttext 

\chapter{Text}

\section{Text}

\stoptext

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


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

* Re: chapter names in header
  2007-06-30 17:24 ` Peter Rolf
@ 2007-07-01 18:00   ` Patrick Gundlach
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Gundlach @ 2007-07-01 18:00 UTC (permalink / raw)
  To: ntg-context

Hello Peter,

>> what is wrong with 
>> 
>> --------------------------------------------------
>> \setuppagenumbering[location=]
>> \starttext 
>> \setupheadertexts[text][section][chapter]
>> \dorecurse{8}{\chapter{chapter - \recurselevel}
>           \expanded{\chapter.... }
>
> look at the *.tui file for the unexpanded case.

Duh! Of course!

Thanks,

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


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

* Re: chapter names in header
  2007-07-01 10:34 ` Wolfgang Schuster
@ 2007-07-01 18:04   ` Patrick Gundlach
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Gundlach @ 2007-07-01 18:04 UTC (permalink / raw)
  To: ntg-context

Hello Wolfgang,

> it is not neccessary to write chapter and section in the headers, you
> can use ConTeXts predefined labeletexts for them.

> \setuplabeltext[en][chapter=Chapter ]
> \setuplabeltext[en][section=Section ]

Although not strictly related to my question - thanks for the reminder
of \setuplabeltext. It will come in handy for a manual I am currently
writing.

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


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

end of thread, other threads:[~2007-07-01 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-30 16:30 chapter names in header Patrick Gundlach
2007-06-30 17:24 ` Peter Rolf
2007-07-01 18:00   ` Patrick Gundlach
2007-07-01 10:34 ` Wolfgang Schuster
2007-07-01 18:04   ` Patrick Gundlach

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