ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: endnotes: ! Dimension too large. ?? (macro description)
@ 2004-01-16 15:13 Steffen Wolfrum
  2004-01-16 16:40 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2004-01-16 15:13 UTC (permalink / raw)


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

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

* Re: endnotes: ! Dimension too large. ?? (macro description)
  2004-01-16 15:13 endnotes: ! Dimension too large. ?? (macro description) Steffen Wolfrum
@ 2004-01-16 16:40 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2004-01-16 16:40 UTC (permalink / raw)


At 16:13 16/01/2004, you wrote:

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

no, the other one, the one that is hooked into the list placement (the one 
with three arguments #1#2#3)

Hans  

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

end of thread, other threads:[~2004-01-16 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-16 15:13 endnotes: ! Dimension too large. ?? (macro description) Steffen Wolfrum
2004-01-16 16:40 ` Hans Hagen

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