Am 24.03.2012 um 09:54 schrieb Pablo Rodríguez:
> I have discovered that \definepagebreak[header,footer] doesn't right
> with chapters when changing from frontmatter to bodymatter (and similar
> divisions).
>
> Here you have a sample:
>
> \definepagebreak[firstpagebreak][yes,header,footer,right]
> \setuphead[chapter][page=firstpagebreak]
> \setuppagenumbering[alternative=doublesided,location={botton}]
> \starttext
> \startfrontmatter
> \dorecurse{4}{\chapter{front}}
> \stopfrontmatter
> \startbodymatter
> \dorecurse{4}{\chapter{body}}
> \stopbodymatter
> \startappendices
> \dorecurse{4}{\chapter{body}}
> \stopappendices
> \startbackmatter
> \dorecurse{4}{\chapter{body}}
> \stopbackmatter
> \stoptext
>
> Pages previous to chapters with no text should also lack header and
> footer, but in the example above this doesn't work when text divisions
> (such as front matter, body matter, appendices and back matter) change.
Section blocks do have a page key which is used ti switch to a right page at
the begin/end of the environment and this happens before the chapter
page break happens. You have to disable the page breaks for the section block
to have the right header/footer on empty pages.
\setupsectionblock[frontpart][page=]
\setupsectionblock[bodypart] [page=]
\setupsectionblock[backpart] [page=]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________