From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] attr_latex in new exporter Date: Fri, 08 Mar 2013 11:34:20 +0100 Message-ID: <87k3pi18pf.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37529) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDudJ-0001BD-L4 for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 05:34:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDudF-0008PD-G1 for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 05:34:37 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:35484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDudF-0008P0-9s for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 05:34:33 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so2257001wgd.4 for ; Fri, 08 Mar 2013 02:34:32 -0800 (PST) In-Reply-To: (Thomas S. Dye's message of "Thu, 07 Mar 2013 18:25:04 -1000") 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: "Thomas S. Dye" Cc: Org-mode Hello, tsd@tsdye.com (Thomas S. Dye) writes: > I think this behavior was introduced in the last week or so. > > This in the Org file: > > #+attr_latex: :height "2in" > [[file:saa-fig/wet-dry.jpeg]] > > yields this in LaTeX output: > > \begin{figure}[htb] > \centering > \includegraphics[width=.9\linewidth,height=2in]{saa-fig/wet-dry.jpeg} > \end{figure} > > I think when :height is set, then the default :width should not be > set. I think it should be fixed. Could you confirm it? Thank you for reporting it. Regards, -- Nicolas Goaziou