emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jason Riedy <jason@acm.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: File local variables and export?
Date: Tue, 5 May 2009 10:40:16 +0200	[thread overview]
Message-ID: <0BC5E66D-AA3F-4D43-B830-E36C2EFFB434@gmail.com> (raw)
In-Reply-To: <878wlcfzr0.fsf@sparse.dyndns.org>


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	other threads:[~2009-05-05  8:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-04 19:13 File local variables and export? Jason Riedy
2009-05-05  8:40 ` Carsten Dominik [this message]
2009-05-05 15:15   ` Jason Riedy
2009-05-06  7:25     ` 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=0BC5E66D-AA3F-4D43-B830-E36C2EFFB434@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jason@acm.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).