* Re: endnotes: ! Dimension too large. ?? (another problem)
@ 2004-01-15 12:27 Steffen Wolfrum
2004-01-15 15:41 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2004-01-15 12:27 UTC (permalink / raw)
Ah OK.
But as far as I see the "command=" overwrites other possible settings like margin etc.
Do I have to include these descriptions in \MyNoteList in a more TeX way?
For example:
How do I set the notes with size 10pt, interlinespace 11pt, a margin 2cm and after space \blank?
Maybe you could give me an example for the code needed here?
Thank you,
Steffen
Hans Hagen <pragma@wxs.nl> wrote:
> At 14:37 11/01/2004, you wrote:
> >A big problem is that the \MyNote notes seem to be not "brakeable"
> >
> >If such a note is half a page long and all the notes are set at the end of
> >the text
> >it happens quite often that there is half a page empty (because the next
> >note is too long).
> >
> >Do you also have a clue for this?
>
> \definelist[MyNoteList]
>
> \def\MyNoteList#1#2#3{#1\quad#2\endgraf}
>
> \setuplist
> [MyNoteList]
> [criterium=text,
> alternative=command,
> command=\MyNoteList]
>
> \newcounter\MyNotes
>
> \long\def\MyNote#1%
> {\ifhmode\unskip\fi
> \doglobal\increment\MyNotes\relax
> \high{\MyNotes}%
> \expanded{\writetolist[MyNoteList]{\MyNotes}}{#1}}
>
> \starttext
>
> \dorecurse{10}{test \MyNote{Whow, another note \input tufte }\endgraf}
>
> \page \placelist[MyNoteList][criterium=text]
>
> \stoptext
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: endnotes: ! Dimension too large. ?? (another problem)
2004-01-15 12:27 endnotes: ! Dimension too large. ?? (another problem) Steffen Wolfrum
@ 2004-01-15 15:41 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2004-01-15 15:41 UTC (permalink / raw)
At 13:27 15/01/2004, you wrote:
>Ah OK.
>
>But as far as I see the "command=" overwrites other possible settings like
>margin etc.
>
>Do I have to include these descriptions in \MyNoteList in a more TeX way?
>
>For example:
>How do I set the notes with size 10pt, interlinespace 11pt, a margin 2cm
>and after space \blank?
>
>
>Maybe you could give me an example for the code needed here?
you can feed it into a description, like:
\definedescription[WhatANote]
and then use
\startWhatANote{#1}#2\stopWhatANote
in the macro.
You can configure the description like footnotes (actuall a fn is a
description)
Hans
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: endnotes: ! Dimension too large. ?? (another problem)
@ 2004-01-11 13:37 Steffen Wolfrum
2004-01-13 12:30 ` Hans Hagen
0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2004-01-11 13:37 UTC (permalink / raw)
A big problem is that the \MyNote notes seem to be not "brakeable"
If such a note is half a page long and all the notes are set at the end of the text
it happens quite often that there is half a page empty (because the next note is too long).
Do you also have a clue for this?
Thank you,
Steffen
Hans Hagen <pragma@wxs.nl> wrote:
> At 01:09 10/01/2004, you wrote:
>
> >OK, I have more than 700 footnotes - but when using "location=page"
> >everything works fine.
> >
> >I was trying to find whether there is something missing when I just
> >continue, and I found the TableOfContent is cut.
> >But the text and the footnotes as well seem to be OK.
> >
> >
> >Is there a patch helping me to avoid this error?
>
> Why not use the following mechanism:
>
> \starttext
>
> \definelist[MyNoteList]
>
> \newcounter\MyNotes
>
> \long\def\MyNote#1%
> {\ifhmode\unskip\fi
> \doglobal\increment\MyNotes\relax
> \high{\MyNotes}%
> \expanded{\writetolist[MyNoteList]{\MyNotes}}{#1}}
>
> \dorecurse{1000}{test \MyNote{Whow, another note}\endgraf}
>
> \page \placelist[MyNoteList][criterium=text]
>
> \stoptext
>
> You can format the list any way you like, e.g.:
>
> \def\MyNoteList#1#2#3{#1\quad#2\endgraf}
>
> \placelist[MyNoteList][criterium=text,command=\MyNoteList]
>
> also, you can now cal lthem per chapter,
>
> \placelist[MyNoteList][criterium=chapter]
>
> etc
>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: endnotes: ! Dimension too large. ?? (another problem)
2004-01-11 13:37 Steffen Wolfrum
@ 2004-01-13 12:30 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2004-01-13 12:30 UTC (permalink / raw)
At 14:37 11/01/2004, you wrote:
>A big problem is that the \MyNote notes seem to be not "brakeable"
>
>If such a note is half a page long and all the notes are set at the end of
>the text
>it happens quite often that there is half a page empty (because the next
>note is too long).
>
>Do you also have a clue for this?
\definelist[MyNoteList]
\def\MyNoteList#1#2#3{#1\quad#2\endgraf}
\setuplist
[MyNoteList]
[criterium=text,
alternative=command,
command=\MyNoteList]
\newcounter\MyNotes
\long\def\MyNote#1%
{\ifhmode\unskip\fi
\doglobal\increment\MyNotes\relax
\high{\MyNotes}%
\expanded{\writetolist[MyNoteList]{\MyNotes}}{#1}}
\starttext
\dorecurse{10}{test \MyNote{Whow, another note \input tufte }\endgraf}
\page \placelist[MyNoteList][criterium=text]
\stoptext
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-01-15 15:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 12:27 endnotes: ! Dimension too large. ?? (another problem) Steffen Wolfrum
2004-01-15 15:41 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2004-01-11 13:37 Steffen Wolfrum
2004-01-13 12:30 ` 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).