From: Belpaire <eric.belpaire@orange.fr>
To: emacs-orgmode@gnu.org
Subject: Docbook XML file does not exist
Date: Wed, 4 May 2011 10:53:29 +0000 (UTC) [thread overview]
Message-ID: <loom.20110504T120608-260@post.gmane.org> (raw)
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
next reply other threads:[~2011-05-04 11:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 10:53 Belpaire [this message]
2011-05-04 13:09 ` Docbook XML file does not exist Jambunathan K
2011-05-04 14:00 ` Jambunathan K
2011-05-07 20:36 ` Eric Belpaire
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=loom.20110504T120608-260@post.gmane.org \
--to=eric.belpaire@orange.fr \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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
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).