emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* No ODT export option
@ 2014-01-10 16:23 Ken Mankoff
  2014-01-10 16:32 ` Ista Zahn
  0 siblings, 1 reply; 8+ messages in thread
From: Ken Mankoff @ 2014-01-10 16:23 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1200 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: No ODT export option
  2014-01-10 16:23 No ODT export option Ken Mankoff
@ 2014-01-10 16:32 ` Ista Zahn
  2014-01-10 16:42   ` Ken Mankoff
  2014-01-13 15:07   ` Hendrik Boom
  0 siblings, 2 replies; 8+ messages in thread
From: Ista Zahn @ 2014-01-10 16:32 UTC (permalink / raw)
  To: Ken Mankoff; +Cc: Org-mode

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 <mankoff@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: No ODT export option
  2014-01-10 16:32 ` Ista Zahn
@ 2014-01-10 16:42   ` Ken Mankoff
  2014-01-10 17:01     ` Ken Mankoff
  2014-01-13 15:07   ` Hendrik Boom
  1 sibling, 1 reply; 8+ messages in thread
From: Ken Mankoff @ 2014-01-10 16:42 UTC (permalink / raw)
  To: Ista Zahn; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]

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 <istazahn@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 <mankoff@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
>

[-- Attachment #2: Type: text/html, Size: 2146 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: No ODT export option
  2014-01-10 16:42   ` Ken Mankoff
@ 2014-01-10 17:01     ` Ken Mankoff
  0 siblings, 0 replies; 8+ messages in thread
From: Ken Mankoff @ 2014-01-10 17:01 UTC (permalink / raw)
  To: Ista Zahn; +Cc: Org-mode

[-- Attachment #1: Type: text/plain, Size: 1696 bytes --]

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 <mankoff@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 <istazahn@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 <mankoff@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
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2684 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: No ODT export option
  2014-01-10 16:32 ` Ista Zahn
  2014-01-10 16:42   ` Ken Mankoff
@ 2014-01-13 15:07   ` Hendrik Boom
  2014-01-13 15:45     ` Hendrik Boom
  2014-01-14  9:36     ` Jambunathan K
  1 sibling, 2 replies; 8+ messages in thread
From: Hendrik Boom @ 2014-01-13 15:07 UTC (permalink / raw)
  To: emacs-orgmode

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-

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: No ODT export option
  2014-01-13 15:07   ` Hendrik Boom
@ 2014-01-13 15:45     ` Hendrik Boom
  2014-01-13 16:05       ` Nick Dokos
  2014-01-14  9:36     ` Jambunathan K
  1 sibling, 1 reply; 8+ messages in thread
From: Hendrik Boom @ 2014-01-13 15:45 UTC (permalink / raw)
  To: emacs-orgmode

On Mon, 13 Jan 2014 15:07:30 +0000, 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-

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: No ODT export option
  2014-01-13 15:45     ` Hendrik Boom
@ 2014-01-13 16:05       ` Nick Dokos
  0 siblings, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2014-01-13 16:05 UTC (permalink / raw)
  To: emacs-orgmode

Hendrik Boom <hendrik@topoi.pooq.com> writes:

> On Mon, 13 Jan 2014 15:07:30 +0000, 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: No ODT export option
  2014-01-13 15:07   ` Hendrik Boom
  2014-01-13 15:45     ` Hendrik Boom
@ 2014-01-14  9:36     ` Jambunathan K
  1 sibling, 0 replies; 8+ messages in thread
From: Jambunathan K @ 2014-01-14  9:36 UTC (permalink / raw)
  Cc: emacs-orgmode


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 <hendrik@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-

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-14  9:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-10 16:23 No ODT export option Ken Mankoff
2014-01-10 16:32 ` Ista Zahn
2014-01-10 16:42   ` Ken Mankoff
2014-01-10 17:01     ` Ken Mankoff
2014-01-13 15:07   ` Hendrik Boom
2014-01-13 15:45     ` Hendrik Boom
2014-01-13 16:05       ` Nick Dokos
2014-01-14  9:36     ` Jambunathan K

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).