Re: [O] No ODT export option
Debian lags quite a bit (from few months to years). It is difficult to say what version they are packaging. The best and easiest way to install latest Org would be to via GNU ELPA or Org ELPA. See http://orgmode.org/elpa.html. M-x list-packages Once you insall the package, restart Emacs and do M-x customize-variable org-export-backends and enable ODT. ps: If you are new to Emacs/Org, you will have less troubles if you start with an empty .emacs (or more specifically a .emacs that doesn't have any Org specific configuration.) Hendrik Boom hend...@topoi.pooq.com writes: On Fri, 10 Jan 2014 11:32:55 -0500, Ista Zahn wrote: Hi Ken, ODT export isn't enabled by default. You can enable it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista I'm having this problem on Debian testing, but not on Debian stable. I have installed the org-mode package on both systems. Inserting (require 'ox-odt) at the end of my !/.emacs file gives me Warning (initialization): An error occurred while loading `/home/ hendrik/.emacs': File error: Cannot open load file, ox-odt To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. so it doesn't look as if it worked. For the record, there is a /usr/share/emacs/site-lisp/org-mode/ ox-odt.el file. Also, export to html works, presumably using the ox-html.el file in that same directory, and I don't have to say (require 'ox-odt). I'd preume that file is found by the same mechanism, so not finding ox-odt by default is a bit of a puzzle. The Debian testing system, which works, has similar files in teh same place, but their names start with org- instead of ox-
Re: [O] No ODT export option
On Fri, 10 Jan 2014 11:32:55 -0500, Ista Zahn wrote: Hi Ken, ODT export isn't enabled by default. You can enable it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista I'm having this problem on Debian testing, but not on Debian stable. I have installed the org-mode package on both systems. Inserting (require 'ox-odt) at the end of my !/.emacs file gives me Warning (initialization): An error occurred while loading `/home/ hendrik/.emacs': File error: Cannot open load file, ox-odt To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. so it doesn't look as if it worked. For the record, there is a /usr/share/emacs/site-lisp/org-mode/ ox-odt.el file. Also, export to html works, presumably using the ox-html.el file in that same directory, and I don't have to say (require 'ox-odt). I'd preume that file is found by the same mechanism, so not finding ox-odt by default is a bit of a puzzle. The Debian testing system, which works, has similar files in teh same place, but their names start with org- instead of ox-
Re: [O] No ODT export option
On Mon, 13 Jan 2014 15:07:30 +, Hendrik Boom wrote a message with confusing typos On Fri, 10 Jan 2014 11:32:55 -0500, Ista Zahn wrote: Hi Ken, ODT export isn't enabled by default. You can enable it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista I'm having this problem on Debian testing, but not on Debian stable. I have installed the org-mode package on both systems. Inserting (require 'ox-odt) at the end of my !/.emacs file gives me ~/.emacs, not !/.emacs Warning (initialization): An error occurred while loading `/home/ hendrik/.emacs': File error: Cannot open load file, ox-odt To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. so it doesn't look as if it worked. For the record, there is a /usr/share/emacs/site-lisp/org-mode/ ox-odt.el file. Also, export to html works, presumably using the ox-html.el file in that same directory, and I don't have to say (require 'ox-odt). Of course I meant not having to say (require 'ox-html). I'd presume that file is found by the same mechanism, so not finding ox-odt by default is a bit of a puzzle. The Debian testing system, which works, has similar files in teh same place, but their names start with org- instead of ox-
Re: [O] No ODT export option
Hendrik Boom hend...@topoi.pooq.com writes: On Mon, 13 Jan 2014 15:07:30 +, Hendrik Boom wrote a message with confusing typos On Fri, 10 Jan 2014 11:32:55 -0500, Ista Zahn wrote: Hi Ken, ODT export isn't enabled by default. You can enable it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista I'm having this problem on Debian testing, but not on Debian stable. I have installed the org-mode package on both systems. Inserting (require 'ox-odt) at the end of my !/.emacs file gives me ~/.emacs, not !/.emacs Warning (initialization): An error occurred while loading `/home/ hendrik/.emacs': File error: Cannot open load file, ox-odt To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. so it doesn't look as if it worked. For the record, there is a /usr/share/emacs/site-lisp/org-mode/ ox-odt.el file. Also, export to html works, presumably using the ox-html.el file in that same directory, and I don't have to say (require 'ox-odt). Of course I meant not having to say (require 'ox-html). I'd presume that file is found by the same mechanism, so not finding ox-odt by default is a bit of a puzzle. The Debian testing system, which works, has similar files in teh same place, but their names start with org- instead of ox- That means it is using org-7.x, probably the org that came with whatever emacs package Debian distributes. If you are installing packages from Debian repos, that's probably the best that you can expect. If you (think you) are installing from the orgmode git repo, there is probably something wrong. Emacs provides tools to figure out where things are coming from: C-h f on a function name tells you which file the function came from, e.g. C-h f org-html-export-as-html RET , | org-html-export-as-html is an interactive Lisp function in | `ox-html.el'. | ... ` M-x locate-library RET ox-html RET tells you where emacs would load the ox-html library would be loaded from. There are more nuances and more tools but these should be enough to start with. Nick
[O] No ODT export option
Hi, I'd like to export to ODT or even directly to DOC. But I notice I do not have an ODT export option. Can someone help me set this up? I'm running org-20140107/ from ELPA on OS X in the emacs 24.3 (emacsformacosx distribution from http://emacsformacosx.com/). In my ELPA folder I see: $ find . | grep -i odt ./org-20140107/etc/styles/OrgOdtContentTemplate.xml ./org-20140107/etc/styles/OrgOdtStyles.xml ./org-20140107/ox-odt.el ./org-20140107/ox-odt.elc But when I'm in emacs in org-mode and I do ESC-x apropos org-odt and examine org-odt-data-dir the content of that variable are /usr/share/emacs/etc/org which does not exist. Any help for ODT (and/or DOC) much appreciated. FYI I also have LibreOffice installed which is how I will view the ODT files, and/or do the DOC conversion if I can't get that straight from org. Thank you, Ken Mankoff
Re: [O] No ODT export option
Hi Ken, ODT export isn't enabled by default. You can enable it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista On Fri, Jan 10, 2014 at 11:23 AM, Ken Mankoff mank...@gmail.com wrote: Hi, I'd like to export to ODT or even directly to DOC. But I notice I do not have an ODT export option. Can someone help me set this up? I'm running org-20140107/ from ELPA on OS X in the emacs 24.3 (emacsformacosx distribution from http://emacsformacosx.com/). In my ELPA folder I see: $ find . | grep -i odt ./org-20140107/etc/styles/OrgOdtContentTemplate.xml ./org-20140107/etc/styles/OrgOdtStyles.xml ./org-20140107/ox-odt.el ./org-20140107/ox-odt.elc But when I'm in emacs in org-mode and I do ESC-x apropos org-odt and examine org-odt-data-dir the content of that variable are /usr/share/emacs/etc/org which does not exist. Any help for ODT (and/or DOC) much appreciated. FYI I also have LibreOffice installed which is how I will view the ODT files, and/or do the DOC conversion if I can't get that straight from org. Thank you, Ken Mankoff
Re: [O] No ODT export option
Ok I seen the option now but when I try to export I get the following error: OpenDocument export failed: Symbol's function definition is void: cl--set-getf On Fri, Jan 10, 2014 at 11:32 AM, Ista Zahn istaz...@gmail.com wrote: Hi Ken, ODT export isn't enabled by default. You can enable it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista On Fri, Jan 10, 2014 at 11:23 AM, Ken Mankoff mank...@gmail.com wrote: Hi, I'd like to export to ODT or even directly to DOC. But I notice I do not have an ODT export option. Can someone help me set this up? I'm running org-20140107/ from ELPA on OS X in the emacs 24.3 (emacsformacosx distribution from http://emacsformacosx.com/). In my ELPA folder I see: $ find . | grep -i odt ./org-20140107/etc/styles/OrgOdtContentTemplate.xml ./org-20140107/etc/styles/OrgOdtStyles.xml ./org-20140107/ox-odt.el ./org-20140107/ox-odt.elc But when I'm in emacs in org-mode and I do ESC-x apropos org-odt and examine org-odt-data-dir the content of that variable are /usr/share/emacs/etc/org which does not exist. Any help for ODT (and/or DOC) much appreciated. FYI I also have LibreOffice installed which is how I will view the ODT files, and/or do the DOC conversion if I can't get that straight from org. Thank you, Ken Mankoff
Re: [O] No ODT export option
Oh! I tried it from the CLI emacs rather than the GUI one and it worked. I think I can figure it out from here. Thank you! On Fri, Jan 10, 2014 at 11:42 AM, Ken Mankoff mank...@gmail.com wrote: Ok I seen the option now but when I try to export I get the following error: OpenDocument export failed: Symbol's function definition is void: cl--set-getf On Fri, Jan 10, 2014 at 11:32 AM, Ista Zahn istaz...@gmail.com wrote: Hi Ken, ODT export isn't enabled by default. You can enable it by putting (require 'ox-odt) in your config file and restart emacs. Best, Ista On Fri, Jan 10, 2014 at 11:23 AM, Ken Mankoff mank...@gmail.com wrote: Hi, I'd like to export to ODT or even directly to DOC. But I notice I do not have an ODT export option. Can someone help me set this up? I'm running org-20140107/ from ELPA on OS X in the emacs 24.3 (emacsformacosx distribution from http://emacsformacosx.com/). In my ELPA folder I see: $ find . | grep -i odt ./org-20140107/etc/styles/OrgOdtContentTemplate.xml ./org-20140107/etc/styles/OrgOdtStyles.xml ./org-20140107/ox-odt.el ./org-20140107/ox-odt.elc But when I'm in emacs in org-mode and I do ESC-x apropos org-odt and examine org-odt-data-dir the content of that variable are /usr/share/emacs/etc/org which does not exist. Any help for ODT (and/or DOC) much appreciated. FYI I also have LibreOffice installed which is how I will view the ODT files, and/or do the DOC conversion if I can't get that straight from org. Thank you, Ken Mankoff