From: Luca Mauri <luca.mauri@gmx.com>
To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Figure labels in combinations
Date: Tue, 30 Jul 2019 11:20:03 +0200 [thread overview]
Message-ID: <D3C6811D-5686-4699-B184-CA71697D1101@getmailspring.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1356 bytes --]
I am trying to typeset two or more figures next to each other, inside a floating environment, each with its own label. I am familiar with a mechanism of the form
\startplacefigure[reference=pic]
\startcombination[3*1]
{figure 1}{a}
{figure 2}{b}
{figure 3}{c}
\stopcombination
\stopplacefigure
which then requires
\in{figure}{b}[pic]
to reference, as documented on the context wiki. The problem with this mechanism is that if figure 2, say, is moved elsewhere and ts label becomes "d", all references to it have to be corrected by hand. Is there a mechanism to reference directly the figures inside, without having to depend on the outer float? What I am thinking of, is an hypothetical "\placeinlinefigure" command, so that one could write, in analogy with \placefigure,
\startplacefigure[number=no]
\startcombination[3*1]
{\placeinlinefigure[pic1]{figure 1}}{}
{\placeinlinefigure[pic2]{figure 2}}{}
{\placeinlinefigure[pic3]{figure 3}}{}
\stopcombination
\stopplacefigure
so that one could then use
\in[pic1]
Of course, there is then the issue of having the ability to use the same counter of the placefigure environment, and of disabling the combination caption. I could not find anything along these lines in the documentation; also tried to concoct a "nonfloating" float or to use an enumeration, but was not able to come up with a solution.
Luca
[-- Attachment #1.2: Type: text/html, Size: 1614 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2019-07-30 9:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-30 9:20 Luca Mauri [this message]
2019-07-30 14:52 ` Alan Braslau
2019-07-30 16:32 ` Luca Mauri
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=D3C6811D-5686-4699-B184-CA71697D1101@getmailspring.com \
--to=luca.mauri@gmx.com \
--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).