From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: [bug] new beamer exporter always adds default width to graphics Date: Tue, 12 Mar 2013 21:25:37 +0800 Message-ID: Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFPD6-0003Lt-LT for Emacs-orgmode@gnu.org; Tue, 12 Mar 2013 09:25:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFPD0-0001HM-Hj for Emacs-orgmode@gnu.org; Tue, 12 Mar 2013 09:25:44 -0400 Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:62676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFPD0-0001H8-DZ for Emacs-orgmode@gnu.org; Tue, 12 Mar 2013 09:25:38 -0400 Received: by mail-ob0-f180.google.com with SMTP id ef5so4518797obb.11 for ; Tue, 12 Mar 2013 06:25:37 -0700 (PDT) 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: Emacs-orgmode@gnu.org 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