On Thu, Jan 22, 2015 at 10:43 AM, SabreWolfy <sabrewo...@gmail.com> wrote:

> The following Org file:
>
> --8<---------------cut here---------------start------------->8---
> * Picture
> #+BEGIN_SRC ditaa :file hello-world.png :cmdline -r -s 1.0
> +----+
> | Hi |
> +----+
> #+END_SRC
> --8<---------------cut here---------------end--------------->8---
>
> rendered to LaTeX and then PDF (C-c C-e l o) with ditaa version 0.9 and
> org-version 8.2.4 in Emacs 24.3.1 produces output with the ditaa image very
> much enlarged and pixelated. How can I avoid this?
>


Hi,

You have a couple of options I believe. Firstly, take a look at 14.8.2.25
`:post` from the org manual, which provides an example of automatically
wrapping a generated image with the necessary LaTeX attributes to correct
the sizing. Secondly, there is a ditaa addons pack which enables you to
generate eps. I've not tried this, but it might be worth a try.

Cheers,

Will

Reply via email to