[NTG-context] Problem with the latest Version of context 2004-02-23

Hans Hagen ntg-context@ntg.nl
Fri, 27 Feb 2004 14:18:50 +0100


At 13:42 27/02/2004, you wrote:
>I get the following error message from the latest version of context
>2004-02-23 when I run this "table":

i'll upload a new version

patch

\def\dostartnote% nog gobble als in pagebody
   {\bgroup
    \settrue\processingnote
   %\restorecatcodes % to be tested first
    \ifinregels % otherwise problems with \type <crlf> {xxx}
      \ignorelines % makes footnotes work in \startlines ... \stoplines
    \fi
    \ifnotesymbol
      \dolastnotesymbol
    \else
      \unskip\unskip
      \globallet\lastnotesymbol\dolastnotesymbol
    \fi
    \ignorespaces
    \localnoteinsert\currentnoteins\bgroup
      \penalty\notepenalty
      \forgetall
      \setnotebodyfont
      \redoconvertfont % to undo \undo calls in in headings etc
      \splittopskip\strutht  % not actually needed here
      \splitmaxdepth\strutdp % not actually needed here
      \iffixedlayoutdimensions % ugly hack, will change
        \linkermargeafstand\noteparameter\c!margeafstand
        \rechtermargeafstand\linkermargeafstand
      \else
        \def\linkermargeafstand{\noteparameter\c!margeafstand}%
        \let\rechtermargeafstand\linkermargeafstand
      \fi
      \ifcase\noteparameter\c!n\relax % new 31-07-99 ; always ?
        \doifnotinset{\noteparameter\c!breedte}{\v!passend,\v!ruim}\setnotehsize
      \fi
      \startpushnote
        {\ifx\lastnotenumber\empty \else
           \preparethenumber{\??vn\currentnote}\lastnotenumber\preparednumber
           \doifelse{\noteparameter\c!interactie}\v!nee
             {\noteparameter\c!nummercommando
                {\preparednumber\domovednote\v!volgendepagina\v!vorigepagina}}%
             {\naarbox{\noteparameter\c!commando % was \c!nummercommando, 
but compatible
                {\preparednumber\domovednote\v!volgendepagina\v!vorigepagina}}%
                [\s!fnt:f:\internalfootreference]}%
         \fi
         \doifelse{\noteparameter\c!interactie}\v!nee
           {\ifconditional\pagewisenotes
              \rawreference\s!fnt{\s!fnt:t:\internalfootreference}{}%
            \fi}%
           {\rawreference\s!fnt{\s!fnt:t:\internalfootreference}{}}}%
      \bgroup
      \postponenotes
      \aftergroup\dostopnote
      \begstrut
      \let\next}

Hans