ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* placing endnotes throws a "missing number" error
@ 2011-09-20 19:14 Daniel Schopper
  2011-09-21 11:06 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Schopper @ 2011-09-20 19:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: placing endnotes throws a "missing number" error
  2011-09-20 19:14 placing endnotes throws a "missing number" error Daniel Schopper
@ 2011-09-21 11:06 ` Wolfgang Schuster
  2011-09-21 11:19   ` Daniel Schopper
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-09-21 11:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: placing endnotes throws a "missing number" error
  2011-09-21 11:06 ` Wolfgang Schuster
@ 2011-09-21 11:19   ` Daniel Schopper
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Schopper @ 2011-09-21 11:19 UTC (permalink / raw)
  To: ntg-context

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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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:[~2011-09-21 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-20 19:14 placing endnotes throws a "missing number" error Daniel Schopper
2011-09-21 11:06 ` Wolfgang Schuster
2011-09-21 11:19   ` Daniel Schopper

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