From: Max Nikulin <manikulin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Export LaTeX command inside figure environment
Date: Sun, 8 May 2022 23:35:42 +0700 [thread overview]
Message-ID: <t58rh0$en$1@ciao.gmane.io> (raw)
In-Reply-To: <87v8uga78j.fsf@tsdye.online>
On 08/05/2022 13:06, Thomas S. Dye wrote:
>
> It would be better to have a LaTeX attribute, say :commands, that places
> commands within \begin{figure} ... \end{figure}.
Look at the code of `org-latex--inline-image' and variants of markup it
may generate. There are too may places where :commands may be inserted
to add an attribute for each place, e.g. before or after
\includegraphics. It may be better to allow users to define a function
that either generates markup or delegates it to the default function. I
am unsure concerning convenient API that should be provided to generate
a label, to get caption that may be specified as an attribute or as
#+caption:, etc. There is a quite similar problem with source blocks
(another thread). 10 arguments functions emerged during attempt split
into maintainable pieces a huge function handling all cases.
prev parent reply other threads:[~2022-05-08 16:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-07 23:43 Export LaTeX command inside figure environment Thomas S. Dye
2022-05-08 0:30 ` Juan Manuel Macías
2022-05-08 0:57 ` Thomas S. Dye
2022-05-08 5:08 ` Max Nikulin
2022-05-08 6:06 ` Thomas S. Dye
2022-05-08 16:12 ` Juan Manuel Macías
2022-05-08 16:35 ` Max Nikulin [this message]
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='t58rh0$en$1@ciao.gmane.io' \
--to=manikulin@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).