From: Taco Hoekwater via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Taco Hoekwater <taco@bittext.nl>
Subject: Re: \startbodymatter forcing new page in document
Date: Mon, 15 Nov 2021 15:28:53 +0100 [thread overview]
Message-ID: <09BC10BC-94AC-44E3-9F08-D066FB9F87FD@bittext.nl> (raw)
In-Reply-To: <CAMwawgNVtpJrsEWnkQUzmp1ZZ1DV=oNaOa2R+ryFWwXywf7goQ@mail.gmail.com>
> 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]
>
> Regards,
>
> Amine
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
—
Taco Hoekwater E: taco@bittext.nl
genderfluid (all pronouns)
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2021-11-15 14:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 14:07 A A via ntg-context
2021-11-15 14:28 ` Taco Hoekwater via ntg-context [this message]
2021-11-15 16:07 ` Wolfgang Schuster via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09BC10BC-94AC-44E3-9F08-D066FB9F87FD@bittext.nl \
--to=ntg-context@ntg.nl \
--cc=taco@bittext.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).