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 QDP1I8NOwF57YgAA0tVLHw (envelope-from ) for ; Sat, 16 May 2020 20:36:19 +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 XwijH8NOwF5cMAAAbx9fmQ (envelope-from ) for ; Sat, 16 May 2020 20:36:19 +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 E266494042C for ; Sat, 16 May 2020 20:36:18 +0000 (UTC) Received: from localhost ([::1]:57546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja3Xd-0003z2-QV for larch@yhetil.org; Sat, 16 May 2020 16:36:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja3XE-0003yq-DJ for emacs-orgmode@gnu.org; Sat, 16 May 2020 16:35:52 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:59489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja3XC-00025y-MD for emacs-orgmode@gnu.org; Sat, 16 May 2020 16:35:51 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 4D7794FFD5; Sat, 16 May 2020 16:35:48 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=cwCtMSGuzGr7C7KynIU5VMzypFQ=; b=FR2wWC lXnoiA9VXwNczx9FE5S91oGtYlJHOLQkcL2SJvXlbXHWcxPs9zCycu3oQ7FKc7/K Xs5k2wCYJxAyV3BDCFlGseOLJGG45D2N4IbxbBJpKThM0befAPdqbZ5KBN+zH4K2 lKrgmc55ZZKOCnP5G1SiyD1lkRJV6Vro4ZEbQ= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 45A544FFD4; Sat, 16 May 2020 16:35:48 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=PKPbLsiUzxxmUdR2vjsX1MLQxyKkRoJ0JyYV7iDnh8Y=; b=sOJD+KP4tbWrAP7U61BrMbM2IU2awxBl6uVBRxj1INcOEYutF2VsY1yGUxum1NebaxGHsuILZtkA+Xztrd1IxcfO0u7YbpfK9Tm5gkLCOwp7/moDRb+o4n6f4k3aIEcziuj3FLJhSB0132PpyPc8yuqusvIaYSAwJu09nBFVsNg= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 99AEB4FFD3; Sat, 16 May 2020 16:35:46 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: "Thomas S. Dye" Subject: Re: [PATCH] Add margin option to float for figure in ox-latex.el In-Reply-To: <87wo5b7ob6.fsf@tsdye.online> References: <87o8qoqtau.fsf@kyleam.com> <87wo5b7ob6.fsf@tsdye.online> Date: Sat, 16 May 2020 20:35:45 +0000 Message-ID: <87h7wfty72.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: D24E81F2-97B4-11EA-9D64-D1361DBA3BAF-24757444!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=kyle@kyleam.com; helo=pb-smtp2.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/16 16:35:48 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=pobox.com header.s=sasl header.b=FR2wWC l; dkim=fail (rsa verify failed) header.d=kyleam.com header.s=mesmtp header.b=sOJD+KP4; 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: 88QA/yDAC8BJ 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/