mass...@fastwebnet.it <mailto:mass...@fastwebnet.it>
10. November 2015 um 12:50

I mean something like this:

On the top of a chapter title page:

+-----------------------------------

| 34
|

On the top of a page without chapter title:

+-----------------------------------

| 36 - Chapter title
|

Or (odd page):

----------------------------------+

Chapter title - 35 |
|

Thanks, Massi


You can use the \definetext command to set a different header (or footer) for chapter pages.

\setuppagenumbering[alternative=doublesided,location=]

\setupheadertexts
  [][{\getmarking[chapter] – \convertedcounter[userpage]}]
  [{\convertedcounter[userpage] – \getmarking[chapter]}][]

\definetext[chapterheader][header][][pagenumber]

\setuphead[chapter][header=chapterheader]

\starttext

\dorecurse{4}
  {\expanded{\chapter{Chapter \recurselevel}}
   \dorecurse{10}{\input knuth\par}}

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

Reply via email to