emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Derek Thomas <derekcthomas@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ODT image export
Date: Wed, 21 Sep 2011 22:59:30 +0530	[thread overview]
Message-ID: <81d3etiz2d.fsf@gmail.com> (raw)
In-Reply-To: <CALDRGc-dL3OEYEiUGLYH9egM5fZWbKjWBkNEAdzObAFi1QF9tQ@mail.gmail.com> (Derek Thomas's message of "Wed, 21 Sep 2011 11:46:21 -0500")

Derek Thomas <derekcthomas@gmail.com> writes:

> Jambunathan,
> Thanks that looks like it's exactly what I need.  I have been
> partially successful in getting the exporter running, but it stalls
> out after creating the odt file and opening it in openoffice.  Any
> tips for getting ppt or odp export up and running.  One thing I have
> noticed is if I have openoffice opent when I initialize an export, I
> get an error:

The exporter tries to delete the old .odt file before creating the new
.odt file. Since OpenOffice locks the file that it opens, there is some
sort of access violation. So it is normal to get an error.

> /home/dthomas/Dropbox/Presentations/Indy2011/"macro:///BasicODConverter.Main.Convert(file:///home/dthomas/Dropbox/Presentations/Indy2011/indy.odt,odp,file:///home/dthomas/Dropbox/Presentations/Indy2011/indy.odp)"
> does not exist.

What surprises me is that I don't see `soffice -norestore -invisible
-headless ' part [1]. Can you show me what you see in the *Messages*

Can you check what the value of `variable
org-lparse-convert-process'. It should have something as seen below -
specifically the soffice part.

,----[ C-h v org-lparse-convert-process RET ]
| org-lparse-convert-process is a variable defined in `org-lparse.el'.
| Its value is
| ("soffice" "-norestore" "-invisible" "-headless" "\"macro:///BasicODConverter.Main.Convert(%I,%f,%O)\"")
| Original value was nil
| Documentation:
| Command to convert from an Org exported format to other formats.
| During customization, the list of choices are populated from
| `org-lparse-convert-processes'.  Refer afore-mentioned variable
| for further information.
| You can customize this variable.
| [back]

> Any suggestions?  Thanks for your help, the ODT exporter is awesome!

At this moment, I am having trouble figuring what the problem could
be. Nothing like it couldn't be sorted out.

> Derek


| Creating odt file...
| Running zip -mX0 BasicODConverter.odt mimetype
| Running zip -rmTq BasicODConverter.odt .
| Created c:/Documents and Settings/kjambunathan/My Documents/My Data/tmp-odt/BasicODConverter.odt
| Executing soffice -norestore -invisible -headless "macro:///BasicODConverter.Main.Convert(file:///c:/Documents%20and%20Settings/kjambunathan/My%20Documents/My%20Data/tmp-odt/BasicODConverter.odt,odp,file:///c:/Documents%20and%20Settings/kjambunathan/My%20Documents/My%20Data/tmp-odt/BasicODConverter.odp)"
| Exported to c:/Documents and Settings/kjambunathan/My Documents/My Data/tmp-odt/BasicODConverter.odp using soffice
| Opening file c:/Documents and Settings/kjambunathan/My Documents/My Data/tmp-odt/BasicODConverter.odp

  reply	other threads:[~2011-09-21 17:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-20 22:12 ODT image export Derek Thomas
2011-09-21  9:53 ` Giovanni Ridolfi
2011-09-21 14:41 ` Jambunathan K
2011-09-21 15:39   ` Tom Prince
2011-09-21 16:46   ` Derek Thomas
2011-09-21 17:29     ` Jambunathan K [this message]
2011-09-21 17:40       ` Jambunathan K
2011-09-21 17:54         ` Achim Gratz
2011-09-21 17:58         ` Derek Thomas
2011-09-22  8:14   ` Giovanni Ridolfi
2011-09-22 14:10     ` Jambunathan K

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:

  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=81d3etiz2d.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=derekcthomas@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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