[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-odt: specifying fonts

From: Jambunathan K
Subject: Re: [O] org-odt: specifying fonts
Date: Wed, 19 Oct 2011 23:24:38 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (windows-nt)

> I agree with Mehul it would be great to have an option to specify a 
> styles file on a per-file basis. Something like:
>    #+ODT_STYLE: ~/org/odt-templates/cv.odt

I have gone with `#+ODT_STYLES_FILE: '[1]. Refer the docstring below for a
sample setting.

,----[ C-h v org-export-odt-styles-file RET ]
| 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.

Hope it is OK.

[1] The name of the option is same as the upcased custom variable name
with `org-export-' prefix stripped. The same convention can be used for
any "future" per-file odt settings.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]