ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Daniel Schopper <daniel.schopper@aon.at>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: placing endnotes throws a "missing number" error
Date: Tue, 20 Sep 2011 21:14:16 +0200	[thread overview]
Message-ID: <4E78E608.2030402@aon.at> (raw)

Dear list,
I’m running into a strange issue with endnotes. I seem to hit a limit of 
how many endnotes I can place in a document - although there are only 52 
of them in the document. Recursing the following minimal example 12 
times works fine on my machine (using today’s beta 2011.09.20 00:09)

Any clues?
Thanks in advance!
Daniel

Here’s an example:

-----------------------------------------------------------------
\definenote[myFirstEndnote][endnote]
\definenote[mySecondEndnote][endnote]
\definenote[myThirdEndnote][endnote]
\definenote[myFourthEndnote][endnote]

\starttext
\dorecurse{13}{
	\myFirstEndnote{endnote}
	\input tufte
	\mySecondEndnote{endnote}
	\input tufte
	\myThirdEndnote{endnote}
	\input tufte
	\myFourthEndnote{endnote}
	\input tufte
}
\page
\placenotes[myFirstEndnote]
\placenotes[mySecondEndnote]
\placenotes[myThirdEndnote]
\placenotes[myFourthEndnote]

\stoptext

-----------------------------------------------------------------
… this leads to a "missing number" error:


! Missing number, treated as zero.

system          > tex > error on line 106 in file enTest.tex: Missing 
number, treated as zero ...


<to be read again>
                    f
\v!fit ->f
           it
\dochecknote ...\dimexpr \noteparameter \c!height
                                                   *\scratchcounter 
\relax \f...
\doprocesssomenote ...n \currentnote \dochecknote
                                                   \ifbottomnotes \else 
\done...
\dopagecontents ...tomnotes \else \donefalse \fi }
                                                   \ifcase 
\kindofpagetextare...
\normalsettextpagecontent ... \dopagecontents #2#3
                                                   }}\dp #1\zeropoint 
\setbox...
...
l.22

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

             reply	other threads:[~2011-09-20 19:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20 19:14 Daniel Schopper [this message]
2011-09-21 11:06 ` Wolfgang Schuster
2011-09-21 11:19   ` Daniel Schopper

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=4E78E608.2030402@aon.at \
    --to=daniel.schopper@aon.at \
    --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).