78.2 Footnotes

<..context core-not..>
 \def\dostartnote% nog gobble als in pagebody
   {\bgroup
    \settrue\processingnote
    \iftypesettinglines \ignorelines \fi
    <.context footnote mark.>%
    \ignorespaces
    \a:footnote
    \bgroup
      \penalty\notepenalty
      \forgetall
      \setnotebodyfont
      \redoconvertfont
      \bgroup
        {\ifx\lastnotenumber\empty \else
           <.context footnote target mark.>%
         \fi
         <.context footnote id.>}%
         \aftergroup\dostopnote
         \let\next}
 -_-_-

<..context core-not..>+
 \def\dostopnote{%
    \egroup
    \b:footnote
    \egroup
    \kern\notesignal\relax}
 
 \NewConfigure{footnote}{4}
 \NewConfigure{footnotemark}{2}
 -_-_-

<..context footnote mark..>
 \begingroup
   \a:footnotemark
    \let\rawreference\:gobbleII
    \ifnotesymbol       \dolastnotesymbol
    \else \unskip\unskip \globallet\lastnotesymbol\dolastnotesymbol
    \fi
    \b:footnotemark
 \endgroup
 -_-_-

<..context footnote target mark..>
 \c:footnote
 \preparefullnumber{\??vn\currentnote}\lastnotenumber\preparednumber
 \doifelse{\noteparameter\c!interaction}\v!no
   {\noteparameter\c!numbercommand
      {\preparednumber\domovednote\v!nextpage\v!previouspage}}%
   {\gotobox{\noteparameter\c!command
      {\preparednumber\domovednote\v!nextpage\v!previouspage}}%
      [\s!fnt :f:\internalfootreference]}%
 \d:footnote
 -_-_-

<..context footnote id..>
 \doifelse{\noteparameter\c!interaction}\v!no
   {\ifconditional\pagewisenotes
      \rawreference\s!fnt{\s!fnt :t:\internalfootreference}{}%
    \fi}%
   {\rawreference\s!fnt{\s!fnt :t:\internalfootreference}{}}%
 -_-_-