[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] latex figure scaling question, backward compatibility and outdat
From: |
Thomas Alexander Gerds |
Subject: |
Re: [O] latex figure scaling question, backward compatibility and outdated manual |
Date: |
Fri, 22 Mar 2013 08:47:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
thanks for the reply!
when edebugging the function org-export-read-attribute it is unclear to
me which function generates (the text properties of) element.
do you have a script which translates from old syntax to new?
thanks.
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> Thomas Alexander Gerds <address@hidden> writes:
>
>> I was learning about this by guessing around for some time ... it is
>> surprisingly hard to edebug the export process (any hints?).
>
> This is a bit vague.
>
>> next, the following educated guess does not work:
>> #+ATTR_LaTeX: :width 5cm :angle 90
>
> This is because :angle is not recognized as a special keyword. Unless
> it is implemented in `org-latex--inline-image', it should go in the
> miscellaneous :options keyword, e.g.
>
> #+attr_latex: :width 5cm :options angle=90
>
>> instead one needs to say
>> #+ATTR_LaTeX: :width 5cm,angle 90
>
> Well, that works but only as a side-effect.
>
> Regards,
--
Thomas A. Gerds -- Assoc. Prof. Department of Biostatistics
University of Copenhagen, Ă˜ster Farimagsgade 5, 1014 Copenhagen, Denmark
Office: CSS-15.2.07 (Gamle Kommunehospital)
tel: 35327914 (sec: 35327901)