emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: odt exporter on mixed org setup
Date: Thu, 16 Jan 2014 13:59:25 +0530	[thread overview]
Message-ID: <87iotk49ei.fsf@gmail.com> (raw)
In-Reply-To: CAJ+TeofBvZJDU9eLQkdJf6-usj-VhTsJpGW0UWLU_X05QWH1OQ@mail.gmail.com

Rustom Mody <rustompmody@gmail.com> 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.

  parent reply	other threads:[~2014-01-16  8:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-16  5:47 odt exporter on mixed org setup Rustom Mody
2014-01-16  7:53 ` Andreas Leha
2014-01-16  8:29 ` Jambunathan K [this message]
2014-01-16 11:29   ` Rustom Mody
2014-01-16 14:48     ` Jambunathan K
2014-01-16 16:38       ` Achim Gratz
2014-01-23  5:59         ` Jambunathan K
2014-01-23 17:22           ` Achim Gratz
2014-01-23 17:31             ` Jambunathan K
2014-01-16 14:52     ` Jambunathan K
2014-01-16 17:20       ` Rustom Mody
2014-01-18 18:53         ` Jambunathan K
2014-01-19  3:27           ` Rustom Mody
2014-01-19  4:10             ` Rustom Mody
2014-01-19  4:20               ` Jambunathan K
2014-01-19  4:29               ` Jambunathan K
2014-01-16 16:29     ` Achim Gratz
2014-01-16 11:30 ` Miguel Ruiz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iotk49ei.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).