Org-mode mailing list
 help / color / mirror / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Дядов Васил Стоянов" <vdyadov@elvees.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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
Message-ID: <87ip6o9h2e.fsf@gmail.com> (raw)
In-Reply-To: <s4y1udc86qb.fsf@canopus-pc.elvees.com> (=?utf-8?B?ItCU0Y8=?= =?utf-8?B?0LTQvtCyINCS0LDRgdC40Lsg0KHRgtC+0Y/QvdC+0LIiJ3M=?= message of "Wed, 23 Jan 2013 15:43:40 +0400")

Hello,

vdyadov@elvees.com (Дядов Васил Стоянов) 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	other threads:[~2013-01-23 13:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 11:43 Дядов Васил Стоянов
2013-01-23 13:15 ` Nicolas Goaziou [this message]
2013-01-23 15:03   ` Дядов Васил Стоянов
2013-01-23 15:22     ` Nicolas Goaziou
2013-01-24  7:58       ` Дядов Васил Стоянов
2013-01-24  7:59         ` Bastien
2013-01-24 13:20         ` Nicolas Goaziou
2013-01-24 14:10           ` Дядов Васил Стоянов
2013-01-24 14:13             ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://orgmode.org

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ip6o9h2e.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=vdyadov@elvees.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git