emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lee Hinman <hinman@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: setting org-export-latex-image-default-option on a per file basis?
Date: Tue, 09 Feb 2010 14:41:54 -0600	[thread overview]
Message-ID: <m2aavi6t0t.fsf@hades.lhinman.com> (raw)

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

             reply	other threads:[~2010-02-09 20:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09 20:41 Lee Hinman [this message]
2010-02-10  2:01 ` setting org-export-latex-image-default-option on a per file basis? Dan Davison
2010-02-10  2:23   ` Nick Dokos
2010-02-10  8:00     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2aavi6t0t.fsf@hades.lhinman.com \
    --to=hinman@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).