From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Alexander Gerds Subject: Re: latex figure scaling question, backward compatibility and outdated manual Date: Fri, 22 Mar 2013 08:47:55 +0100 Message-ID: References: <871ub87918.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIwhn-0001Ss-9f for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 03:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIwhi-0000kA-QO for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 03:48:03 -0400 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:58466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIwhi-0000jq-K5 for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 03:47:58 -0400 Received: by mail-ea0-f180.google.com with SMTP id m14so75585eaj.11 for ; Fri, 22 Mar 2013 00:47:57 -0700 (PDT) In-Reply-To: <871ub87918.fsf@gmail.com> (Nicolas Goaziou's message of "Thu, 21 Mar 2013 22:11:31 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org 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.=20 Nicolas Goaziou writes: > Hello, > > Thomas Alexander Gerds 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=3D90 > >> 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, =D8ster Farimagsgade 5, 1014 Copenhagen, Denmark Office: CSS-15.2.07 (Gamle Kommunehospital) tel: 35327914 (sec: 35327901)=20