[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] File local variables and export?

From: Carsten Dominik
Subject: Re: [Orgmode] File local variables and export?
Date: Tue, 5 May 2009 10:40:16 +0200

On May 4, 2009, at 9:13 PM, Jason Riedy wrote:

I'm trying to change org-export-latex-image-default-option to
"width=.7\\linewidth" in a file local variable. It's set correctly as a
buffer local variable, and it's having no effect on the export.  My
guess is that the buffer-local property is stopping it as soon as
org-export-as-latex runs set-buffer.

I can smuggle the value in by adding an entry to org-export-plist-vars
referring to org-export-latex-image-default-option and pulling the value
from the plist, but that feels incorrect.

To me it sounds correct, actually.  I have added this, and will add
other variables as needed.

Am I missing something?  Or should I look into grabbing
buffer-local-variables before set-buffer and setting the variables in
the output buffer?

BTW, there's a typo in org-export-region-as-latex's docstring. Replace
retunr with return...  That pops up in the docbook export, too. ;)

Fixed, thanks.

- Carsten

reply via email to

[Prev in Thread] Current Thread [Next in Thread]