ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to avoid that \writetolist becomes a page-breaker
@ 2010-12-14 20:00 Marco Pessotto
  2010-12-14 21:32 ` Marco Pessotto
  2010-12-15 11:42 ` Hans Hagen
  0 siblings, 2 replies; 5+ messages in thread
From: Marco Pessotto @ 2010-12-14 20:00 UTC (permalink / raw)
  To: ntg-context


Probably due to my abuse of \writetolist, I noticed that inserting
\writetolist right after \subject makes TeX to think that it can break
the page there without problems.

See the following minimal example:

%===============cut here=============

\definelist[myrandompart]

\starttext

\dorecurse{12}{
\input reich 
}
\subject{\bf Wrong!}
\writetolist[myrandompart]{It's a test}

\input knuth

\page

\dorecurse{12}{
\input reich 
}
\subject{\bf Correct!}
%\writetolist[myrandompart]{It's a test}

\input knuth

%===============cut here=============

I'm pretty sure the solution is out there.
Some hints would be very welcome.

Thanks in advance

-- 
Marco

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-15 11:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-14 20:00 How to avoid that \writetolist becomes a page-breaker Marco Pessotto
2010-12-14 21:32 ` Marco Pessotto
2010-12-15 11:40   ` Hans Hagen
2010-12-15 11:42 ` Hans Hagen
2010-12-15 11:47   ` Marco Pessotto

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).