From: "Will O'Brien" <will.08rien@gmail.com>
To: SabreWolfy <sabrewolfy@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ditta image size
Date: Thu, 22 Jan 2015 11:19:31 +0000 [thread overview]
Message-ID: <CAKgE0sANAB=HJSa+0PgJjziFKCBTEokq=+aSJm_n=CxXNnc8Qw@mail.gmail.com> (raw)
In-Reply-To: <loom.20150122T113701-132@post.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 939 bytes --]
On Thu, Jan 22, 2015 at 10:43 AM, SabreWolfy <sabrewolfy@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
[-- Attachment #2: Type: text/html, Size: 1401 bytes --]
prev parent reply other threads:[~2015-01-22 11:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-22 10:43 ditta image size SabreWolfy
2015-01-22 10:54 ` SabreWolfy
2015-01-22 11:19 ` Will O'Brien [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKgE0sANAB=HJSa+0PgJjziFKCBTEokq=+aSJm_n=CxXNnc8Qw@mail.gmail.com' \
--to=will.08rien@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=sabrewolfy@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.