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
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 ___________________________________________________________________________________
On Sat, 30 Jun 2007 18:30:59 +0200
Patrick Gundlach
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
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
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
participants (3)
-
Patrick Gundlach
-
Peter Rolf
-
Wolfgang Schuster