From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KCfPDih4HWXvzwAA9RJhRA:P1 (envelope-from ) for ; Wed, 04 Oct 2023 16:35:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KCfPDih4HWXvzwAA9RJhRA (envelope-from ) for ; Wed, 04 Oct 2023 16:35: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 DCE9339FAA for ; Wed, 4 Oct 2023 16:35:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IwUlO7+W; 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=1696430120; 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=zaN67Mq55xkhxCNaTsha7c1x4ObzNOYc2uLFmPGiexg=; b=eOHT6ear6VOFTArvquHvWQPs64t32sSwgIPGTPkckjVlpQ203R+Ezm77xHJeDOYNlDZZAx rxFSY6lKeI4aXa0N7EeBtsPNasvR2jdQq3ldLDBU8h9/ytqarm26CKRFHmLYJyURna9qER 8l9Lr1T5Hud5f0wn6s2WZnjk/1L+RkQJL5BUyFLomckH++M6DVT5vf+Gd9d9TtXiPUlp/e 3E99hGhcDDIvAKICDlnJn7ntUu0VacIZnOmK658BpUYBy0CM5X8pCQXJs75YkP/21hELRA 2vDh3HaHUMxGpf80p38568D6LaZ2bNRzUnYYXflKIRUX2pN0LDANf+p5U0dIrg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696430120; a=rsa-sha256; cv=none; b=QtusJ2MXy5EURxa5J+eS9MH0IG+lQid/ZLrETHhMK5QK3Ob9LkhhrQmrzxGbp78Vi4J+Xe MKqnIuNpcnaWuOWaWCE+JUbjr3tTnYx5nkOVmjebe2YXsDR6KfR9YdORY+bqLT+wwDtu2A 04+yWgj8ghBn2qiitkM5ORxt8yOlulj2QYbgKMBckR64XLeTpekyQGjBPDL6eaeSl+IfXc EjI4r8qhLUgHSENfkDUsmSfGhmuYhCPsRbUbZ8bGM+umRHwhBLFlKIHxxiD75jg1fSijzq /lSJIduQ0HxfGpR9T38vOMpTebSmplDqskwOsj8EMlBUqpxc9LFKXY8FP8kdoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=IwUlO7+W; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qo2xK-0005uU-1F; Wed, 04 Oct 2023 10:34:30 -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 1qo2xD-0005u7-F7 for emacs-orgmode@gnu.org; Wed, 04 Oct 2023 10:34:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qo2xB-0003og-7r for emacs-orgmode@gnu.org; Wed, 04 Oct 2023 10:34:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F1D5D240105 for ; Wed, 4 Oct 2023 16:34:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696430056; bh=zaN67Mq55xkhxCNaTsha7c1x4ObzNOYc2uLFmPGiexg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=IwUlO7+WxgbD1HqF/lFk2Q6OZzWVGQG1imnWTbxKwe1MZd85xz5SIahX+5Zvnvsko Iwd93Ogo8vCgq2K2kKPVYbt10ErA1pnZImhbAn6uV6QpUg+ivI4TpO53Sc0t5LCfQb tPGICteW/dhkISsUPF66DhB7PvskUmMqWcxgLC8YfbAIrgDEp+BVkat4D+ltpnbC7R Fowt8ZJCvZGPlou1/wi9v4kGcav2K69rGc1OXpVBSSxDRTxkVgCMWqKVI0jpLNK1sA Byt1+cxlqQDdLKjyJGLttrtaXpSar+MlPgF2N2la+dUEtzfitWj7vs1wOM/aeJYi6B lzr9QHG+zWc5A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4S0xyv2zSNz6txZ; Wed, 4 Oct 2023 16:34:15 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Cc: orgmode Subject: Re: Are 'placement' and 'float' "obsolete terms" in inline images exported to LaTeX? In-Reply-To: <878r8ioiog.fsf@localhost> (Ihor Radchenko's message of "Wed, 04 Oct 2023 09:12:15 +0000") References: <874jjatm6c.fsf@posteo.net> <87il7pw4oc.fsf@localhost> <87leclnkf7.fsf@posteo.net> <878r8ioiog.fsf@localhost> Date: Wed, 04 Oct 2023 14:34:12 +0000 Message-ID: <87ttr6qwwr.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.95 X-Migadu-Spam-Score: -5.95 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: DCE9339FAA X-TUID: u2MAO5IogCoG 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 14125 and 14262 in org-manual.org). >>> What we might do it to introduce something like a new :wrap attribute: >>> >>> #+attr_latex: :wrap subfigure,{\textwidht} > > 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) th= is: #+ATTR_LaTeX: :environment minipage :options {\textwidth} [[file:/usr/share/texmf-dist/tex/latex/mwe/example-image-a.jpg]] 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. 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} --=20 Juan Manuel Mac=C3=ADas https://juanmanuelmacias.com https://lunotipia.juanmanuelmacias.com https://gnutas.juanmanuelmacias.com