emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Loris Bennett" <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Generated graphic not included in exported TeX/PDF
Date: Mon, 11 Jan 2021 14:41:19 +0000	[thread overview]
Message-ID: <87pn2b1qpc.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87eeirlgdu.fsf@hornfels.zedat.fu-berlin.de> (Loris Bennett's message of "Mon, 11 Jan 2021 15:03:57 +0100")

[-- Attachment #1: Type: text/plain, Size: 733 bytes --]

On Monday, 11 Jan 2021 at 15:03, Loris Bennett wrote:
> 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.

Okay, thanks for clarifying.  If I export ecm.org to PDF via LaTeX,
asking for a PNG image, it works just fine for me.  Strange.

Hopefully somebody else can chime in and maybe give some clue as to
where to look.  I've attached the ecm.org file again.  This exports to
both article and beamer PDF and, for that matter, to HTML.

: Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-179-g5b5c42

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ecm.org --]
[-- Type: text/x-org, Size: 584 bytes --]

#+title: ECM
* black box model
This is a graphical representation of \(y=f(x)\):

#+header: :exports results
#+header: :results file raw
#+header: :file blackboxmodel.png
#+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 400
#+header: :fit yes
#+header: :headers '("\\usepackage{tikz}")
#+begin_src latex
\begin{tikzpicture}[node distance=2cm, shorten >=2pt, shorten <=2pt]
  \node (x) {$x$};
  \node[fill=yellow!10!white,draw=white] (box) [right of=x] {Model} edge [<-] (x);
  \node (f) [right of=box] {$f(x)$} edge [<-] (box);

  reply	other threads:[~2021-01-11 14:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07  8:20 Loris Bennett
2021-01-07  8:29 ` Loris Bennett
2021-01-07  9:12   ` Loris Bennett
2021-01-07 10:03     ` Loris Bennett
2021-01-07 10:09 ` Eric S Fraga
2021-01-09 14:51 ` Eric S Fraga
2021-01-10 14:06   ` Eric S Fraga
2021-01-11  6:56     ` Loris Bennett
2021-01-11  9:47       ` Eric S Fraga
2021-01-11 11:49         ` Loris Bennett
2021-01-11 12:41           ` Eric S Fraga
2021-01-11 13:08             ` Loris Bennett
2021-01-11 13:31               ` Eric S Fraga
2021-01-11 14:03                 ` Loris Bennett
2021-01-11 14:41                   ` Eric S Fraga [this message]
2021-01-11 15:36                     ` Loris Bennett
2021-01-11 15:54                       ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pn2b1qpc.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \
    --subject='Re: Generated graphic not included in exported TeX/PDF' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).