From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4JahBfRqwV5ZFgAA0tVLHw (envelope-from ) for ; Sun, 17 May 2020 16:48:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qBVaAfRqwV5bXQAAbx9fmQ (envelope-from ) for ; Sun, 17 May 2020 16:48:52 +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 C8C789400BF for ; Sun, 17 May 2020 16:48:50 +0000 (UTC) Received: from localhost ([::1]:53996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaMT2-0004Wb-Sv for larch@yhetil.org; Sun, 17 May 2020 12:48:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaMSO-0004WN-AI for emacs-orgmode@gnu.org; Sun, 17 May 2020 12:48:08 -0400 Received: from gateway21.websitewelcome.com ([192.185.45.133]:32059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaMSM-0005F5-Op for emacs-orgmode@gnu.org; Sun, 17 May 2020 12:48:07 -0400 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway21.websitewelcome.com (Postfix) with ESMTP id D04AA400CE91F for ; Sun, 17 May 2020 11:48:04 -0500 (CDT) Received: from box2035.bluehost.com ([74.220.219.237]) by cmsmtp with SMTP id aMSKjJF451s2xaMSKjqkT3; Sun, 17 May 2020 11:48:04 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tsdye.online; s=default; h=Content-Type:MIME-Version:Message-ID:Date: In-reply-to:Subject:Cc:To:From:References:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WfOAP0AIsl8m1Kq2CYOrO7OppK/VGIMm6rUR79mpSGo=; b=l28XzUXOdfwRXIvDQgvbmTJhk 8HwyRYEsFw6WpWTxK/hN1Y5a4sz0wYqpkzxjxv37vc/JSZMpVa7zSGAUHg8KxX3cSHK5z3uOvC46k qoqHMrRTyOQsyHV2u0311v86OUqkw8NG3WnjPVeg3SpeQfxNBGHA+V80omEBIhCYoDSpA4lDl1nfm HEe312rBVV3uw8pz7IDNkMotc8wKU81vyGQj3pA0YhfWJ7nvbiBHbHWDSuwm8KKf4LII9NbW7U4W8 pP3bCBkNmCjQA/gVqeneS3v7r8qfBJ4R37xCQa3/5jITtX2+Wac+7jFwgVP2xpFvDqwsm2swzmVr9 LBxdv63Ww==; Received: from cpe-98-155-168-227.hawaii.res.rr.com ([98.155.168.227]:33846 helo=lekeleka.tsdye.online) by box2035.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jaMSJ-003Nlf-PZ; Sun, 17 May 2020 10:48:03 -0600 References: <87o8qoqtau.fsf@kyleam.com> <87wo5b7ob6.fsf@tsdye.online> <87h7wfty72.fsf@kyleam.com> User-agent: mu4e 1.2.0; emacs 26.3 From: "Thomas S. Dye" To: Kyle Meyer Subject: Re: [PATCH] Add margin option to float for figure in ox-latex.el In-reply-to: <87h7wfty72.fsf@kyleam.com> Date: Sun, 17 May 2020 06:48:00 -1000 Message-ID: <875zcucxtr.fsf@tsdye.online> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2035.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tsdye.online X-BWhitelist: no X-Source-IP: 98.155.168.227 X-Source-L: No X-Exim-ID: 1jaMSJ-003Nlf-PZ X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-98-155-168-227.hawaii.res.rr.com (lekeleka.tsdye.online) [98.155.168.227]:33846 X-Source-Auth: tsd@tsdye.online X-Email-Count: 3 X-Source-Cap: dHNkeWVvbmw7dHNkeWVvbmw7Ym94MjAzNS5ibHVlaG9zdC5jb20= X-Local-Domain: yes Received-SPF: pass client-ip=192.185.45.133; envelope-from=tsd@tsdye.online; helo=gateway21.websitewelcome.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/17 12:48:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: emacs-orgmode@gnu.org, Pablo Palazon , Louis Gostiaux , "Thomas S. Dye" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 X-Spam-Score: 6.29 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tsdye.online header.s=default header.b=l28XzUXO; dmarc=none; 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-Spam: Yes X-TUID: kVRkYZQJOtBV Aloha Kyle, Barring a guru's user-end customization, Rasmus's figure :environment attribute idea is a good one. The LaTeX float package has a facility to create and name environments that are handled like figures. A figure :environment attribute in Org mode would provide a straightforward and flexible path to transcode them. Thanks for looking into this. Let me know if you have questions. All the best, Tom Kyle Meyer writes: > Thomas S. Dye writes: > >> This patch produces a LaTeX environment, marginfigure, that >> isn't >> part of the standard. AFAIK, marginfigure is defined in the >> sidenotes package and separately in the tufte-latex class, >> neither >> of which Org mode loads by default. If the patch is applied, >> then >> one of these packages should be added to the list of default >> LaTeX >> packages so ox-latex doesn't export code it is unable to >> compile. >> >> My takeaway from the discussion surrounding ox-tufte-latex >> several >> years ago is that support for non-standard LaTeX constructs >> should >> not be part of Org mode core because they complicate >> maintenance >> unduly. > > Thanks for your input and the helpful summary. The stance in > the second > paragraph sounds like a sensible one. > > Given the desire to use the marginfigure environment has popped > up a few > times, I wonder if an ox-latex guru can suggest a user-end > customization > that would enable the use of that environment. I suppose an > alternative > is Rasmus's proposal of an :environment attribute for figures > [*] that I > mentioned in a sibling thread. > > [*]: https://yhetil.org/orgmode/878u31ycc5.fsf@gmx.us/ -- Thomas S. Dye https://tsdye.online/tsdye