emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When src block result is an image, how to define caption, html and l


From: Fraga, Eric
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
User-agent: gnus (Emacs 30.0.50)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]