[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: ob-ditaa fails in generating pdf correctly
From: |
Anders Johansson |
Subject: |
[O] Bug: ob-ditaa fails in generating pdf correctly |
Date: |
Thu, 22 May 2014 17:27:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Hi,
Example input:
#+header: :eps t
#+header: :file hello.pdf
#+BEGIN_SRC ditaa
+--------------+
| |
| Hello |
| |
+--------------+
#+END_SRC
When using the above code (which I guessed should be the correct way)
with ob-ditaa to produce a pdf (through DitaaEps -> epstopdf) it fails
in producing the pdf correctly and instead writes an eps to "hello.pdf".
This isn't surprising, looking at the code where "cmd" should be
constructed to produce the eps as an intermediary file in /tmp (which is
expected in the construction of pdf-cmd) but doesn't.
An ugly patch to fix it is attached (this is ugly because it repeats the
line:
(org-babel-process-file-name (concat in-file ".eps"))
)
Cheers,
Anders Johansson
ob-ditaa-patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Bug: ob-ditaa fails in generating pdf correctly,
Anders Johansson <=