Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-23 Thread Bastien
Hello, "Thomas S. Dye" writes: > Barring a guru's user-end customization, Rasmus's figure :environment > attribute idea is a good one. FWIW, I also think this is a good idea. Thanks to those who help with this thread! -- Bastien

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-17 Thread Thomas S. Dye
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 a

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-16 Thread Kyle Meyer
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 > o

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-16 Thread Thomas S. Dye
Aloha Kyle, 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 package

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-16 Thread Kyle Meyer
Louis Gostiaux writes: > Kyle could you please redirect also to Pablo's patch ? Couldn't find it. Sure, there were three patches, but the patch for the main code change was in the message that mine as in reply to: You can see the message at https://yhetil.org/CAOKwhjswgMvE4jkTXgMeEg7G9s9R2j

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-16 Thread Louis Gostiaux
Hi all, Kyle could you please redirect also to Pablo's patch ? Couldn't find it. That's also great that an exporter for tufte exists. However, as far as I understood, marginfigure is not exclusevely usedby tufte. I guess the marginfigure environment coule be supported in the generic latex expo

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-15 Thread Kyle Meyer
Pablo Palazon writes: > I've created a path to add a new option to float properties for figures on > latex. This is my first change for org-mode, and I don't really sure if > this is the correct way to do it. Thank you! > * lisp/ox-latex.el (org-latex--inline-image): Include margin option > to c

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-15 Thread Pablo Palazon
Thanks eric, I've done the changes and I attach all the patches. On Fri, May 15, 2020 at 2:21 PM Eric S Fraga wrote: > Just a minor point: in the patch for the documentation, change "imagen" > to "image". > -- > : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-631-g48b223 > From 46a7fcecf5d27

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-15 Thread Pablo Palazon
Thanks Eric, I've done the changes and I attach path files again. From a4ff98eb82397721a152b3c3e51f6a993947140d Mon Sep 17 00:00:00 2001 From: Pablo Palazon Date: Thu, 14 May 2020 16:33:53 +0200 Subject: [PATCH 1/3] ox-latex.el: Add margin to float option for attr_latex in images * lisp/ox-latex

Re: [PATCH] Add margin option to float for figure in ox-latex.el

2020-05-15 Thread Eric S Fraga
Just a minor point: in the patch for the documentation, change "imagen" to "image". -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-631-g48b223