From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: controling width of graphviz source block result Date: Fri, 21 Feb 2014 18:25:37 +0100 Message-ID: <87lhx41ipa.fsf@gmail.com> References: <87fvncpfrb.fsf@channing.harvard.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGtqm-0003Y0-Lj for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 12:25:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGtqe-0001Tf-6b for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 12:25:24 -0500 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:58126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGtqd-0001RW-WA for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 12:25:16 -0500 Received: by mail-wi0-f180.google.com with SMTP id hm4so1074186wib.7 for ; Fri, 21 Feb 2014 09:25:15 -0800 (PST) In-Reply-To: <87fvncpfrb.fsf@channing.harvard.edu> (regcl@channing.harvard.edu's message of "Fri, 21 Feb 2014 11:55:20 -0500") 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: regcl Cc: emacs-orgmode@gnu.org 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, -- Nicolas Goaziou