From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Ordered list of references (figures)
Date: Tue, 22 Sep 2015 17:39:49 +0600 [thread overview]
Message-ID: <ACC3870C-86F1-4747-A4C4-954B6C1C9369@fiee.net> (raw)
In-Reply-To: <03CFD1FF-503B-4268-B920-38647895B297@fiee.net>
Am 2015-09-22 um 10:49 schrieb Henning Hraban Ramm <texml@fiee.net>:
> Hi wizards,
>
> in my current book projects I need a list of figure references, ordered by author and page number.
> Like this:
>
> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm (p.3ff.)
>
> How can I do that? I.e.
> - How can I assign an author name/reference to a figure?
> – How can I output that list?
>
> About like this?:
>
> \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban Ramm}
>
> \ref[t][someref] (\at{p.}[someref]) % put this in some command that is called by \listoffigures ?
>
>
> Extension: I need to integrate some unnumbered pages into the list, like the cover.
Ok, I can use registers for that:
\defineregister[fidx]
\setupregister[fidx][%
n=1,
compress=yes,
indicator=no,
distance=0.5em,
before={},
after={,},
prefix=none,
]
\setupheadtext[fidx=Figures]
I can influence the order like \fidx[spinoza]{Baruch Spinoza}, great.
That gets me as far as:
Hraban 2–3, 5, 7, 9–10, 12, 14, 16–17, 19, 21, 23–24, 26, 28, 30–31, 33, 35
Picasso 1–2, 4–5, 8–9, 11–12, 15–16, 18–19, 22–23, 25–26, 29–30, 32–33
But I’d like to have
Hraban (p.2–3, 5, 7, 9–10, 12, 14, 16–17, 19, 21, 23–24, 26, 28, 30–31, 33, 35), Picasso (p.1–2, 4–5, 8–9, 11–12, 15–16, 18–19, 22–23, 25–26, 29–30, 32–33)
For inserting a page name like "Cover" I tried
\writetoregister[fidx][Picasso]{Cover}
But \writetoregister is undefined!? (As well as \writetofidx)
What else can I use?
Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2015-09-22 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 4:49 Henning Hraban Ramm
2015-09-22 11:39 ` Henning Hraban Ramm [this message]
2015-09-28 4:28 ` Henning Hraban Ramm
[not found] ` <DE4A9B35-9A99-4723-938C-13DF56AEC02D@elvenkind.com>
2015-09-30 7:51 ` Henning Hraban Ramm
2015-09-30 9:34 ` Taco Hoekwater
2015-10-06 5:14 ` Henning Hraban Ramm
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=ACC3870C-86F1-4747-A4C4-954B6C1C9369@fiee.net \
--to=texml@fiee.net \
--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).