[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] ditaa diagram not as expected
From: |
Richard Lewis |
Subject: |
[O] ditaa diagram not as expected |
Date: |
Tue, 07 Aug 2012 10:33:53 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/24.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
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
- [O] ditaa diagram not as expected,
Richard Lewis <=