Taco Hoekwater via ntg-context schrieb am 15.11.2021 um 15:28:
On 15 Nov 2021, at 15:07, A A via ntg-context <ntg-context@ntg.nl> wrote:

Dear All,

The following code generates a title and some fake text:

\setuppagenumbering[location=right]

\usemodule[visual]

\usebtxdataset[bibliography.bib]
\starttext
\title{test}
\fakewords{1000}{1200}

\stoptext

The following code does the same, but wraps the fakewords in a bodymatter 
environment:

\setuppagenumbering[location=right]

\usemodule[visual]

\usebtxdataset[bibliography.bib]
\starttext
\title{test}
\startbodymatter
\fakewords{1000}{1200}
\stopbodymatter

\stoptext


In the first case, the title remains on the same page as the fake text. In the 
second case, a new page is forced after the title. Why does this occur?
\startbodymatter starts a sectionblock (the “bodypart” block, to be exact) and
by default these blocks all switch to a ‘right’ page. Add this in your preamble 
to
get rid of the page switch:

\setupsectionblock[bodypart][page=no]

The better solution in my opinion is to put the title *in* the sectionblock.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to