From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jay Kerns Subject: Re: [bug] new beamer exporter always adds default width to graphics Date: Tue, 12 Mar 2013 10:38:27 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFQLt-000801-Ha for Emacs-orgmode@gnu.org; Tue, 12 Mar 2013 10:38:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFQLo-00013o-OH for Emacs-orgmode@gnu.org; Tue, 12 Mar 2013 10:38:53 -0400 Received: from mail-qa0-f45.google.com ([209.85.216.45]:35045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFQLo-00013j-KG for Emacs-orgmode@gnu.org; Tue, 12 Mar 2013 10:38:48 -0400 Received: by mail-qa0-f45.google.com with SMTP id g10so1623309qah.4 for ; Tue, 12 Mar 2013 07:38:48 -0700 (PDT) In-Reply-To: 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: jamshark70@dewdrop-world.net Cc: Emacs-orgmode@gnu.org Dear James, On Tue, Mar 12, 2013 at 9:25 AM, James Harkins wrote: > Hi, > > Apologies if this was previously reported. I read the digest, so I > might not have seen the most recent e-mails. I took a quick glance at > gmane's archive and didn't readily see anything. > > The width attribute for beamer graphics is not handled properly at > present (current master). > > The org file contains: > > #+BEGIN_CENTER > #+ATTR_LaTeX: :options width=6cm > [[./img/new-version.png]] > #+END_CENTER > > In the .tex file, I see: > > \begin{center} > \includegraphics[width=6cm,width=.9\linewidth]{./img/new-version.png} > \end{center} > > Two widths appear: the one that I wanted, and the default that I was > trying to override. LaTeX obeys the one that I didn't want. > > The problem is somewhere between HEAD and this commit (i.e., 8cc6c13 > is a "good" commit; head is "bad"): > > commit 8ee6c13c7fd6eacc2e8c2ace8054f8aac3548966 > Author: Bastien Guerry > Date: Sat Feb 23 13:47:44 2013 +0100 > Fix typo: an headline -> a headline. > > Please fix. Thanks. > hjh > Yes, the same thing happened to me too, and yes, there was a change recently, and here is a link to the discussion about it: http://comments.gmane.org/gmane.emacs.orgmode/68011 I believe you can do the following to get what you were expecting: #+ATTR_LaTeX: :width 6cm I hope this helps, -- Jay