# Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

On 14-12-2010 10:32, Marco Pessotto wrote:


\subject{\bf My title!}
\dontleavehmode
\writetolist[myrandompart]{}{It's a test}

works. The question if is this the right thing to do, still remains,
though



it's quite ok as long as you realize that it introduces 'something' in the text stream, so

xxx

\dontleavehmode\writetolist[myrandompart]{}{It's a test}

xxx

is actually:

xxx

[something written to a list]

xxx

so when whitespace is setup, in some cases you can get some extra


also, the [something ...] can end up on the current page or the next one, depending on the circumstances


in practice it's no real problem as one will do explicit writes inside boxes or so

-----------------------------------------------------------------
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________