From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 uArpMDXBGmXWawAAauVa8A:P1 (envelope-from ) for ; Mon, 02 Oct 2023 15:10:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uArpMDXBGmXWawAAauVa8A (envelope-from ) for ; Mon, 02 Oct 2023 15:10:13 +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 9E60834B7C for ; Mon, 2 Oct 2023 15:10:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mWZXp3ST; 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=1696252213; 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=Fn3/P1N9VxhIWYpIPj5UaI37A85C9qKe77Hr0XeD6Wc=; b=Yw2TWECPkd3x0pvOZBXADs/rtcTH60eWoQk2GlSLOamuCsoOL2eEjX5kC/5rYX7DA1kuxn MEqSEeiGSM0khb42jX8BSKR59Bd4GG9dslyaih3myP8D8jtbH4OVlnHV17kFNfz89dN6YN PMQc7ANklvgObSANyeOskAK3eaPRkGVYYlPlGpHTTUYM2I39hU/qnrzOLG/2LWiodfMIfR vkY6YSwICZmaBD3EI/4zzdED1sxxQW65waIG7vmH/CbdMH1p6x/wkD4cJZoEFgITCsaBw2 m84EksdW1hKUb46LR8RCGu5YXUBLQ2FfxYDXDrgI5XDeEuVgWavtjGmXbUjlrA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mWZXp3ST; 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=1696252213; a=rsa-sha256; cv=none; b=OW0J1GEJxr1hsiHt8qMfFAM59uVVjax2uJg7PJ7MqyNAe2cGbOvjXbsN0pruGsO3auvTvj iRiHA2D9/AR6fA1B18YhM+4G0KGnt4q/vn8EaYuprs4kWM7OZHAEET5JrnBdNOW2sJJKKh t/7Cvzo1gjMY7hTKGYz7bXZ3By7tJq3OAP8q/NS1d6uB3/1vgmuuk1mKHbTK/bfhz2f5sv AOncFhut3WzYC9FbKWwGh20xqsfSZMca0OTKXlUi46JS1rhchsk/T4iNKJ9oST8PjsEyNc IWO84HWhiwZ1ny5gSYSRPd98x4k4VP/96Yy9RSZZ/dnSd2UbMJbdJtzdCSPMug== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnIfq-0006zz-ID; Mon, 02 Oct 2023 09:09:22 -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 1qnIfn-0006zV-UQ for emacs-orgmode@gnu.org; Mon, 02 Oct 2023 09:09:20 -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 1qnIfl-0000jG-No for emacs-orgmode@gnu.org; Mon, 02 Oct 2023 09:09:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id ACF4A240103 for ; Mon, 2 Oct 2023 15:09:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1696252155; bh=Fn3/P1N9VxhIWYpIPj5UaI37A85C9qKe77Hr0XeD6Wc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=mWZXp3ST5UD3NF/UZSAzjC3CiGDXFH59Zz77j6AX/sVUUMS0MT6e5fuLizw6U/FsD ayVTV0LLdLs7QcAdRSNoDtbYkmufNkY1u1qqNutQ/sIRHdqJe5OpFOpQwpoBh+uhXd xUcA32UP1X6E4XdwKxlc+wDqA88rqEp6hMeyq6Nfol2ZjIrchRNgrh93JoJzV/8CZs 1ztV079Zcu+zuu9HLEE9JyxeRioPVa0ob0iVHHTgMut82p+isDeVB49guOQ6AEz15W imrlDEk59KdO6wrA6QAY3ZodSWxvcA999/QppLJh6Yqw6hMYaamAZ4QGhza9hSfBKQ fRRXUYEQ8klFw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rzh9k5C3Rz9rxD; Mon, 2 Oct 2023 15:09:14 +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: <874jjatm6c.fsf@posteo.net> References: <874jjatm6c.fsf@posteo.net> Date: Mon, 02 Oct 2023 13:10:43 +0000 Message-ID: <87il7pw4oc.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.66; envelope-from=yantar92@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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.91 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 9E60834B7C X-Spam-Score: -5.91 X-TUID: qrfFXrdAXcOZ Juan Manuel Mac=C3=ADas writes: > An example of more "unexpected" (but very practical) uses is this one > with three subfigures and the subcaption package: > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 #+caption: Main caption > =E2=94=82 #+begin_figure > =E2=94=82 #+CAPTION: subcaption 1 > =E2=94=82 #+ATTR_LaTeX: :float subfigure :placement {\textwidth} :center = nil :width \textwidth > =E2=94=82 [[file:/usr/share/texmf-dist/tex/latex/mwe/example-image-a.jpg]] > ... > I think this is a case where certain elements of Org have evolved > (consciously or unconsciously) ahead of the names, and these names have > become somewhat outdated. There is not only the case of :placement. Even > :float seems imprecise, since can be used to create a minipage, and the > minipage environment is not a float environment. Would it be worth > making those names obsolete (with backward compatibility, of course) and > replacing them with slightly more precise ones? I think that new names > would give the user an idea of more variety of uses, like the examples I > have put here. I am not sure about obsolete - I see not reason to obsolete the intended use case. Your example is rather an abuse. What we might do it to introduce something like a new :wrap attribute: #+attr_latex: :wrap subfigure,{\textwidht} I think we have discussed something similar in the past, but more generic - allow wrapping arbitrary Org elements (headings, drawers, paragraphs, etc) on export. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at