[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Which `odt-content' variable should I use? Why are there two?
From: |
Jambunathan K |
Subject: |
Re: [O] Which `odt-content' variable should I use? Why are there two? |
Date: |
Mon, 27 Jan 2014 19:17:21 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Brady Trainor <address@hidden> writes:
> I was browsing the customize group org-export-odt.
The old exporter and the new exporters share the same custom group. So
you are seeing the old and new variables in the custom buffer. (IMO
this is a bug.)
----------------------------------------------------------------
NEW variables do NOT have an extra "export" in their names
==========================================================
If you are using org > 8.0, the variables that you are interested in
should come from ox-odt.el.
M-x find-library ox-odt
M-<
C-s defcustom
(defcustom org-odt-prettify-xml nil
^^^^^^^
(defcustom org-odt-schema-dir
^^^^^^^
Note that NEW variables don't have "export" in their names. Except for
change in the prefix, the functionality is for most part the same.
----------------------------------------------------------------
Migrate: Use search and replace
================================
So, a simple renaming in your .emacs should suffice for migrating your
old settings to the new settings.
C-x C-f .emacs
M-% org-export-odt- org-odt-
C-x C-s