From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id SJTjMOR0FWadSwEA62LTzQ:P1 (envelope-from ) for ; Tue, 09 Apr 2024 19:03:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SJTjMOR0FWadSwEA62LTzQ (envelope-from ) for ; Tue, 09 Apr 2024 19:03:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712682212; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=YB+r6rU2uAemdTR94s85RRFuQ3WElE34dLDbHSMwagw=; b=QBDFwpuIcELi2Gffboam/2hGtKW/97OJLA259l/Ya+j23NPPi4YfvFB2+woeKdbkdJMwEu Ckep9eHhy9ycfAn+pqQV4RGTUQ74cts+/y4Y7t33DnAxC6Mw0n2FJKroJ6BArSKv8bQw+6 E1oDvGXQGriu5w2+UVSqtno8cvwWJci8MecEK8ibzXZiWsQtA92cyqRxPFCa6XCBfai+8k u8+xRDe7+61cZp5mB5KfirlCDly6wlt6L38mcXHFFGbDpJIY6XFIcd2cDS/a5n3xQId7+m 3VHVoiyaHgklyBoV14y/pTEFt203Wnq1jtL0ELIBq3kbFS4SE5uyWBrfHn64aA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712682212; a=rsa-sha256; cv=none; b=W3zTHy2TQcTQO7l5IPH4FBcATx7ZJbVAGqsaeUKm6cTKoKy7/fq0vmr+guo3qS7kwQvdra FrWEmhk1bQ06nEOs1RxdqwdyBO6yPrOJ2+YSX4M2Q2XfW+FlGFTf4nAlQJFD3TbPDYZm5i VoMaCorlLw3fn9ixuf8yx//AGiqovtgBIaujC6c5y/My9sFYJiG9h+rGu0OiDPIRPXr4qC cGhQPiMCcn5ylNezJPYvRDSJrprtnwsWPVpA7ebPcbbUJ4djdQHbBSWc+Q5lg4tUgA1rRE K67ar1VcEKgEQ1XMa9pSMDrTYNX14onB5dXkQTTnHrFIq9Ecpq+lXsjTUaASvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=none 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 77294343FF for ; Tue, 9 Apr 2024 19:03:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruEs2-0000Yy-Nx; Tue, 09 Apr 2024 13:02:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruErz-0000Ye-GF for emacs-orgmode@gnu.org; Tue, 09 Apr 2024 13:02:52 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96] helo=k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruErx-0003YG-Tn for emacs-orgmode@gnu.org; Tue, 09 Apr 2024 13:02:51 -0400 Received: from van (_gateway [192.168.1.1]) (Authenticated sender: seb) by k-7.ch (Postfix) with ESMTPSA id F374EE41EC; Tue, 9 Apr 2024 19:02:45 +0200 (CEST) References: <87edbetyd3.fsf@k-7.ch> <87edbeeddk.fsf@ucl.ac.uk> User-agent: mu4e 1.10.5; emacs 29.3 From: =?utf-8?Q?S=C3=A9bastien?= Gendre To: "Fraga, Eric" Cc: orgmode Subject: Re: When src block result is an image, how to define caption, html and latex =?utf-8?Q?attributes=C2=A0=3F?= Date: Tue, 09 Apr 2024 18:58:21 +0200 In-reply-to: <87edbeeddk.fsf@ucl.ac.uk> Message-ID: <87zfu2sc3u.fsf@k-7.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=k-7.ch X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001 autolearn=no 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.86 X-Spam-Score: -3.86 X-Migadu-Queue-Id: 77294343FF X-Migadu-Scanner: mx12.migadu.com X-TUID: Ay3gLov/UBaH If I name the source block, it work. 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 ? "Fraga, Eric" writes: > On Tuesday, 9 Apr 2024 at 16:11, S=C3=A9bastien Gendre wrote: >> If I add them manually after the result generation, and generate again >> the result, the #+CAPTION, #+LATEX_ATTR and #+HTML_ATTR are moved after >> the result. > > Does this happen if your src block is NAMEd?