emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] odt exporter on mixed org setup


From: Jambunathan K
Subject: Re: [O] odt exporter on mixed org setup
Date: Thu, 16 Jan 2014 13:59:25 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Rustom Mody <address@hidden> writes:

> Ended with: ox-odt cannot find factory style files

You need

    (setq org-odt-data-dir "~/src/org-mode/etc/")

Modify the path.  If the *Messages* say that it is not able to find the
styles dir, it really means that it is not able to find the styles
files.

> Checked that it comes back it I use emacs23; goes away if I use
> emacs24 Checked that the messages when it works in emacs24 are like
> thus:

ODT exporter (and hence the style files) made it's appearance in
Emacs24.  (i.e., There is ALWAYS a styles file that the exporter can
safely fallback to.)  The styles file that the ODT exporter ACTUALLY
USES may come from stock Emacs and which may trail behind the git repo
over a period of time.

There is no ODT exporter in stock Emacs23.  So fallback MAY fail.

----------------------------------------------------------------

Stock Emacs has styles file under:

    C-h v data-directory

If you installed Org as a standalone package, use apt to find out where
it is located.

----------------------------------------------------------------

Someone reported a bug on ox-odt.el paths not being modified when the
ODT exporter moved from contrib/ to lisp/ directory in git repo.
(Interested people can investigate and propose a patch.)  I don't have a
link to that post right now.

----------------------------------------------------------------

The way make system treats `org-odt-data-dir' is a bit flaky.  I didn't
pursue the issue further because I felt it is pointless arguing with
some people.





reply via email to

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