[NTG-context] first and last note in page

Pablo Rodriguez oinos at gmx.es
Sat Nov 26 11:53:02 CET 2016


Hans,

I have the following sample:

    \setuppagenumbering[A6]

    \setupheadertexts[{\getmarking[chapter]}]

    \definesectionblock
        [whatcomeslast]
        [lastmatter]
        [number=no]

    \setupsectionblock
        [lastmatter]
        [page=no,
         after=\page]

    \setupnote
        [footnote]
        [location=text]

    \starttext
    \chapter{Knuth}
    \dorecurse{50}{\input knuth\footnote{\input zapf}}
    \chapter{Notes}\placefootnotes
    \stoptext

Is there any way to have the first and last footnote number in header
text, so that it will be "Notes 5 to 10"?

I think something like \firstreferenceinpage[footnote] and
\lastreferenceinpage[footnote] would make sense here.

(This could be also applied to \firstreferenceinpage[linenumber] and
\lastreferenceinpage[linenumber].)

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk


More information about the ntg-context mailing list