ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	denis.maier@unibe.ch
Subject: Re: Heading for endnotes / grouped by chapter endnotes
Date: Tue, 29 Jun 2021 16:20:04 +0200	[thread overview]
Message-ID: <1f128189-9165-822c-5386-eb45fcb98a38@xs4all.nl> (raw)
In-Reply-To: <511a18d7930447cba6d76484d8051dd2@unibe.ch>

On 6/29/2021 12:53 PM, denis.maier@unibe.ch wrote:
> Hi,
> 
> may I reask the question from below? Would be really great if something 
> grouped endnotes were possible...

i need some lines to the code base for that (everything is actually 
already in place to support that)


\setuphead[part][placehead=yes]

\setupnotes
   [endnote]
   [way=bypart]

\setupnotes
   [endnote]
   [location=list]

\starttext

\part{First Part}

asdf\endnote{asdf}
jklö\endnote{jklö}

\part{Second Part}

asdf\endnote{asdf}
jklö\endnote{jklö}

\page

\setuplist
   [part]
   [after={\blank[samepage,big]\placelist[endnote][criterium=part]}]

\placelist
   [part]
   [criterium=all]

% \placelist
%   [endnote]
%   [criterium=text]

\stoptext

You can always ask for alist of notes but in this case there have not 
yet notes been flushed so that's what i need to add.

Hans


> Best
> 
> Denis
> 
> *Von:*ntg-context <ntg-context-bounces@ntg.nl> *Im Auftrag von 
> *denis.maier@unibe.ch
> *Gesendet:* Donnerstag, 24. Juni 2021 13:05
> *An:* ntg-context@ntg.nl
> *Betreff:* [NTG-context] Heading for endnotes / grouped by chapter endnotes
> 
> Hi,
> 
> I have two questions regarding endnotes:
> 
> 1. Is there a way to add a heading automatically to the endnotes placed 
> with \placenotes[endnote]?
> 
> 2. I reset the endnote number at each part. Is there a way to insert the 
> title of the corresponding part heading to the endnotes?
> 
> I have searched the wiki and the mailing list, and I’ve found two 
> relevant questions, but no answers.
> 
> https://www.mail-archive.com/ntg-context@ntg.nl/msg68490.html 
> <https://www.mail-archive.com/ntg-context@ntg.nl/msg68490.html>
> 
> https://www.mail-archive.com/ntg-context@ntg.nl/msg34163.html 
> <https://www.mail-archive.com/ntg-context@ntg.nl/msg34163.html>
> 
> Best,
> 
> Denis
> 
> ===================================
> 
> \setuphead[part][placehead=yes]
> 
> \setupnotation
> 
>    [endnote]
> 
>    [way=bypart]
> 
> \starttext
> 
> \part{First Part}
> 
> asdf\endnote{asdf}
> 
> jklö\endnote{jklö}
> 
> \part{Second Part}
> 
> asdf\endnote{asdf}
> 
> jklö\endnote{jklö}
> 
> \placenotes[endnote]
> 
> \stoptext
> 
> =============================
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2021-06-29 14:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 11:05 denis.maier
2021-06-29 10:53 ` denis.maier
2021-06-29 14:20   ` Hans Hagen [this message]
2021-06-30  8:06     ` denis.maier
2021-06-30  9:27       ` Hans Hagen
2021-06-30 14:57         ` denis.maier
2021-06-30 16:09           ` Hans Hagen
2021-06-30 16:15             ` Hans Hagen
2021-06-30 19:04             ` denis.maier
2021-06-30 22:11               ` Hans Hagen
2021-06-30 19:39           ` Rik Kabel
2021-07-02  7:50             ` denis.maier

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=1f128189-9165-822c-5386-eb45fcb98a38@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=denis.maier@unibe.ch \
    --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).