emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] bug in new exporter


From: Rasmus
Subject: Re: [O] bug in new exporter
Date: Tue, 04 Jun 2013 00:12:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nick Dokos <address@hidden> writes:

>>> One thing that I couldn't figure out is how to get rid of the width
>>> specification altogether. 
>>
>> It's a feature.  We had a lengthy discussion about it a while ago
>> (myself, Nicholas and Aaron, I believe) 
>>
>
> Count me confused again: what's the feature? I'll go looking for the
> discussion I guess.

including .9\textwidth when you least expect it is a feature.

See this thread 

    http://comments.gmane.org/gmane.emacs.orgmode/69963


> if I rearrange the line to
>
>  #+ATTR_LATEX: :width "" :placement [htb!] :options scale=1.5  
>
> I get the "Wrong argument type" error in the current version as
> well. 

I can reproduce this here.

> I guess :width has to be after the :options ?!? I don't quite
> understand the rules I guess.

Neither do I in this case.  I'm guessing it has do with the "escaping"
of "" 'cause it also fails if you :placement behind width.  

With 

   #+ATTR_LATEX:  :options scale=1.5    :width "" :placement [htb!]
it fails here
   (attr (org-export-read-attribute :attr_latex parent))
             
which evalues to something like

    Result: (:options "scale=1.5" :placement "[htb!]" :width "")

when it doesn't crash.

Perhaps, I'll have time to look at it later, but probably Nicolas is
the right guy for the job.

> Very helpful: thanks for the elucidation!

Thanks you to you too!

–Rasmus

-- 
Enough with the bla bla!




reply via email to

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