emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] BUG-ditaa export skips drawings


From: Bernt Hansen
Subject: Re: [Orgmode] BUG-ditaa export skips drawings
Date: Fri, 17 Apr 2009 12:20:36 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Ah okay.  I created that block using Eric's block YASnippet and didn't
even think about the end tag being wrong (since it added that
automagically for me when I typed in the block stuff...)

I'll fix my snippet.

Thanks!

Bernt


Carsten Dominik <address@hidden> writes:

> Hi Bernt,
>
> org-exp-blocks is confused by the "lisp" in the "#+end_src lisp"
> line.
>
> - Carsten
>
> On Apr 17, 2009, at 4:01 AM, Bernt Hansen wrote:
>
>> Hi,
>>
>> I've run into what I think is a ditaa export bug.  The following file
>> doesn't export the first ditaa figure, only the last.
>>
>> Here's my test file: x.org
>> --8<---------------cut here---------------start------------->8---
>> #+STARTUP:
>> * One
>> Here we go!
>>
>> #+begin_src lisp
>> (foo)
>> #+end_src lisp
>>
>> #+begin_ditaa task_states1.png -r -S
>> :       +--------+       +---------+       +--------+
>> :       |        |       |         |       |        |
>> :       |  AAAA  +------>+ STARTED +------>+  DONE  |
>> :       | cRED   |       |  cBLU   |       | cGRE   |
>> :       +--------+       +---------+       +--------+
>> #+end_ditaa
>>
>> #+begin_ditaa task_states2.png -r -S
>> :       +--------+       +---------+       +--------+
>> :       |        |       |         |       |        |
>> :       |  BBBB  +------>+ STARTED +------>+  DONE  |
>> :       | cRED   |       |  cBLU   |       | cGRE   |
>> :       +--------+       +---------+       +--------+
>> #+end_ditaa
>> --8<---------------cut here---------------end--------------->8---
>>
>> I get the following partial HTML output (I've removed the
>> uninteresting
>> parts
>>
>> x.html:
>> --8<---------------cut here---------------start------------->8---
>> <p>Here we go!
>> </p>
>>
>>
>>
>> <pre class="src src-lisp">
>> (foo)
>> </pre>
>>
>>
>>
>>
>> :       +--------+       +---------+       +--------+
>> :       |        |       |         |       |        |
>> :       |  AAAA  +------>+ STARTED +------>+  DONE  |
>> :       | cRED   |       |  cBLU   |       | cGRE   |
>> :       +--------+       +---------+       +--------+
>>
>>
>>
>> <div class="figure">
>> <p><img src="task_states2.png"  alt="task_states2.png" /></p>
>> </div>
>> </div>
>> </div>
>> --8<---------------cut here---------------end--------------->8---
>>
>> -Bernt
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

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