From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: [babel] problem exporting pictures Date: Sun, 23 May 2010 15:35:52 -0400 Message-ID: <87iq6e8l7r.fsf@stats.ox.ac.uk> References: <87wruuvm3w.wl%n.goaziou@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=41182 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGGxt-00040q-DT for emacs-orgmode@gnu.org; Sun, 23 May 2010 15:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGGxr-0001m6-M6 for emacs-orgmode@gnu.org; Sun, 23 May 2010 15:36:01 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:51963) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGGxr-0001lr-EX for emacs-orgmode@gnu.org; Sun, 23 May 2010 15:35:59 -0400 In-Reply-To: <87wruuvm3w.wl%n.goaziou@gmail.com> (Nicolas Goaziou's message of "Sun, 23 May 2010 14:28:03 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Org Mode List Nicolas Goaziou writes: > Hello, > > I have encountered this problem since I upgraded to 6.36. I have this > minimal file test.org : > > -------------------------------------------- > * Test > > Line 1 > > #+BEGIN_SRC asymptote :file test-fig.pdf > size(8cm,0); > > draw((0,0)--(1,1)); > #+END_SRC > > Line 2 > Line 3 > -------------------------------------------- > > and all I get as export (would it be latex or html) is, minus the > usual preamble : > > ------------------- > \section{Test} > \label{sec-1} > > > Line 1 > > > Line 3 > -------------------- > > Furthermore : > > - the picture is correctly exported if there is nothing > after #+END_SRC ; > > - I get the same unsatisfying results with ditaa (I haven't checked > others back-ends) ; > > - emacs -q or -Q do not change anything. > > Is it something that has been fixed in recent git ? Am I doing > something wrong ? Hi Nicolas, I can't reproduce this -- it works OK for me using current git master and 6.36c tarball. What is written to *Messages* during export? I get Exporting to LaTeX... org-babel-exp processing... executing Asymptote source code block asy -globalwrite -f pdf -o test-fig.pdf /tmp/org-babel-asymptote1650kFe (Shell command succeeded with no output) finished Dan > > Thanks.