emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: "Sébastien Gendre" <seb@k-7.ch>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: When src block result is an image, how to define caption, html and latex attributes ?
Date: Wed, 10 Apr 2024 07:06:05 +0000	[thread overview]
Message-ID: <87seztd7du.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87zfu2sc3u.fsf@k-7.ch> ("Sébastien Gendre"'s message of "Tue, 09	Apr 2024 18:58:21 +0200")

On Tuesday,  9 Apr 2024 at 18:58, Sébastien Gendre wrote:
> If I name the source block, it work.

Excellent.

> Is it because:
>
> * When a source block is named, it's result is also named
>
> * When a result is named, Org-mode can locate it and replace its value
>
> * But when a result is not named, Org-mode insert a #+RESULTS: just
>   after the block and create a new one if it cannot found the previous
>   one right after the block

Yes, pretty much my understanding.  I tend to name every src block
anyway as it makes navigation easier (using
org-babel-goto-named-src-block).

-- 
: Eric S Fraga, with org release_9.6.23-1314-g945046 in Emacs 30.0.50

  reply	other threads:[~2024-04-10  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09 14:11 When src block result is an image, how to define caption, html and latex attributes ? Sébastien Gendre
2024-04-09 14:29 ` 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 [this message]
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=87seztd7du.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=seb@k-7.ch \
    /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).