From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ODhJHgtb/F9uewAA0tVLHw (envelope-from ) for ; Mon, 11 Jan 2021 14:04:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +GMWGgtb/F9qbgAAB5/wlQ (envelope-from ) for ; Mon, 11 Jan 2021 14:04:59 +0000 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 ADEF094053B for ; Mon, 11 Jan 2021 14:04:58 +0000 (UTC) Received: from localhost ([::1]:44162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyxoW-0007p6-EZ for larch@yhetil.org; Mon, 11 Jan 2021 09:04:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyxnm-0007oz-2M for emacs-orgmode@gnu.org; Mon, 11 Jan 2021 09:04:10 -0500 Received: from ciao.gmane.io ([116.202.254.214]:60190) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyxnh-00028s-PS for emacs-orgmode@gnu.org; Mon, 11 Jan 2021 09:04:09 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kyxne-0000fV-RR for emacs-orgmode@gnu.org; Mon, 11 Jan 2021 15:04:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: "Loris Bennett" Subject: Re: Generated graphic not included in exported TeX/PDF Date: Mon, 11 Jan 2021 15:03:57 +0100 Message-ID: <87eeirlgdu.fsf@hornfels.zedat.fu-berlin.de> References: <87v9c9rwd4.fsf@hornfels.zedat.fu-berlin.de> <8735za88ol.fsf@ucl.ac.uk> <87zh1g6g50.fsf@ucl.ac.uk> <87a6tgnepw.fsf@hornfels.zedat.fu-berlin.de> <87mtxf6c0a.fsf@ucl.ac.uk> <87czybn170.fsf@hornfels.zedat.fu-berlin.de> <87bldv4pee.fsf@ucl.ac.uk> <87zh1fliys.fsf@hornfels.zedat.fu-berlin.de> <878s8z38hk.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:L77PdW945mPdnxXCjqIpfbltJdM= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Spam-Score: -1.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: ADEF094053B X-Spam-Score: -1.85 X-Migadu-Scanner: scn0.migadu.com X-TUID: yM3YAKpwMgJa Eric S Fraga writes: > On Monday, 11 Jan 2021 at 14:08, Loris Bennett wrote: >> Yes, it exports. However although the diagram is genererated, it is not >> included in the PDF. > > By "included", what do you mean? If I export that document to HTML, I > see a link to the PDF. If I ask for a PNG, I see the image. This > behaviour is expected as browsers do not show PDF documents inline > generally. Sorry for not being clear. I'm only exporting to PDF not HTML and I am creating the image in the source block as a PNG. I am then viewing the resulting PDF file either using a PDF viewer (evince) or directly in Emacs. The file blackboxmodel.png is created, but not inserted into the final ecm.pdf. Adding :cache yes :eval never-export in cargo-cult fashion doesn't solve the problem when using with the ECM and a minimal Emacs set-up although it does with my complete presentation and my standard init.el. -- This signature is currently under construction.