Hello,

Rasmus <ras...@gmx.us> writes:

> Nick Dokos <ndo...@gmail.com> writes:

>> 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.

This bug should be fixed in maint. Thanks to both of you for identifying
it.


Regards,

-- 
Nicolas Goaziou

Reply via email to