Using latest org-mode, with org-odt included.

C-c C-e O complained about not finding OrgOdtAutomaticStyles.xml.
I patched org-odt.el to the following so that it could find it:

Could someone look into this? (e.g. I do not know whether this would break
non-integrated org-odt (or whether that matters at all at this stage)

diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el
index ad53204..2857bf9 100644
--- a/contrib/lisp/org-odt.el
+++ b/contrib/lisp/org-odt.el
@@ -70,7 +70,7 @@

 (defconst org-odt-lib-dir (file-name-directory load-file-name))
 (defconst org-odt-data-dir
-  (let ((dir1 (expand-file-name ".." org-odt-lib-dir))            ; git
+  (let ((dir1 (expand-file-name "../odt" org-odt-lib-dir))                ;
git
        (dir2 (expand-file-name "./contrib/odt" org-odt-lib-dir))) ; elpa
     (cond
      ((file-directory-p dir1) dir1)




On Fri, Jul 1, 2011 at 11:37 AM, Bastien <b...@altern.org> wrote:

> Dear all,
>
> I'm please to announce that Jambunathan's ODT exporter is now in the
> contrib/ directory (in latest git repo) -- the files are here:
>
>  contrib/odt/
>  contrib/lisp/org-odt.el
>  contrib/lisp/org-lparse.el
>  contrib/lisp/org-xhtml.el
>
> Jambunathan and I are still actively tuning this major addition, please
> bare with us while we are making sure everything works as expected.
>
> We still need to update the documentation and a few things.
>
> Again, thanks a lot to Jambunathan for this wonderful addition and for
> his patience, and also thanks to Lennart who contributed to the initial
> effort and helped make this come true.
>
> The ODT exporter will live in contrib/ for Org 7.6 -- then we will work
> on integrating it to the core, so that it can safely move to Emacs one
> day.
>
> Happy hacking and testing to everyone!
>
> --
>  Bastien
>
>


-- 
http://pft.github.com

Reply via email to