From: Anthony Cowley <acowley@gmail.com>
To: "Emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: latex src block file output
Date: Wed, 30 Nov 2016 14:01:27 -0500 [thread overview]
Message-ID: <m2lgw0eqrc.fsf@gmail.com> (raw)
Hello,
When I hit C-c C-c on a latex src block with a :file header, I ultimately get an error from org-compile-file that the expected output file in a temp directory was not produced. However, the file is produced in the current directory.
For instance, evaluating the src block in the following Org document,
* A Little Diagram
#+BEGIN_SRC latex :file diagram.pdf :packages '(("" "tikz")) :border 1em
\usetikzlibrary{shapes,arrows}
\begin{tikzpicture}[->, auto, node distance=3cm]
\node [draw] (A) {A};
\node [ellipse, draw, right of=A] (B) {B};
\path (A) edge node {message} (B);
\end{tikzpicture}
#+END_SRC
Gives me the error,
Debugger entered--Lisp error: (error "File \"/var/folders/n6/0j2z684n2pq_0d5kphzzvjs80000gn/T/babel-7327204x/latex-73272sec.pdf\" wasn’t produced. See \"*Org PDF LaTeX Output*\" for details")
While the *Org PDF LaTeX Output* buffer says,
...
Output written on latex-73272sec.pdf (1 page, 12285 bytes).
...
and sure enough the file is there in the same directory as the .org file I am editing.
I understand that the .tex file is in that temp directory, but pdflatex is dumping its output into the current directory. Is this a known (or even already-fixed) issue?
Org mode version 9.0.1 (9.0.1-elpaplus @ /Users/acowley/.emacs.d/elpa/org-plus-contrib-20161118/)
Anthony
next reply other threads:[~2016-11-30 19:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-30 19:01 Anthony Cowley [this message]
2016-12-03 7:52 ` latex src block file output Nicolas Goaziou
2016-12-03 19:50 ` Anthony Cowley
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=m2lgw0eqrc.fsf@gmail.com \
--to=acowley@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).