From: "Thomas S. Dye" <tsd@tsdye.online>
To: Kyle Meyer <kyle@kyleam.com>
Cc: emacs-orgmode@gnu.org, Pablo Palazon <pablo.palazon@gmail.com>,
Louis Gostiaux <louis.gostiaux@free.fr>,
"Thomas S. Dye" <tsd@tsdye.online>
Subject: Re: [PATCH] Add margin option to float for figure in ox-latex.el
Date: Sun, 17 May 2020 06:48:00 -1000 [thread overview]
Message-ID: <875zcucxtr.fsf@tsdye.online> (raw)
In-Reply-To: <87h7wfty72.fsf@kyleam.com>
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
next prev parent reply other threads:[~2020-05-17 16:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 16:06 [PATCH] Add margin option to float for figure in ox-latex.el Pablo Palazon
2020-05-15 12:21 ` Eric S Fraga
2020-05-15 17:02 ` Pablo Palazon
2020-05-16 6:37 ` Kyle Meyer
2020-05-16 7:17 ` Louis Gostiaux
2020-05-16 16:46 ` Kyle Meyer
2020-05-16 18:00 ` Thomas S. Dye
2020-05-16 20:35 ` Kyle Meyer
2020-05-17 16:48 ` Thomas S. Dye [this message]
2020-05-23 9:12 ` Bastien
[not found] <mailman.39.1589558407.15748.emacs-orgmode@gnu.org>
2020-05-15 16:47 ` Pablo Palazon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zcucxtr.fsf@tsdye.online \
--to=tsd@tsdye.online \
--cc=emacs-orgmode@gnu.org \
--cc=kyle@kyleam.com \
--cc=louis.gostiaux@free.fr \
--cc=pablo.palazon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).