emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Docbook XML file does not exist
@ 2011-05-04 10:53 Belpaire
  2011-05-04 13:09 ` Jambunathan K
  0 siblings, 1 reply; 4+ messages in thread
From: Belpaire @ 2011-05-04 10:53 UTC (permalink / raw)
  To: emacs-orgmode

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] <outfile>

<cut>

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 

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

end of thread, other threads:[~2011-05-07 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 10:53 Docbook XML file does not exist Belpaire
2011-05-04 13:09 ` Jambunathan K
2011-05-04 14:00   ` Jambunathan K
2011-05-07 20:36     ` Eric Belpaire

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