ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* writetolist causes mystery blank
@ 2010-07-08 17:33 Michael Murphy
  2010-07-08 19:32 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Murphy @ 2010-07-08 17:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 3+ messages in thread

* Re: writetolist causes mystery blank
  2010-07-08 17:33 writetolist causes mystery blank Michael Murphy
@ 2010-07-08 19:32 ` Hans Hagen
  2010-07-08 20:24   ` Michael Murphy
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2010-07-08 19:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread

* Re: writetolist causes mystery blank
  2010-07-08 19:32 ` Hans Hagen
@ 2010-07-08 20:24   ` Michael Murphy
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Murphy @ 2010-07-08 20:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

>> 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
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2010-07-08 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08 17:33 writetolist causes mystery blank Michael Murphy
2010-07-08 19:32 ` Hans Hagen
2010-07-08 20:24   ` Michael Murphy

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