From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Alexander Gerds Subject: latex figure scaling question, backward compatibility and outdated manual Date: Tue, 19 Mar 2013 14:10:30 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHwJK-00080z-PJ for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 09:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHwJF-0002q6-US for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 09:10:38 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:42598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHwJF-0002pr-Op for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 09:10:33 -0400 Received: by mail-ee0-f45.google.com with SMTP id b57so235701eek.32 for ; Tue, 19 Mar 2013 06:10:32 -0700 (PDT) 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: emacs-orgmode@gnu.org 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