[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] setting org-export-latex-image-default-option on a per fil
Re: [Orgmode] setting org-export-latex-image-default-option on a per file basis?
Tue, 09 Feb 2010 21:01:07 -0500
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Lee Hinman <address@hidden> writes:
> 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:
> 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?
I was just having the same problem. We can use a file-local variable,
# Local Variables:
# org-export-latex-image-default-option: "width=30em"
This goes "near the end of the file" according to
> Thanks for any suggestions.