From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aN4rM6jc9l8BZQAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 10:04:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sLj0Lqjc9l/7BAAAbx9fmQ (envelope-from ) for ; Thu, 07 Jan 2021 10:04:24 +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 3E1A19403A9 for ; Thu, 7 Jan 2021 10:04:24 +0000 (UTC) Received: from localhost ([::1]:53076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxS9V-0001QH-GV for larch@yhetil.org; Thu, 07 Jan 2021 05:04:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxS8y-0001Q7-RO for emacs-orgmode@gnu.org; Thu, 07 Jan 2021 05:03:48 -0500 Received: from ciao.gmane.io ([116.202.254.214]:49456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxS8x-0005yj-3y for emacs-orgmode@gnu.org; Thu, 07 Jan 2021 05:03:48 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kxS8v-000A3s-2s for emacs-orgmode@gnu.org; Thu, 07 Jan 2021 11:03:45 +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: Thu, 07 Jan 2021 11:03:39 +0100 Message-ID: <87ble1rrlw.fsf@hornfels.zedat.fu-berlin.de> References: <87v9c9rwd4.fsf@hornfels.zedat.fu-berlin.de> <87mtxlrvz9.fsf@hornfels.zedat.fu-berlin.de> <87ft3drtzz.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:YeHi79JfB3cwuEPEpVxtsEk3Db0= 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.84 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: 3E1A19403A9 X-Spam-Score: -1.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: q/GSq4HIqZ1u "Loris Bennett" writes: > "Loris Bennett" writes: > >> "Loris Bennett" writes: >> >>> Hi, >>> >>> I have just re-exported an org beamer presentation, which I created two >>> years ago with a version of Org which was fairly up-to-date then. >>> Everything still works fine, except for the fact that the images >>> generated by the org file are not included in the exported PDF and >>> indeed are missing from the generated TeX file. >>> >>> In the org file I have >>> >>> #+NAME: backfill-tikz >>> #+HEADER: :fit yes :file ./generated/backfill_tikz.png :imagemagick yes :iminoptions -density 600 >>> >>> #+HEADER: :headers '("\\usepackage{pgfplots}\\usepackage{sansmath}") >>> #+HEADER: :results raw >>> >>> #+BEGIN_SRC latex :cache yes >>> \usepgfplotslibrary{colorbrewer} >>> \begin{tikzpicture} >>> ... >>> \end{tikzpicture} >>> #+END_SRC >>> >>> #+RESULTS[e2d28096fe9dceffb0b63ad4a441160ff2a0d1a7]: backfill-tikz >>> [[file:./generated/backfill_tikz.png]] >>> >>> As I say, the image itself is created, but not included when exported, although it is >>> displayed if I do org-toggle-inline-images in the org buffer. >>> >>> My current Org version is >>> >>> Org mode version 9.4 (9.4-9-gab0052-elpaplus @ /home/loris/.emacs.d/elpa/org-plus-contrib-20200928/) >>> >>> Any ideas what might be happening? >> >> I have just noticed that this only affects images generated with tikz. >> One image created with ditaa is included correctly. All images are PNGs. > > Just updated to > > Org mode version 9.4.4 (9.4.4-4-g99eafe-elpa @ /home/loris/.emacs.d/elpa/org-20210104/) > > but the problem remains. As I was having problems with the caching of the images, I replaced #+BEGIN_SRC latex :cache yes with #+BEGIN_SRC latex :cache yes :eval never-export and now the images are not only not regenerated but are now also exported properly. Is this a bug? Cheers, Loris -- This signature is currently under construction.