Closed rothmichaels closed 8 years ago
Forgot about this one; last one for real.
Apologies, I'm not quite sure what's going on here... Could you explain a little more?
Running org-odt-export-to-odt
requires certain files in the directory referenced by org-odt-data-dir
(e.g. OrgOdtStyles.xml). Org-pack was defining this variable to the hard coded path /usr/share/emacs/etc/org, which is not available to all emacs installs.
The org-pack does contain a valid org/odt data directory at org-pack/lib/org-mode/etc.
I made the following changes:
org-odt-data-dir
from org-pack/lib/org-version.el.org-odt-data-dir
in org-pack/lib/org-loaddefs.el to reference the data directory included with the pack (i.e. org-pack/lib/org-mode/etc).Sorry for the brief pull request description. Let me know if you have any other questions or if you'd like me to rebase this or other pull requests on your latest work.
Any thoughts on this one? Got more questions? Here is a super brief summary:
org-odt-data-dir
defined twice (as the same value).org-odt-data-dir
is defined to be a system specific org-mode path /usr/share/emacs/etc/org instead of using the org-mode lisp included in the org-mode pack.Closing because I later realized this was not the correct place to set this variable.
org-odt-data-dir
was being set to an abosulte path for org-mode included with emacs installed in /usr/share.Updated
org-odt-dat-dir
to point to the org-mode pack.