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

2004-01-16 Thread Steffen Wolfrum
Hi,


Hans Hagen [EMAIL PROTECTED] 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
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


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

2004-01-16 Thread Hans Hagen
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  

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] endnotes: ! Dimension too large. ?? (another problem)

2004-01-15 Thread Steffen Wolfrum
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 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] endnotes: ! Dimension too large. ?? (another problem)

2004-01-15 Thread Hans Hagen
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

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] endnotes: ! Dimension too large. ??

2004-01-13 Thread Hans Hagen
At 14:09 11/01/2004, you wrote:
OK, but what should I do if I have a \MyNote in a \MyHeading ?

See error-log below:

! Undefined control sequence.
argument)
systems: end file SetupEnvironment at line 3
structure  : begin of sectionblock frontmatter
title  : - \headtext {content}
(./HSLN_1.tuo
! Undefined control sequence.
argument Influences in the 20th century\MyNotes


hm, are you sure that \MyNotes is defined at the top of your file?

hans  

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] endnotes: ! Dimension too large. ?? (another problem)

2004-01-13 Thread Hans Hagen
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
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] endnotes: ! Dimension too large. ??

2004-01-11 Thread Steffen Wolfrum
OK, but what should I do if I have a \MyNote in a \MyHeading ?

See error-log below:


! Undefined control sequence.
argument)
systems: end file SetupEnvironment at line 3
structure  : begin of sectionblock frontmatter
title  : - \headtext {content}
(./HSLN_1.tuo
! Undefined control sequence.
argument Influences in the 20th century\MyNotes 
  {: an introduction}
\limitatetext ...it \empty \normallimitatetext {#1
  }\leftlimit {#3}\else \spe...

\lijsttekstcommando #1-\begstrut #1
\endstrut 
\doattributes ...sname [EMAIL PROTECTED] \endcsname \fi {#4
  }\dostopattributes 
argument ...entury\MyNotes {: an introduction}}}
  \egroup \ifdim \wd 4=\zero...

\secondoftwoarguments #1#2-#2
  
...
l.8 ...: an introduction}}{1::0:0:0:1:0:0:0::7}{1}
  
?  Influences in the 20th century\MyNotes 
  {: an introduction}
\sanitizePDFdocencoding ...docencoding \edef #2{#1
  }
\doPDFinsertbookmark ...oding #3\to \bookmarktext 
  \scratchcounter #4\advance...

\doplacebookmarks ...okmarkelement \flushbookmark 
  \egroup \else \expanded {\...
to be read again 
   \par 
l.238 
  
? 



Thank you,

Steffen




Hans Hagen [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] endnotes: ! Dimension too large. ?? (another problem)

2004-01-11 Thread Steffen Wolfrum
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 [EMAIL PROTECTED] 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
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] endnotes: ! Dimension too large. ??

2004-01-10 Thread Hans Hagen
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
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context