* ditta image size
@ 2015-01-22 10:43 SabreWolfy
2015-01-22 10:54 ` SabreWolfy
2015-01-22 11:19 ` Will O'Brien
0 siblings, 2 replies; 3+ messages in thread
From: SabreWolfy @ 2015-01-22 10:43 UTC (permalink / raw)
To: emacs-orgmode
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ditta image size
2015-01-22 10:43 ditta image size SabreWolfy
@ 2015-01-22 10:54 ` SabreWolfy
2015-01-22 11:19 ` Will O'Brien
1 sibling, 0 replies; 3+ messages in thread
From: SabreWolfy @ 2015-01-22 10:54 UTC (permalink / raw)
To: emacs-orgmode
SabreWolfy <sabrewolfy <at> gmail.com> writes:
> 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?
I prepared another, more complex diagram, which is now rendered smaller than
before, but is still of poor, pixelated quality. This is a PNG scaling
problem? GraphhViz will give better quality?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ditta image size
2015-01-22 10:43 ditta image size SabreWolfy
2015-01-22 10:54 ` SabreWolfy
@ 2015-01-22 11:19 ` Will O'Brien
1 sibling, 0 replies; 3+ messages in thread
From: Will O'Brien @ 2015-01-22 11:19 UTC (permalink / raw)
To: SabreWolfy; +Cc: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-22 11:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-22 10:43 ditta image size SabreWolfy
2015-01-22 10:54 ` SabreWolfy
2015-01-22 11:19 ` Will O'Brien
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).