emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vikas Rawal <vikasrawal@gmail.com>
To: Katarzyna Chauvat <kasiachauvat@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: caption lost
Date: Sat, 11 Jun 2022 19:00:22 +0530	[thread overview]
Message-ID: <CALtzAB0U18A6MEB7z6DWYMSs84D4Uq3_vzHinvmACxxPpnX7dw@mail.gmail.com> (raw)
In-Reply-To: <CAO4JaOnDdGniqE5TOBuEM6i31vSLsXvN+Ku2dR6mmQJKPsp9MQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

>
>
> #+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

[-- Attachment #2: Type: text/html, Size: 1016 bytes --]

  reply	other threads:[~2022-06-11 13:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 15:03 caption lost Katarzyna Chauvat
2022-06-11 13:30 ` Vikas Rawal [this message]
2022-06-11 13:40 ` Antonio Carlos Padoan Junior

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=CALtzAB0U18A6MEB7z6DWYMSs84D4Uq3_vzHinvmACxxPpnX7dw@mail.gmail.com \
    --to=vikasrawal@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kasiachauvat@gmail.com \
    /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).