placing endnotes throws a "missing number" error
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
Am 20.09.2011 um 21:14 schrieb Daniel Schopper:
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
Use \placenotes[…][height=\textheight]. Wolfgang
Thanks, it’s working now! Am 21.09.11 13:06, schrieb Wolfgang Schuster:
Am 20.09.2011 um 21:14 schrieb Daniel Schopper:
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
Use \placenotes[…][height=\textheight].
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (2)
-
Daniel Schopper
-
Wolfgang Schuster