From: Andreas Mang <mang@imt.uni-luebeck.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Referring to multiple elements
Date: Thu, 13 Sep 2012 12:48:24 +0200 [thread overview]
Message-ID: <D74ECC69-1FBC-43DF-8D0B-0C9A73A20139@imt.uni-luebeck.de> (raw)
In-Reply-To: <20120913121532.3a6a107e@homerow>
Hi Marco,
I do not know if there is a solution to this. The following would work for your example:
\in{figure}[alpha]--\in[gamma]
Of course this is a quite rigid solution, that does not safeguard against changes in figure order...So probably not what you were looking for.
Cheers,
Andreas
Am Sep 13, 2012 um 12:15 PM schrieb Marco Patzer:
> Hi,
>
> how can I refer to multiple elements at the same time?
>
> \starttext
>
> \startplacefigure [title=foo, reference=alpha]
> \stopplacefigure
> \startplacefigure [title=bar, reference=beta]
> \stopplacefigure
> \startplacefigure [title=bar, reference=gamma]
> \stopplacefigure
>
> \in{figure}[alpha,beta,gamma]
>
> \stoptext
>
> This outputs “figure 1”. What I'd like to have is “figure 1-3”.
>
>
> Marco
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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:[~2012-09-13 10:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-13 10:15 Marco Patzer
2012-09-13 10:48 ` Andreas Mang [this message]
2012-09-14 7:33 ` Marco Patzer
2012-09-14 12:08 ` Sietse Brouwer
2012-09-16 12:56 ` Marco Patzer
2012-09-28 1:39 ` Sietse Brouwer
2012-09-28 8:56 ` Marco Patzer
2012-09-28 11:28 ` Sietse Brouwer
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=D74ECC69-1FBC-43DF-8D0B-0C9A73A20139@imt.uni-luebeck.de \
--to=mang@imt.uni-luebeck.de \
--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).