emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Gendre" <seb@k-7.ch>
To: orgmode <emacs-orgmode@gnu.org>
Subject: When src block result is an image, how to define caption, html and latex attributes ?
Date: Tue, 09 Apr 2024 16:11:39 +0200	[thread overview]
Message-ID: <87edbetyd3.fsf@k-7.ch> (raw)

Hello,


When a source block create a result who is an image, how can I define
the #+CAPTION, #+LATEX_ATTR and #+HTML_ATTR of this image ?

If I add them manually after the result generation, and generate again
the result, the #+CAPTION, #+LATEX_ATTR and #+HTML_ATTR are moved after
the result.

In org-babel documentation, I didn't found any header argument like
":result-caption" or something similar. There is a post processing, but
I cannot found the list of available post processing actions and their
config.


Best regards



             reply	other threads:[~2024-04-09 14:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09 14:11 Sébastien Gendre [this message]
2024-04-09 14:29 ` When src block result is an image, how to define caption, html and latex attributes ? Ihor Radchenko
2024-04-09 16:50   ` Sébastien Gendre
2024-04-09 17:13     ` Ihor Radchenko
2024-04-09 18:20       ` Sébastien Gendre
2024-04-09 18:37         ` Ihor Radchenko
2024-04-09 15:59 ` Fraga, Eric
2024-04-09 16:58   ` Sébastien Gendre
2024-04-10  7:06     ` Fraga, Eric
2024-04-10 14:55       ` Sébastien Gendre

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=87edbetyd3.fsf@k-7.ch \
    --to=seb@k-7.ch \
    --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).