That probably explains it, then. But, uh, can I borrow this thread for a moment?
I find custom styles in ODT export aren't working as per the manual, section 12.8.2. Here's what I've done (test files attached; Emacs 23.3.1; Org 7.7, freshly pulled):
1. Exported test-odt.org to ODT with default settings.2. In OpenOffice: Changed the Heading 1 style in the exported ODT document to red, then saved it as styles.odt.
3. Pointed org-export-odt-styles-file to styles.odt.4. Exported test-odt.org to test-odt.odt. Result: no headings at all -- everything's in the Default style.
This is how I understand the manual, and the thread I referenced before, and I remember having tested it before at some point when it worked perfectly, so I'm rubbing my eyes and wondering if it's just me. Could I ask someone to please check?
Yours, Christian On 10/17/11 8:31 PM, Mehul Sanghvi wrote:
On Mon, Oct 17, 2011 at 14:00, Nick Dokos<nicholas.do...@hp.com> wrote:My (factually-baseless but best-that-I-can-do given the paucity of information you provide) guess is that you are not running the version you think you are running. NickWhat I have is Org-mode version 7.5 (baseline.533.ga5129.dirty), so it seems your factually-baseless guess is correct. % git remote -v origin http://repo.or.cz/r/org-mode/org-jambu.git (fetch) origin http://repo.or.cz/r/org-mode/org-jambu.git (push) I have been pulling from the wrong repository. cheers, mehul
#+title: Test ODT export #+options: toc:nil num:nil (setq org-export-odt-styles-file "~/org/odt/styles.odt") * Heading Bla bla * Heading ** Subheading Bla bla
test-odt.odt
Description: application/vnd.oasis.opendocument.text
styles.odt
Description: application/vnd.oasis.opendocument.text