From mboxrd@z Thu Jan 1 00:00:00 1970 From: regcl Subject: Re: controling width of graphviz source block result Date: Fri, 21 Feb 2014 15:11:41 -0500 Message-ID: <87zjlkns3m.fsf@channing.harvard.edu> References: <87fvncpfrb.fsf@channing.harvard.edu> <87lhx41ipa.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGwT8-0007PO-D5 for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 15:13:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGwT2-0003zZ-DG for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 15:13:10 -0500 Received: from mail-qc0-f169.google.com ([209.85.216.169]:32858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGwT2-0003zP-9I for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 15:13:04 -0500 Received: by mail-qc0-f169.google.com with SMTP id e9so4537185qcy.28 for ; Fri, 21 Feb 2014 12:13:03 -0800 (PST) In-Reply-To: <87lhx41ipa.fsf@gmail.com> (Nicolas Goaziou's message of "Fri, 21 Feb 2014 18:25:37 +0100") 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > regcl writes: > >> When I try to control the width of the image produced by >> included graphviz (DOT) code like so ... >> >> #+ATTR_HTML: :width 300 >> #+INCLUDE: gnus.dot SRC dot :file gnus.png :exports results >> >> ... width is not controlled. > > Here the HTML attribute applies to the INCLUDE keyword below. > >> #+INCLUDE: "gnus.dot" SRC dot :file gnus.png :exports none >> #+ATTR_HTML: :width 300 >> file:gnus.png > > Here, the HTML attribute applies to the link below. > > Therefore, the behaviour is to be expected. > > > Regards, So I am understanding from your answer that attribues only "modify" the next immediate "thing" in the .org document, and do not persist, so to speak. But I have discovered that it works to stack them up like this ... #+ATTR_HTML: :width 1000 #+ATTR_ODT: :width 15 :height 15 [[file:gnus.png]] ... so I am a little confused. Could you please clarify? Thanks, regcl