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
which then requires
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,
so that one could then use
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.