emacs-orgmode
[Top][All Lists]
Advanced

[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: Suvayu Ali
Subject: Re: [O] [bug] new beamer exporter always adds default width to graphics
Date: Tue, 12 Mar 2013 15:59:55 +0100
User-agent: Mutt/1.5.21 (2012-12-30)

On Tue, Mar 12, 2013 at 10:38:27AM -0400, Jay Kerns wrote:
> Dear James,
> 
> On Tue, Mar 12, 2013 at 9:25 AM, James Harkins <address@hidden> wrote:

[...]

> > 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.
> 
> 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 believe Nicolas mentioned sometime back the :width option is available
only for floats whereas :options is the only way for included graphics
files (because of how LaTeX works).  This addition is a bit inconsistent
with that line of thought.

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]