emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* BUG-ditaa export skips drawings
@ 2009-04-17  2:01 Bernt Hansen
  2009-04-17 15:27 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2009-04-17  2:01 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG-ditaa export skips drawings
  2009-04-17  2:01 BUG-ditaa export skips drawings Bernt Hansen
@ 2009-04-17 15:27 ` Carsten Dominik
  2009-04-17 16:20   ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-04-17 15:27 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG-ditaa export skips drawings
  2009-04-17 15:27 ` Carsten Dominik
@ 2009-04-17 16:20   ` Bernt Hansen
  2009-04-17 16:23     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2009-04-17 16:20 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: BUG-ditaa export skips drawings
  2009-04-17 16:20   ` Bernt Hansen
@ 2009-04-17 16:23     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2009-04-17 16:23 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode


On Apr 17, 2009, at 6:20 PM, Bernt Hansen wrote:

> 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.

And I fixed org-exp-blocks to be more forgiving :-)

- Carsten


>
> Thanks!
>
> Bernt
>
>
> Carsten Dominik <carsten.dominik@gmail.com> 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.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-17 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-17  2:01 BUG-ditaa export skips drawings Bernt Hansen
2009-04-17 15:27 ` Carsten Dominik
2009-04-17 16:20   ` Bernt Hansen
2009-04-17 16:23     ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).