From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0GjyEMBkIGWc1QAAG6o9tA:P1 (envelope-from ) for ; Fri, 06 Oct 2023 21:49:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0GjyEMBkIGWc1QAAG6o9tA (envelope-from ) for ; Fri, 06 Oct 2023 21:49:20 +0200 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 B283B66F80 for ; Fri, 6 Oct 2023 21:49:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=eWAH+a52; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696621760; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Op1aMe1b22+Nbd5w7ZfbJblpnjtYMTyQE2fCnwqco00=; b=ukpoy1IwXRl6Q16uo3fnuK4NfD4er3xl2PzZ/UvrqeqNud0I03HbpPVD7CI8dQiHGts1F3 MZ695JgbmuwHRK8k4H2u+XZLsaU6MQ2pSKw20Fgvr/q3NEiP8hUDeq3fputHjtTnCyKY3x XOJEdYjjH33ErPoRusU6o3/UucpzwmjAj8hvok/C81OLrjTItd6bSdCwwOVt1q0FArVKuh ErnGULMrHfbf0CvsjBvQxxn5DR6SlEFAsDoXR9RyBqF38eHRhGN2msKWZiGkvMhWwteBVm 11x9F1gjXeplR89qJ9tgA0yJNzX2jR2vpbzikK6YnEFN7jNPwvfxh9hZ0BGU9g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696621760; a=rsa-sha256; cv=none; b=IxPG1T2a8hyXt2DA4h7pSYvHeO2mrpCdvPY2sN+mWUVjT2VPcweXkSY0UZZ24ebmgpk9b5 9TZVpu+jcc5NMOXNpOyA9spqvmptaQ7WX3KeTwZEuBXmW5V7L+W14W1pGTFpEFIImMzKUk Ul+RGOfj3KYflfEKYeuI05n+pnLYKPFS8ByM4qJU2LW5QkFFWo5bNUcfP8RLPlRbRIwmMH ISKPiSe+Iu6FK/KVe77MKMvb23zj9mIn6pVTOvy+DKyB1UWVz18DAfY3uqzpcqcgieaqcm i8CPQxHCrBQBBb3/HoOTvKovq3cjpaYHm4bmxC3HypAO9qFw6Uajat0jB7eaww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=eWAH+a52; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoqoH-0001dC-4p; Fri, 06 Oct 2023 15:48:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoqoF-0001d2-Sp for emacs-orgmode@gnu.org; Fri, 06 Oct 2023 15:48:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoqoE-0006QG-2A for emacs-orgmode@gnu.org; Fri, 06 Oct 2023 15:48:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B115624002A for ; Fri, 6 Oct 2023 21:48:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696621702; bh=Op1aMe1b22+Nbd5w7ZfbJblpnjtYMTyQE2fCnwqco00=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=eWAH+a522tNsYFOElj2VEe1XaGLsa3AtkT5IHvMrXexQyl0nD7TgFLy3DTYlbeYHU FYwIwULALHiwdMxAAqT8daApkDTEK4lAS9LAnYtnxkLkrArGLfxCfEvUOPHl3xoQit SjQKxHCfo8sfMZHxQpy7vGmAINiSb2k1gVBlJFgXYflZC/790lVeDu7J+1CtxE3chq AOxRkh4KtUH6j8HjxLLwGWV/PKlg1RhnbhWQlsQIBxUMTtjo5+LzbDtkjHF9hlgb/z acZCx8jCUqRNqnOlUUIOGrMTVI1b7+8wnXOzNEqQbMNoouIZ3OjbYeYooQLcyi9nAj Yu7aERFhTJrcQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S2JrP4q4Nz9rxB; Fri, 6 Oct 2023 21:48:21 +0200 (CEST) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: Are 'placement' and 'float' "obsolete terms" in inline images exported to LaTeX? In-Reply-To: <87v8bj4n16.fsf@posteo.net> References: <874jjatm6c.fsf@posteo.net> <87il7pw4oc.fsf@localhost> <87leclnkf7.fsf@posteo.net> <878r8ioiog.fsf@localhost> <87ttr6qwwr.fsf@posteo.net> <87zg0vg1do.fsf@localhost> <87v8bj4n16.fsf@posteo.net> Date: Fri, 06 Oct 2023 19:49:57 +0000 Message-ID: <87cyxr1qfu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H5=0.001, RCVD_IN_MSPIKE_WL=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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -7.59 X-Spam-Score: -7.59 X-Migadu-Queue-Id: B283B66F80 X-TUID: YyIDBHc5UxeS Juan Manuel Mac=C3=ADas writes: > Ihor Radchenko writes: > >>> In tables there is more consistency because :float is a float >>> environment (table or any arbitrary value) and :environment is a table >>> environment (tabular or any arbitrary value). Here :placement :options >>> and :align act as what is expected of them: >>> >>> #+ATTR_LaTeX: :environment foo :float var :placement [!h] :options [bla= h] :align cccc >>> |a|a|a|a| >> ... >> This is not documented and is possibly a bug. > > I would say that it is the expected behavior: :float is for a float > environment and :environment is for the environment that builds the > table (by default tabular). According to the manual: Oops. You are indeed right. I missed that both :float and :environment are documented for tables. > The difference is that with images, except in cases of somewhat more > complex constructions where there are subfigures, there is only one > environment, "figure" by default or any other arbitrary one. There was a > commit a while ago, I don't remember when, that allowed :float to > support any arbitrary string as the float environment name, in images > and tables. In images ':float t' is figure (by default) and in tables it > is table (also by default). So, the difference between :environment and :float is that :float also encapsulates \caption in addition to the actual environment (like tabularx or includegraphics) used for transcoded exported element. I can see how :float+:placement can be imprecise and that the existing :environment indeed serves a different purpose. (It might be worth clarifying this distinction in the manual - it seems arbitrary from the first glance). But what would be the better name then? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at