From mboxrd@z Thu Jan 1 00:00:00 1970 From: Belpaire Subject: Docbook XML file does not exist Date: Wed, 4 May 2011 10:53:29 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHZoT-0003dQ-8w for emacs-orgmode@gnu.org; Wed, 04 May 2011 07:00:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHZoS-0003zM-4q for emacs-orgmode@gnu.org; Wed, 04 May 2011 07:00:13 -0400 Received: from lo.gmane.org ([80.91.229.12]:34034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHZoR-0003zC-P9 for emacs-orgmode@gnu.org; Wed, 04 May 2011 07:00:12 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QHZoK-0003eP-HU for emacs-orgmode@gnu.org; Wed, 04 May 2011 13:00:07 +0200 Received: from inet-gw-par.equant.com ([57.250.229.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 May 2011 13:00:04 +0200 Received: from eric.belpaire by inet-gw-par.equant.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 04 May 2011 13:00:04 +0200 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: emacs-orgmode@gnu.org Hello, can somebody help me in setting up the Docbook export? My OS is Windows XP with Cygwin installed. Org-mode creates the Docbook xml file, but thinks it doesn't exist when org-mode wants to process it. See the below extract of the Messages buffer. Any clue why this happens? Why is fop.bat looking for fo file e:\home\pub_html\e\:\home\pub_html\EERS.logic.fo? ("e:\home\pub_html\" should NOT be TWICE in the filename) Thanks in advance! Eric Extract of the Messages buffer: Exporting to PDF... Exporting... Using schema c:/Usr/emacs/etc/schema/docbook.rnc Saving file e:/home/pub_html/EERS.logic.xml... Wrote e:/home/pub_html/EERS.logic.xml DocBook export done, pushed to kill ring and clipboard Processing DocBook XML file... Source file e\:\home\pub_html\EERS.logic.xml does not exist Processing DocBook file...done org-export-as-docbook-pdf: PDF file was not produced This is my setting of the relevant variables: org-export-docbook-xslt-proc-command = "java com.icl.saxon.StyleSheet -o %o %i %s paper.type=A4 use.extensions=1 fop1.extensions=1" org-export-docbook-xsl-fo-proc-command = "fop.bat -fo %i -pdf %o" org-export-docbook-xslt-stylesheet = "E:/Usr/xml/docbook-xsl-1.75.0/fo/docbook.xsl" org-export-publishing-directory = "~/pub_html" In Shell Command Output buffer, I also get the following error message: e:\Usr\xml\fop-0.95\fop.bat -fo e\:/home/pub_html/EERS.logic.fo -pdf e\:/home/pub_html/EERS.logic.pdf USAGE Fop [options] [-fo|-xml] infile [-xsl file] [-awt|-pdf|-mif|-rtf|-tiff|-png |-pcl|-ps|-txt|-at [mime]|-print] 4 mai 2011 15:39:52 org.apache.fop.cli.Main startFOP GRAVE: Exception java.io.FileNotFoundException: Error: fo file e:\home\pub_html\e\:\home\pub_html\EERS.logic.fo not found