[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug] new beamer exporter always adds default width to graphics
From: |
Jay Kerns |
Subject: |
Re: [O] [bug] new beamer exporter always adds default width to graphics |
Date: |
Tue, 12 Mar 2013 10:38:27 -0400 |
Dear James,
On Tue, Mar 12, 2013 at 9:25 AM, James Harkins <address@hidden> 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 <address@hidden>
> 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