emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [babel] problem exporting pictures
Date: Sun, 23 May 2010 15:35:52 -0400	[thread overview]
Message-ID: <87iq6e8l7r.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <87wruuvm3w.wl%n.goaziou@gmail.com> (Nicolas Goaziou's message of "Sun, 23 May 2010 14:28:03 +0200")

Nicolas Goaziou <n.goaziou@gmail.com> 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.

  reply	other threads:[~2010-05-23 19:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-23 12:28 [babel] problem exporting pictures Nicolas Goaziou
2010-05-23 19:35 ` Dan Davison [this message]
2010-05-23 22:31   ` Nicolas Goaziou

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=87iq6e8l7r.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).