emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and f


From: Nicolas Goaziou
Subject: Re: [O] Bug: [PATCH] Org-babel: separate #+attr_... for code block and for results block [7.9.3d (release_7.9.3d-834-g60083a.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]
Date: Wed, 23 Jan 2013 14:15:05 +0100

Hello,

address@hidden (Дядов Васил Стоянов) writes:

> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
>
>      http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> With current org-babel it is not possible to set separate html
> attributes for result block.
>
> Simple case:
>
> ,----
> | #+begin_src ditaa :file 123.png :cache yes
> | ...
> | #+end_src
> | 
> | #+results[f8f8...]:
> | file:123.png
> `----
>
> Suppose, I want to add some html attributes to image:
>
> ,----
> | #+begin_src ditaa :file 123.png :cache yes
> | ...
> | #+end_src
> | 
> | #+attr_html: alt="big image" width="100%"
> | 
> | #+results[f8f8...]:
> | file:123.png
> `----

This is an invalid syntax. Attributes lines have to be sticked to the
element they refer to. It is true for every element in an Org buffer,
not only src blocks.


Regards,

-- 
Nicolas Goaziou



reply via email to

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