From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ALUeMd81IGX5cAAA9RJhRA:P1 (envelope-from ) for ; Fri, 06 Oct 2023 18:29:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ALUeMd81IGX5cAAA9RJhRA (envelope-from ) for ; Fri, 06 Oct 2023 18:29:19 +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 68434330CC for ; Fri, 6 Oct 2023 18:29:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OG16oNdO; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696609759; 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=oCbhrwB59WNWUn8qpvjWK3ifdA7jtW0B7Viesw10h0c=; b=YKk9U2uEr9X36obRnX0P4lyI9bH2dg9s9VMdYErFDUw8y9rZye1IpXNMa6pFKyi9wGs48d 9WZATK/QmfXr+JPZq0lct49h9AyJaNGCvZbh7SzQhxWRW3eqWXAl9TfCWQ0jSJ8AonGKlG /ZF8lKR9wONCyDoNlyCUdOVIUC9sTSptkpn/9t4QQULLDkhSRl6TwjYYlwogSjihNVP7lO 0192y1KEsnFuupBQe8phycuFudtmBNMmc1yKRGvs5BOYzcT/m1LkcyoPJe9fRMMHUkjRTQ 0ikyVso2+0DMwej51y3Y9W+rdACnUn5BmVXVZrrN3XLgG+Lz3ec6sITO/v9Zww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OG16oNdO; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696609759; a=rsa-sha256; cv=none; b=MAqJPWb9lVSwuprCDqkhuwxa//kdJV3rTmOg0BhqE/wZ6a0lx/9Ecd9AmtZXsSPrhFEO6q oxKDUMmDqpjyknY6I0Ir0lkJCvc1iVKFEHjUuAyDmc/ElnN9kE9RLXulLvgYBQzGhHj3F9 p6A/kgmx+9gyZhcwDjoGsADvFYmpjVBbzuYaGbP+5G0RkxrQQzu4gRguX9PXDRtsju32aS Zyac7Vb7+ayQKQ2MZH3wfhKX7PkMcN8I9x5ZQPiHyXLHGrfjOyN9U4uE/HtirBL/Zv6YjB RCCjqqJcKuic46ic4NToeaPDD9m7YLANIP1uzecQy55+DpvUQbOBd2M1pjYdkA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qongj-0006xQ-2n; Fri, 06 Oct 2023 12:28: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 1qongh-0006xF-91 for emacs-orgmode@gnu.org; Fri, 06 Oct 2023 12:28: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 1qongc-0006xe-V6 for emacs-orgmode@gnu.org; Fri, 06 Oct 2023 12:28:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 66D8524002A for ; Fri, 6 Oct 2023 18:28:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696609700; bh=oCbhrwB59WNWUn8qpvjWK3ifdA7jtW0B7Viesw10h0c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=OG16oNdOYcsHz9+kkUUbh+js7QOX2Ns9roCCn5HfKF/Krvd9/F0jh+CdJInBv9UQn ICfFnaWcZ2h0Jwc4n2bkrGozKsAKL1zppy7vE9v33gGu7+oapbxoROliU3LT33BO2z t49WEtzjGnBUzI5mNJQaD/h7vTyN9HvfbTeajpZeNKquC04m7EHM4q8kMd58B3REE7 NaTg07Wz6Eq09I3OH6Pbn11sRCf5kjE4E8gvUDZOmFE9WTs/ixZ7ABwIrqOAdkCOec jBow7aQmgpn9VG4ethviGwzT/FxvllORNtRXqAmbTnnmr0nAvcyVsxxCR64bT0Vyoi 6DcsbctZ0xJtg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S2DPb5Rq7z6tsj; Fri, 6 Oct 2023 18:28:19 +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: <87ttr6qwwr.fsf@posteo.net> References: <874jjatm6c.fsf@posteo.net> <87il7pw4oc.fsf@localhost> <87leclnkf7.fsf@posteo.net> <878r8ioiog.fsf@localhost> <87ttr6qwwr.fsf@posteo.net> Date: Fri, 06 Oct 2023 16:29:55 +0000 Message-ID: <87zg0vg1do.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-Spam-Score: -5.51 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 68434330CC X-Spam-Score: -5.51 X-TUID: Czol5cBcZ1H0 Juan Manuel Mac=C3=ADas writes: > Ihor Radchenko writes: > >> Further, we also provide :environment and :options attributes that do >> the same thing, but without special treatment of standard >> t/multicolumn/wrap/sideways/nil values in :float. > > t/multicolumn/wrap/sideways/nil... and any arbitrary value (see lines 141= 25 > and 14262 in org-manual.org). My point is that actual "t", "multicolumn", "wrap", "sideways", and "nil" LaTeX environments are not allowed. >> So, it might be even better idea to extend :environment/:options >> attributes to more elements - their names make more sense and the values >> do not have a pre-defined special meanings. > > Currently it is not possible in inline images (if I don't miss anything) = this: > > #+ATTR_LaTeX: :environment minipage :options {\textwidth} > [[file:/usr/share/texmf-dist/tex/latex/mwe/example-image-a.jpg]] Sure. But we might as well implement :environment support in addition to :f= loat. > Implementing :environment/:options here would result in redundancy with: > > #+ATTR_LaTeX: :float minipage :placement {\textwidth} > [[file:/usr/share/texmf-dist/tex/latex/mwe/example-image-a.jpg]] > > which produces the same. Sure. But didn't you motivate the change with the confusing _name_ :float? IMHO, :environment is more clear. > 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 [blah]= :align cccc > |a|a|a|a| > > =3D=3D=3D> > > \begin{var}[!h] > \centering > \begin{foo}[blah]{cccc} > a & a & a & a\\[0pt] > \end{foo} > \end{var} > \end{document} This is not documented and is possibly a bug. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at