From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KOKrNdZWfWGpEAEAgWs5BA (envelope-from ) for ; Sat, 30 Oct 2021 16:29:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UEtlMdZWfWHsXgAA1q6Kng (envelope-from ) for ; Sat, 30 Oct 2021 14:29:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 303429FAE for ; Sat, 30 Oct 2021 16:29:42 +0200 (CEST) Received: from localhost ([::1]:57608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgpMb-0005Bb-Be for larch@yhetil.org; Sat, 30 Oct 2021 10:29:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgpM1-0005BF-Sl for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 10:29:05 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgpLz-00040G-RU for emacs-orgmode@gnu.org; Sat, 30 Oct 2021 10:29:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 2B8C8240103 for ; Sat, 30 Oct 2021 16:29:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1635604141; bh=uB99oe9UEXk/YuivDwfdxA9K3TvhMfyt/SVx13Hw8wI=; h=From:To:Cc:Subject:Date:From; b=lmmHSUapTHNgQ/sr/yXUjJJCBsa++Edg5jz5DgQnlA29wCss+7ihSxeUMo7jGK44v HTBWCbQ0jgtz63uYw8UAvCPXbPzCLXOVGOlEqukTcTSwqGRxjtlGuDUZaVBl680hgl JE7LakTfcIV10IuYZ7czWS4Enmbrr00GudmheEPZGmWxlJcIgJ447r80iABVGoMtqO PJGGrSlHW7S3gKGaQRO8t+M93/UMxP4/1rBfcLG/Xw/W9jCR5HQtlxxG2Sy2FoJsUf mTa0INecHP5pDleSoPO2cGucA1xCAyI7GJeDGWLlB1iyag0GRiZCMc2OY5tZvM6W6L yv7Fm3kTq5Tig== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HhM9m37p4z6tmB; Sat, 30 Oct 2021 16:29:00 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Jason Ross Subject: Re: Sub-figures in Org Mode References: <87tuh87gp3.fsf@posteo.net> <9e59a818-7a92-c244-f6ba-9677cbdf6768@gmail.com> Date: Sat, 30 Oct 2021 14:28:59 +0000 In-Reply-To: <9e59a818-7a92-c244-f6ba-9677cbdf6768@gmail.com> (Jason Ross's message of "Tue, 26 Oct 2021 10:46:42 -0700") Message-ID: <87wnlu60yc.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635604182; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PfVLYyVX/hdJNdoME4+hcZrzTK8/7vt5AqpLFhXOFIU=; b=aKKzUmgffQzpFmXfNx8aE58+bq6s7AKl2fHF1Aw0hdIQDxVIs9J7owbbRYg9mYWkQ3tTbt Ne6C3ksVUTlze8FDkr33YHRo7PEDe+pPJJ/soRoL1w0jA73TN3ekUM2xDL03rR9T3TQekV MFHIgmETlgbmC8LPtUHthunjGJPEHpMO0v5K5QDfDyOvBgUB/bPpS/Mh3YVMwI+eBJDhh3 70w3l88lagdcvpWWq1mYndKgth5cErcqoNzaz94kCwASlvpVxJRko0tlC8ctZA1SALevr4 AxYfpcoI3CCb8qoJle2glSoLLAlQg8QkukBhclpD6DJ7E79dBrBsSdhfIrRHhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635604182; a=rsa-sha256; cv=none; b=kW9wjtRvD5+D5VaOdkoHEmkpmFU3sKL457iPcEExvEoNpVtx5FF0dY6ZRO8cAjq3SufR6k XHRPrAdI81kE2SYoRh/dzA20NPUORgOQGBmCg2qBr4jCQn4NOL3tEcTWp6n+XgO3T2rasT W0Fi/rbTQscOpoXnp67kFJ9ndRd50J1Jlsc9BPG00JZJAViinPzp+/S8uhFz5P/KnToleq BcHRu9fmuB/1gHzbmYBNZ/d0+VgH8UOm2UoNMuklc9TAYK0Goz2Ya2BGkfDWPZOFy4ZxxF buGqzi86J77QXfrLVOmNsuTJB6rYtviqtekNhkEVPH1bUVUKRb33K2zlawD3Xw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lmmHSUap; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=lmmHSUap; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 303429FAE X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: kRNyQq5kfelQ Hi Jason, sorry for the late reply. Jason Ross writes: > I'm looking at declaring a "figure" block the way you are, but > `org-element-map'ing over the links inside the block and processing them > with the "normal" link-handling machinery. That way, image options work > the same way in a subfigure as they do normally. I really like your idea, and it's more consistent with the Org syntax, since (as you say) the images behave like images and it is not necessary to enter the options via marks within the link description, which is somewhat hacky. I think your idea could also be adapted to LaTeX (and HTML) backends... Best regards, Juan Manuel