From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty0Iv-00067m-24 for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 08:23:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ty0Ir-0002Yw-4F for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 08:23:48 -0500 Received: from mail-wg0-f53.google.com ([74.125.82.53]:33562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ty0Iq-0002YS-St for emacs-orgmode@gnu.org; Wed, 23 Jan 2013 08:23:45 -0500 Received: by mail-wg0-f53.google.com with SMTP id fn15so1486223wgb.32 for ; Wed, 23 Jan 2013 05:23:43 -0800 (PST) In-Reply-To: (=?utf-8?B?ItCU0Y8=?= =?utf-8?B?0LTQvtCyINCS0LDRgdC40Lsg0KHRgtC+0Y/QvdC+0LIiJ3M=?= message of "Wed, 23 Jan 2013 15:43:40 +0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?B?0JTRj9C00L7QsiDQktCw0YHQuNC7INCh0YLQvtGP?= =?utf-8?B?0L3QvtCy?= Cc: emacs-orgmode@gnu.org Hello, vdyadov@elvees.com (=D0=94=D1=8F=D0=B4=D0=BE=D0=B2 =D0=92=D0=B0=D1=81=D0=B8= =D0=BB =D0=A1=D1=82=D0=BE=D1=8F=D0=BD=D0=BE=D0=B2) 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 > |=20 > | #+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 > |=20 > | #+attr_html: alt=3D"big image" width=3D"100%" > |=20 > | #+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, --=20 Nicolas Goaziou