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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to