From d7e18dae7d71b12f830bc9cc27974c00e4777cb2 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 21 Oct 2011 16:13:03 +0200 Subject: [PATCH] Add a new FAQ: How can I specify ODT export styles? --- org-faq.org | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/org-faq.org b/org-faq.org index a2e5a4c..e355bc8 100644 --- a/org-faq.org +++ b/org-faq.org @@ -3918,6 +3918,33 @@ Once you have identified the error 1. Create a minimal org file that reproduces the error. 2. Post a bug-report to =emacs-orgmode@gnu.org=. +** How can I specify ODT export styles? + +Check the variable =org-export-odt-styles-file=. Here is its docstring, +as of Org version 7.8: + +: org-export-odt-styles-file is a variable defined in `org-odt.el'. +: Its value is nil +: +: Documentation: +: Default styles file for use with ODT export. +: Valid values are one of: +: 1. nil +: 2. path to a styles.xml file +: 3. path to a *.odt or a *.ott file +: 4. list of the form (ODT-OR-OTT-FILE (FILE-MEMBER-1 FILE-MEMBER-2 +: ...)) +: +: [snip] +: +: Use "#+ODT_STYLES_FILE: ..." directive to set this variable on +: a per-file basis. For example, +: +: #+ODT_STYLES_FILE: "/path/to/styles.xml" or +: #+ODT_STYLES_FILE: ("/path/to/file.ott" ("styles.xml" "image/hdr.png")). +: +: You can customize this variable. + * Backup Since =org= files are so central to your life, you probably want to back -- 2.11.4.GIT