emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-odt: specifying fonts


From: Mehul Sanghvi
Subject: Re: [O] org-odt: specifying fonts
Date: Wed, 19 Oct 2011 14:15:00 -0400

On Wed, Oct 19, 2011 at 13:54, Jambunathan K <address@hidden> wrote:
>
>> 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.
>
> Footnotes:
> [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.
> --
>


Awesome !!   Thanks Jambunathan

-- 
Mehul N. Sanghvi
email: address@hidden



reply via email to

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