emacs-orgmode
[Top][All Lists]
Advanced

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

Re: caption lost


From: Vikas Rawal
Subject: Re: caption lost
Date: Sat, 11 Jun 2022 19:00:22 +0530


#+caption: My caption
#+label: fig:MyFigure
#+begin_src R :exports results :results output graphics :file MyFigure.pdf :width 4.8 :height 6.5 :pointsize 7
plot(1:5,1:5)
 #+end_src
 
The figure is produced and integrated in the text but

#+CAPTION: line should be added to the output and not to the code block. As follows.

#+CAPTION: My caption.
[[file:MyFigure.pdf]]
 
That is, you evaluate the code block, and once the output is created, add caption to it.

Vikas 

reply via email to

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