From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104704 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Luca Mauri Newsgroups: gmane.comp.tex.context Subject: Figure labels in combinations Date: Tue, 30 Jul 2019 11:20:03 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0357266546997083243==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="174068"; mail-complaints-to="usenet@blaine.gmane.org" To: "=?utf-8?Q?ntg-context=40ntg.nl?=" Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 30 11:25:33 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsONv-000j0I-IE for gctc-ntg-context-518@m.gmane.org; Tue, 30 Jul 2019 11:25:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 17F7C152F5A; Tue, 30 Jul 2019 11:25:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Up-FyXqX4IpX; Tue, 30 Jul 2019 11:25:08 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4AC91152DE2; Tue, 30 Jul 2019 11:25:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A99EF152D07 for ; Tue, 30 Jul 2019 11:25:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQTfJA4aUcMW for ; Tue, 30 Jul 2019 11:25:06 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=212.227.17.22; helo=mout.gmx.net; envelope-from=luca.mauri@gmx.com; receiver= X-Greylist: delayed 300 seconds by postgrey-1.36 at zapf.ntg.nl; Tue, 30 Jul 2019 11:25:05 CEST Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 01534152C44 for ; Tue, 30 Jul 2019 11:25:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564478705; bh=bDGoZbNJmn6Kt1b/yxVg20hROcmPD8dzp54J5pcWwUw=; h=X-UI-Sender-Class:Date:From:To:Subject; b=OAXZGB9qP5D1BR+HsY4vZ57H3YRc9vKrgObPLjbYaNo/7ygwsNPsCwFzIAQu/qSFF CKKwrXJagq6TFlQ6fS9MEoq7XK7vSfWGQ6q6ZWgwBUQdE6AXb02jsptraQ4LloYZPc RINRCQo2dO7DIta3hbY+qqkKr7HQySVTyD6VwRPs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from hydra ([82.63.56.102]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0LwrS8-1iPdaG35jM-016SlR for ; Tue, 30 Jul 2019 11:20:04 +0200 X-Mailer: Mailspring X-Provags-ID: V03:K1:iayO7Msg9GIIQKx5LBSysO8WPV1ZJ2oEJ/iitzJtKHlGPSfvp6W Z4WFwNNbPXga6dc09ZZHaBj01/HmtvEB4LwYP8DoVQTe08S2eUhMekfpK10HSurieJoF348 FlGiNrOHWSCbOYEGa2bBPP4bkWnt6PinMUwDgfvE/t9HTqsvq1hKVeW65J2wMYZEGRS63SL YAYSbsUa9rUOj6TNi66Gw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Q0JrVMJ6Byw=:PKHvDUft6kqDr9kzdtUQ5X A+b6nSCKil2ASUuBfhxzMpBLFSdWZX1xgOCndc05eReW1W1pxhm+mJumN7+oTJQzhlNzGHWFL 9zIRd/gnY68p4LmwB0P6qGuUOnG9jKHchzVb2egkjfMtAP+oAst0sAzX8Eub0IoelekUax8rU vGjmZUZ8LdYg/qhkdc6oaJ/a8FZFptASkKYQGXd1h1GJjFdGx+SJISgTgVYtmZYWaURXD13eP zT/WPJvlsX6bdSYMxGyuDTs2atJdp3fuISO7+pXIz6YlBDiNlkEzjNDFoz8Te4zySpZNrcKgZ ljEDlaSDtS0Nkw2VT6guFbAhNkdu8GzEvNdc2TsSKU1ZKcnaC+XIlKcFL01iHLYmkhwGAkztv l1iCWaX6QbaI5xS7GAqd2o4BuoqT4D2/iB8wNq5WRIPsMQ3MAxf01KFLS0+CmhBER8o5TUA8r EutLb7uOafRE5FvthkPQtjWUT6YsjAg1axWxqa607xf1Mo1CBZFyoqOuAjMHNzWaNw8qJjPVW qCqCtAO3+wYDI5Z0oTEnCGwSAw0tbn3+pzlY5w6NjVjyTqcbUNOMzDEs+MmE85+mV4WXnWqMY Qxo9rX5s9cUZu+eNq1pIHtjs2suhmB0jZYw1jX+MfnmIcGlKLkQ/reWP40i7JGZ4GCY2P/QPw ZUVjQ7Lav9YnWhvYTL/Vsa3oAxwhwVH50FlN47gIH3J9TbUWvrljPGOokPxKrAaP3Bh7Qnm8h nBIvJxEeaNDaV7ImXNQKuEVswptsG7HMHLtKz5sjUjG4WFf0Sh+mEthwnYnS4oso6X6dPmkw X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:104704 Archived-At: --===============0357266546997083243== Content-Type: multipart/alternative; boundary="5d400bc3_110c73ff_a92" --5d400bc3_110c73ff_a92 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --5d400bc3_110c73ff_a92 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I am trying to typeset two or more figures next to each other, insid= e a floating environment, each with its own label. I am familiar with a m= echanism of the form

=5Cstartplacefigure=5Breference=3Dpic=5D=
=5Cstartcombination=5B3*1=5D
=7Bfigure 1=7D=7Ba=7D
=7Bfigure 2=7D=7Bb=7D
=7Bfigure 3=7D=7Bc=7D
= =5Cstopcombination
=5Cstopplacefigure

which then = requires

=5Cin=7Bfigure=7D=7Bb=7D=5Bpic=5D

to= reference, as documented on the context wiki. The problem with this mech= anism is that if figure 2, say, is moved elsewhere and ts label becomes =22= d=22, all references to it have to be corrected by hand. Is there a mecha= nism to reference directly the figures inside, without having to depend o= n the outer float=3F What I am thinking of, is an hypothetical =22=5Cplac= einlinefigure=22 command, so that one could write, in analogy with =5Cpla= cefigure,

=5Cstartplacefigure=5Bnumber=3Dno=5D
=5C= startcombination=5B3*1=5D
=7B=5Cplaceinlinefigure=5Bpic1=5D=7Bf= igure 1=7D=7D=7B=7D
=7B=5Cplaceinlinefigure=5Bpic2=5D=7Bfigure = 2=7D=7D=7B=7D
=7B=5Cplaceinlinefigure=5Bpic3=5D=7Bfigure 3=7D=7D= =7B=7D
=5Cstopcombination
=5Cstopplacefigure
so that one could then use

=5Cin=5Bpic1=5D

=
Of course, there is then the issue of having the ability to use the = same counter of the placefigure environment, and of disabling the combina= tion caption. I could not find anything along these lines in the document= ation; also tried to concoct a =22nonfloating=22 float or to use an enume= ration, but was not able to come up with a solution.

Luca
--5d400bc3_110c73ff_a92-- --===============0357266546997083243== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0357266546997083243==--