ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: endnotes: ! Dimension too large. ??
Date: Sat, 10 Jan 2004 20:33:06 +0100	[thread overview]
Message-ID: <6.0.1.1.2.20040110203049.02eecff0@localhost> (raw)
In-Reply-To: <a06002000bc24f0f441c0@[217.184.11.183]>

At 01:09 10/01/2004, you wrote:

>OK, I have more than 700 footnotes - but when using "location=page" 
>everything works fine.
>
>I was trying to find whether there is something missing when I just 
>continue, and I found the TableOfContent is cut.
>But the text and the footnotes as well seem to be OK.
>
>
>Is there a patch helping me to avoid this error?

Why not use the following mechanism:

\starttext

\definelist[MyNoteList]

\newcounter\MyNotes

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

\dorecurse{1000}{test \MyNote{Whow, another note}\endgraf}

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

\stoptext

You can format the list any way you like, e.g.:

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

\placelist[MyNoteList][criterium=text,command=\MyNoteList]

also, you can now cal lthem per chapter,

\placelist[MyNoteList][criterium=chapter]

etc

  reply	other threads:[~2004-01-10 19:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-10  0:09 Steffen Wolfrum
2004-01-10 19:33 ` Hans Hagen [this message]
2004-01-11 13:09 Steffen Wolfrum
2004-01-13 12:25 ` 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.20040110203049.02eecff0@localhost \
    --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).