ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* first and last note in page
@ 2016-11-26 10:53 Pablo Rodriguez
  0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez @ 2016-11-26 10:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-26 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-26 10:53 first and last note in page Pablo Rodriguez

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).