From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Asymptote figure in footnote Date: Tue, 21 Jan 2020 18:43:13 +0200 Message-ID: <87wo9k92vy.fsf@iki.fi> References: <871rrsaisc.fsf@iki.fi> <874kwordc4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39557) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itwcc-0002fr-1l for emacs-orgmode@gnu.org; Tue, 21 Jan 2020 11:43:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itwcZ-0004Wk-Lu for emacs-orgmode@gnu.org; Tue, 21 Jan 2020 11:43:21 -0500 Received: from ciao.gmane.io ([159.69.161.202]:40282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itwcZ-0004VC-Fa for emacs-orgmode@gnu.org; Tue, 21 Jan 2020 11:43:19 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1itwcX-000IKf-Ga for emacs-orgmode@gnu.org; Tue, 21 Jan 2020 17:43:17 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Nicolas Goaziou writes: >> This has to be a borderline case, but I need some Asympote-generated >> figures in footnotes. The following does not seem to work. >> >> [fn:: src_asy[:filename foo.pdf]{size(8cm,0); draw (unitcircle);}] > > The following works here: > > [fn:: src_asymptote[:file foo.pdf]{size(8cm,0); draw (unitcircle);}] Thank you and sorry. That was pathetic, but it has been a long day. And continues. Do you have an idea of how to control the size of the pic in the footnote? The default is .9\linewidth. I figured a workaround (below), but would prefer the structure above. The workaround is to produce the asy image with a regular src block, exporting nothing, and then using inline latex in footnote as follows: [fn:: @@latex:\includegraphics[width.3\linewidth]{sine-curve-a.pdf}@@] And, once again, I am amazed by Org's capabilities! :D Jarmo