ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: endnotes: ! Dimension too large. ?? (another problem)
Date: Tue, 13 Jan 2004 13:30:07 +0100	[thread overview]
Message-ID: <6.0.1.1.2.20040113132553.01dee118@server-1> (raw)
In-Reply-To: <a06002001bc27006f3071@[62.134.74.132]>

At 14:37 11/01/2004, you wrote:
>A big problem is that the \MyNote notes seem to be not "brakeable"
>
>If such a note is half a page long and all the notes are set at the end of 
>the text
>it happens quite often that there is half a page empty (because the next 
>note is too long).
>
>Do you also have a clue for this?

\definelist[MyNoteList]

\def\MyNoteList#1#2#3{#1\quad#2\endgraf}

\setuplist
   [MyNoteList]
   [criterium=text,
    alternative=command,
    command=\MyNoteList]

\newcounter\MyNotes

\long\def\MyNote#1%
   {\ifhmode\unskip\fi
    \doglobal\increment\MyNotes\relax
    \high{\MyNotes}%
    \expanded{\writetolist[MyNoteList]{\MyNotes}}{#1}}

\starttext

\dorecurse{10}{test \MyNote{Whow, another note \input tufte }\endgraf}

\page \placelist[MyNoteList][criterium=text]

\stoptext 

  reply	other threads:[~2004-01-13 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-11 13:37 Steffen Wolfrum
2004-01-13 12:30 ` Hans Hagen [this message]
2004-01-15 12:27 Steffen Wolfrum
2004-01-15 15:41 ` Hans Hagen

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=6.0.1.1.2.20040113132553.01dee118@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.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).