![](https://secure.gravatar.com/avatar/01ccb3e814a4f68fcfad142aa7ded057.jpg?s=120&d=mm&r=g)
Hi all, I'm having a but of a problem using writetolist. In principle, I want to insert something into the table of contents, but I don't want to disturb the flow of the text. Unfortunately, the following code seems to generate a blank at the top of the page: \showframe \showmakeup \starttext \writetolist[section]{}{}% \framed{This box has been pushed down} \stoptext I've also tried using a section command where the output has been set to empty: \showframe \showmakeup \setuphead[section][ before=, after=, command=\mydonothing] \def\mydonothing#1#2{} \starttext \section{}% \framed{This box has been pushed down} \stoptext but that also gets me a blank. Incidentally, the same thing happens with writebetweenlist, (except that this seems to sometimes push content onto a new page for some reason). Any ideas? -- Michael Murphy
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 8-7-2010 7:33, Michael Murphy wrote:
Hi all,
I'm having a but of a problem using writetolist. In principle, I want to insert something into the table of contents, but I don't want to disturb the flow of the text. Unfortunately, the following code seems to generate a blank at the top of the page:
mkii or mkiv or both?
\showframe \showmakeup
\starttext \writetolist[section]{}{}% \framed{This box has been pushed down} \stoptext
I've also tried using a section command where the output has been set to empty:
\showframe \showmakeup
\setuphead[section][ before=, after=, command=\mydonothing]
\def\mydonothing#1#2{}
\starttext \section{}% \framed{This box has been pushed down} \stoptext
but that also gets me a blank. Incidentally, the same thing happens with writebetweenlist, (except that this seems to sometimes push content onto a new page for some reason).
Any ideas?
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/01ccb3e814a4f68fcfad142aa7ded057.jpg?s=120&d=mm&r=g)
I'm having a but of a problem using writetolist. In principle, I want to insert something into the table of contents, but I don't want to disturb the flow of the text. Unfortunately, the following code seems to generate a blank at the top of the page:
mkii or mkiv or both?
It looks like it only happens on mkiv. -- Michael Murphy
participants (2)
-
Hans Hagen
-
Michael Murphy