[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] questions about exporting to latex using beamer documentcl
Re: [Orgmode] questions about exporting to latex using beamer documentclass
Mon, 6 Jul 2009 18:24:49 +0200
On Jul 5, 2009, at 6:40 PM, Nick Dokos wrote:
Spike Spiegel <address@hidden> wrote:
Also, given a variable like org-export-latex-image-default-option, is
there any way to override it per file or per document class?
Well, yes and no (mostly no - but see below):
o You can of course customize this variable, but that's a global
o You can use the ":latex-image-options" property to set the above
but that is used in org-publish-project-alist, not for exporting.
| (defconst org-export-plist-vars
| '((:link-up nil org-export-html-link-up)
| (:latex-image-options nil org-export-latex-image-default-
| "List of properties that represent export/publishing variables.
| Each element is a list of 3 items:
| 1. The property that is used internally, and also for org-publish-
| 2. The string that can be used in the OPTION lines to set this
| or nil if this option cannot be changed in this way
| 3. The customization variable that sets the default for this
o You can modify the setting of the org-export-plist-vars (either by
modifying your copy
of org-exp.el or by some other method) to change the line
(:latex-image-options nil org-export-latex-image-default-
(:latex-image-options "latex-image-options" org-export-
and then use
#+OPTIONS: latex-image-options:width=1 cm
in your org file.
[BTW, if you are using git, small local variations from the
canonical org-mode can be easily
accommodated, by using a local branch and git rebase.]
o You can try to convince Carsten that this should be part of
You can now do (I think)
#+BIND: org-export-latex-image-default-option "width=1cm"
This will work for any variables that are not addressed by
#+OPTIONS and similar lines. It will not work for anything
that is in `org-export-plist-vars', and that is confusing.
Any ideas on how these should interact?
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.