From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: ODT image export Date: Wed, 21 Sep 2011 22:59:30 +0530 Message-ID: <81d3etiz2d.fsf@gmail.com> References: <818vpikleu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6QcO-00011j-QP for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 13:29:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6QcN-0005yD-Km for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 13:29:56 -0400 Received: from mail-yx0-f169.google.com ([209.85.213.169]:35091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6QcN-0005y7-ID for emacs-orgmode@gnu.org; Wed, 21 Sep 2011 13:29:55 -0400 Received: by yxi19 with SMTP id 19so1598127yxi.0 for ; Wed, 21 Sep 2011 10:29:55 -0700 (PDT) In-Reply-To: (Derek Thomas's message of "Wed, 21 Sep 2011 11:46:21 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Derek Thomas Cc: emacs-orgmode@gnu.org Derek Thomas 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* buffer? 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 Footnotes: [1] ,---- | 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 `----