From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Hinman Subject: setting org-export-latex-image-default-option on a per file basis? Date: Tue, 09 Feb 2010 14:41:54 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Newvx-0006lN-Vx for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 15:43:46 -0500 Received: from [199.232.76.173] (port=47378 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Newvx-0006l0-GF for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 15:43:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Newvw-0003l2-4L for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 15:43:45 -0500 Received: from mail-fx0-f216.google.com ([209.85.220.216]:52546) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Newvv-0003kY-GP for emacs-orgmode@gnu.org; Tue, 09 Feb 2010 15:43:43 -0500 Received: by fxm8 with SMTP id 8so7384541fxm.26 for ; Tue, 09 Feb 2010 12:43:36 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Hi all, I'm using org-babel-ditaa to insert a picture into a document I am writing. This works great, except the inserted image is too small. By changing the -s option to ditaa I was able to modify the size of the image for the HTML export but not for the LaTeX. I did a little looking at the .tex file and found this: \includegraphics[width=10em]{before1.png} the width=10em is controlled by org-export-latex-image-default-option. Ideally I'd like to change this value for this file only, something like an entry in the #+OPTIONS line. But org-export-plist-vars has that element set to nil so it isn't configurable via that method. Does anyone have a suggestion of how I could tweak this variable on a per file basis? Thanks for any suggestions. -- Lee Hinman hinman@gmail.com