From: Miguel Ruiz <rbenit68@yahoo.es>
To: Rustom Mody <rustompmody@gmail.com>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: odt exporter on mixed org setup
Date: Thu, 16 Jan 2014 11:30:34 +0000 (GMT) [thread overview]
Message-ID: <1389871834.12765.YahooMailNeo@web171305.mail.ir2.yahoo.com> (raw)
In-Reply-To: <CAJ+TeofBvZJDU9eLQkdJf6-usj-VhTsJpGW0UWLU_X05QWH1OQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3277 bytes --]
This is my setup in .emacs; it runs without problems version after version.
;;
;; Remove Org remnants built into Emacs
;;
;; from Achim Gratz
;; https://github.com/emacsmirror/org/blob/master/testing/org-batch-test-init.el
;; clean load-path
(setq load-path
(delq nil (mapcar
(function (lambda (p)
(unless (string-match "lisp\\(/packages\\)?/org$" p)
p)))
load-path)))
;; remove property list to defeat cus-load and remove autoloads
(mapatoms (function (lambda (s)
(let ((sn (symbol-name s)))
(when (string-match "^\\(org\\|ob\\|ox\\)\\(-.*\\)?$" sn)
(setplist s nil)
(when (eq 'autoload (car-safe s))
(unintern s)))))))
;; we should now start from a clean slate
;;(setq myorg "master")
(setq myorg "maint" ) ;; I have several directories under ~/org-mode/ with different
;; versions so I can change "easily"
;;(add-to-list 'load-path (concat "~/org-mode/" myorg "/testing/lisp"))
;;(add-to-list 'load-path (concat "~/org-mode/" myorg "/testing"))
(add-to-list 'load-path (concat "~/org-mode/" myorg "/contrib/lisp"))
(add-to-list 'load-path (concat "~/org-mode/" myorg "/lisp"))
(require 'info)
(setq Info-directory-list
(cons (expand-file-name (concat "~/org-mode/" myorg "/doc"))
Info-default-directory-list))
(setq org-odt-data-dir (expand-file-name (concat "~/org-mode/" myorg "/etc")))
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb"
'org-iswitchb)
HTH
El Jueves 16 de enero de 2014 6:47, Rustom Mody <rustompmody@gmail.com> escribió:
Just helped a friend to install and upgrade to latest org.
Method summary:
$ git clone
$ make update
combined with setup of load-paths
Ended with: ox-odt cannot find factory style files
I remember that I too had this problem
http://lists.gnu.org/archive/html/emacs-orgmode/2013-07/msg00341.html
and it had recently disappeared.
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:
Debug (ox-odt): Searching for OpenDocument styles files...
Debug (ox-odt): Trying /usr/share/emacs/etc/org/styles/... [2 times]
Debug (ox-odt): Trying ~/pdsw/etc/styles/...
Debug (ox-odt): Trying ~/pdsw/org-mode/lisp/etc/styles/...
Debug (ox-odt): Trying /usr/share/emacs/24.3/etc/org/...
Debug (ox-odt): Using styles under /usr/share/emacs/24.3/etc/org/
Debug (ox-odt): Searching for OpenDocument schema files...
Debug (ox-odt): Trying /usr/share/emacs/etc/org/schema/... [2 times]
Debug (ox-odt): No OpenDocument schema files installed
So evidently my 'working' odt export is working because its using the
builtin emacs odt exporter and not the
latest one
Looking at org-odt-* stuff I see almost a dozen files and directories
and file lists and what not.
All attempts so far at doing
(setq org-odt-styles-dir "~/pdsw/org-mode/etc/styles")
in various places, hooks etc have not changed the fact that it gets
the builtin one
[-- Attachment #2: Type: text/html, Size: 7035 bytes --]
prev parent reply other threads:[~2014-01-16 11: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
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 [this message]
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=1389871834.12765.YahooMailNeo@web171305.mail.ir2.yahoo.com \
--to=rbenit68@yahoo.es \
--cc=emacs-orgmode@gnu.org \
--cc=rustompmody@gmail.com \
/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).