emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ditaa diagram not as expected


From: Eric Schulte
Subject: Re: [O] ditaa diagram not as expected
Date: Tue, 07 Aug 2012 07:48:36 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

This is a ditaa issue and probably isn't affected by Org-mode.

I have had issues like this in the past with ditaa, I often find that
the solution is to leave more space between my shapes or lines.

Best,

Richard Lewis <address@hidden> writes:

> Hi there,
>
> I'm preparing a document in which I discuss the CSS box model and
> wanted to include a diagram, this diagram:
>
> #+begin_ditaa boxmodel.png -S
> +---=---------------------------------------+
> |           margin                          |
> |  +-------------------------------------+  |
> |  |        border                       |  |
> |  |  +----=--------------------------+  |  |
> |  |  |     padding                   |  |  |
> |  |  |  +----=--------------------+  |  |  |
> |  |  |  |  content                |  |  |  |
> |  |  |  |                         |  |  |  |
> |  |  |  |                         |  |  |  |
> |  |  |  +----=--------------------+  |  |  |
> |  |  |                               |  |  |
> |  |  +----=--------------------------+  |  |
> |  |                                     |  |
> |  +-------------------------------------+  |
> |                                           |
> +-------=-----------------------------------+
> #+end_ditaa
>
> However, the diagram that org/ditaa creates is missing the third box
> (counting from the outside inwards), the box between "border" and
> "padding". I tried removing the "=" (which would make the line solid),
> but the box still did not appear. I've tried this snippet in an org
> document by itself, and I've tried putting the diagram in a file by
> itself and running ditaa directly. Still no middle box.
>
> I realise this may be a ditaa rather than an org-mode problem, but can
> anyone suggest anything? Particularly, does anyone else get the same
> effect?
>
> org-mode version: 7.8.11; ditaa version: 0.9; Emacs version: 24.1.1.
>
> Thanks,
> Richard
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

[Prev in Thread] Current Thread [Next in Thread]