emacs-orgmode
[Top][All Lists]
Advanced

[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: Wed, 20 Mar 2013 13:04:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

sorry for this post. I should have read the mailing list more
carefully. looks as if a) the issue is already under discussion and b)
that the manual is for latest release whereas I had problems with the
pre-release.



Thomas Alexander Gerds <address@hidden> writes:

> the following page from the official manual
>
> http://orgmode.org/manual/Images-in-LaTeX-export.html
>
> says
>
> #+ATTR_LaTeX: width=5cm,angle=90
>
> however, the new exporter does not recognize this syntax. instead the
> following works:
>
> #+ATTR_LaTeX: :width 5cm
>
> I was learning about this by guessing around for some time ... it is
> surprisingly hard to edebug the export process (any hints?).
>
> next, the following educated guess does not work:
>
> #+ATTR_LaTeX: :width 5cm :angle 90
>
> instead one needs to say
>
> #+ATTR_LaTeX: :width 5cm,angle 90
>
> I am not sure whether these changes are very intuitive, or more
> intuitive than the old style. but, the changes interfere with the aim
> to have reproducible documents.
>
> now, I am ready to convert all my old documents to the new
> syntax. Would someone share a (elisp/sed/perl/other) macro that
> reliably goes through old org-mode files and converts the part of the
> syntax which is not compatible with the new exporter? [it is easy to
> convert (width=) to (:width) in lines that start with #+ATTR_LaTeX:
> but this is not the full story.
>
> Such a macro could then be applied to update the manual ...
>
> cheers Thomas
--
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) 



reply via email to

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