[NTG-context] endnotes: ! Dimension too large. ?? (macro description)

Steffen Wolfrum ntg-context@ntg.nl
Fri, 16 Jan 2004 16:13:18 +0100


Hi,


Hans Hagen <pragma@wxs.nl> wrote:


> you can feed it into a description, like:
> 
>    \definedescription[WhatANote]
> 
> and then use
> 
>    \startWhatANote{#1}#2\stopWhatANote
> 
> in the macro.


I am not sure what you mean by "the macro".
Do you mean it like this? :


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



Or should I add it to this - but I don't know how/where:

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


Thank you,

Steffen