From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wMGnEiCZpGKvagEAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 15:31:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uI94EiCZpGKcFgEAauVa8A (envelope-from ) for ; Sat, 11 Jun 2022 15:31:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D35EB3D620 for ; Sat, 11 Jun 2022 15:31:11 +0200 (CEST) Received: from localhost ([::1]:53836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o01Co-0002r1-B7 for larch@yhetil.org; Sat, 11 Jun 2022 09:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o01CK-0002qY-AR for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 09:30:40 -0400 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]:36489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o01CI-0007N3-TM for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 09:30:40 -0400 Received: by mail-io1-xd2c.google.com with SMTP id e80so1653906iof.3 for ; Sat, 11 Jun 2022 06:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z/PvJQHOjxe0U94QDuJOOyzrdcXwWSsGafXk3SWMcdo=; b=WUn0vSNh7EvcZVEzUEdxFgGetGbSlBWs6BEafnFietqNBCB0pCgTV/qgKFuJ/ZhSTb 7gexioHSiUx2utsG7kUyLCeFdqS1V5LRbQc0L0YIUb26p1EDzrakHhVVjYV0/0xp0cjL SWImPw3rmRtcqrGZX16ckXt5MCgDbynE5Z+aEJlZjojs9WfCVZz8LX1Tl2baF7H8kJrY 23HDgz1uGn1dFgd8yEfhnFvI7U8X0dvZkWoTxiAJQzx3xyhfOLNdEsXiKNYmGJPFWRq+ D5uBLMKtl3F/l2VzA7/5c0bgiLEqBr+qlEkfZdQVb5vtC0UJfjJznwybw7lnq99KjN8A YOuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z/PvJQHOjxe0U94QDuJOOyzrdcXwWSsGafXk3SWMcdo=; b=MC0Olpk6vWZ0zpkTkHNhU4XZE3OYPfFltAi6rYk2ax8bUZpDIpIpFbYQW36pcWFoxR xR+iUFOyOYmdriws7hP0Hsy+89TLKDWErAPsUtCTrdc663NjsDHT5C5PYuNqJJcU3rX5 bBPBSCWzjoogtgz+aFlhdkJC9XIbZ3gRUcPPVoH8mGsC1bVpmPweXFzO45lLKBywG8Ke zB0VxjGRgauY6dnYoZQOYBta5+j/0WUfY7i4CJqPE+uRV6TesJZpItcYsub2DsbhxopO eNZEAXMXXHIPa4dKixHcaifb0U3GGZvcq5O6Csyl6aWL9MVTWPxOcZBcUzKiR0YW+/Ti Stow== X-Gm-Message-State: AOAM532PJg5X6Tf1Bji8iFLNmY06AUYwd8KyYI+6ZoKfL4AeCup9exAw BfnlhnB3y79FCCOWU4XXkW5XIHy7yqtzxM8E9yc= X-Google-Smtp-Source: ABdhPJx6XfxCzVf0njIxL/Gwp/nNAdcKQ9aFs8zhtVsNLUiqhKtxpFNbCaeIKBPyY75AZU0Nlhm3C9t8IH4Co/z7DHE= X-Received: by 2002:a02:6d61:0:b0:32b:fb61:9d88 with SMTP id e33-20020a026d61000000b0032bfb619d88mr25639932jaf.184.1654954237412; Sat, 11 Jun 2022 06:30:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Vikas Rawal Date: Sat, 11 Jun 2022 19:00:22 +0530 Message-ID: Subject: Re: caption lost To: Katarzyna Chauvat Cc: org-mode mailing list Content-Type: multipart/alternative; boundary="00000000000070cdfe05e12c0f41" Received-SPF: pass client-ip=2607:f8b0:4864:20::d2c; envelope-from=vikasrawal@gmail.com; helo=mail-io1-xd2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654954271; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=z/PvJQHOjxe0U94QDuJOOyzrdcXwWSsGafXk3SWMcdo=; b=Su2rrRHGp4p3yKQUwuOSb6Yf2+G7KSRW/OQaQwaTXYW9odlHs9rcyxtY/3Qn0yxffXwMzC 2dFRWnK37jcd1A6PevvRSSBp7iXiaxTHfbDa5ioMVGaEuPxSGh29GBrAh0YiRvBnf+3eHF K+UkCMz8+tzHuF2tHH1bNCq0hPwJB6ZQlgMSluq1WSumtedqKdZWBOlgo4ab/PMgmd2xjB JCV79eT0tP6wqOeO8OnfxgW2qU32V+aGhIp6jtrKqctNUXU18VmFqrozoD4ZdhJ8IG3+HP +LJmjb63H4WGKwNNwg6JSEzEAQbFtC9IUFtRTjQpuBBCNtoTShesa2YxVNSqzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654954271; a=rsa-sha256; cv=none; b=jnOZuHxIYWO17NJ2o7tfi+Q5WllrgYt1lnU8I5FPcIzU2+gw/yz4Q/J0XvyyanWbRgKanj vPuDKeydufzSCcPiJsheD6zeaII5k3XozozaEVwEuJJ5iTkhO7+mxxv4QB0xpe07RuORLt F8hBzNM6mK4fC9hhXkij86b4Bgq2HE0DM0agTbhLkNaUgA2BBhMrme0bSa/SCAIbW91c/v RfuqNe0mXBZAkl5nCDM81HOHzUJ5VfOiN381xesEgG6YZQTXL/GPN+ulbvElFoHu8ucsTP awSOTUgjbOOWQ7o5UlhvjQrd2IOMkVEF82TApUVGx87QchHm8SmpwEyew22Z1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WUn0vSNh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=WUn0vSNh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D35EB3D620 X-Spam-Score: -3.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: wX0aFrYa3Yge --00000000000070cdfe05e12c0f41 Content-Type: text/plain; charset="UTF-8" > > > #+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 --00000000000070cdfe05e12c0f41 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

#+caption: My caption
#+lab= el: 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)
=C2=A0#+end_src
=C2=A0
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.

#+CA= PTION: My caption.
[[file:MyFigure.pdf]]
=C2=A0
That is, you evaluate the code block, and once the output is created, ad= d caption to it.

Vikas=C2=A0
--00000000000070cdfe05e12c0f41--