From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: ditaa diagram not as expected Date: Tue, 07 Aug 2012 07:48:36 -0600 Message-ID: <87d332u823.fsf@gmx.com> References: <87ipcvoxku.wl%richard.lewis@gold.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SykTg-00038Q-5a for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 10:09:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SykTb-0008LM-R2 for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 10:09:44 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:40400) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SykTb-0008L5-L4 for emacs-orgmode@gnu.org; Tue, 07 Aug 2012 10:09:39 -0400 In-Reply-To: <87ipcvoxku.wl%richard.lewis@gold.ac.uk> (Richard Lewis's message of "Tue, 07 Aug 2012 10:33:53 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Lewis Cc: emacs-orgmode@gnu.org 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 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