ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: first and last note in page
Date: Sat, 26 Nov 2016 11:53:02 +0100	[thread overview]
Message-ID: <a971bea6-64d7-4429-1c76-3f704ca536f9@gmx.es> (raw)

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
___________________________________________________________________________________

                 reply	other threads:[~2016-11-26 10:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a971bea6-64d7-4429-1c76-3f704ca536f9@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).