On 31/01/11 13:54, Brian L. Troutwine wrote:
I am new to asciidoc and am unable to build epub files from the
document sources available on the website. For this discussion I am
using the Sherlock Holmes text from here:
http://www.methods.co.nz/asciidoc/publishing-ebooks-with-asciidoc.html#X3

When I issue the following command:

a2x -fepub -dbook adventures-of-sherlock-holmes.txt

I receive:

a2x: ERROR: xsltproc --stringparam part.autolabel 0 --stringparam 
chapter.autolabel 0 --stringparam section.autolabel.max.depth 0 --stringparam 
callout.graphics 0 --stringparam navig.graphics 0 --stringparam admon.textlabel 
1 --stringparam admon.graphics 0 --stringparam html.stylesheet 
adventures-of-sherlock-holmes.css --stringparam toc.section.depth 1 
--stringparam chunk.section.depth 0  /etc/asciidoc/docbook-xsl/epub.xsl 
/tmp/adventures-of-sherlock-holmes.xml returned non-zero exit status 5

How might I debug this? I am using asciidoc 8.6.3.

$ man xsltproc

1. Look under DIAGNOSTICS section: exit code 5 = Error in the stylesheet

2. Cut an paste the failing xsltproc command and include the xsltproc --verbose option to get an idea of where the stylesheets are failing.


Cheers, Stuart



Thank you,
Brian Troutwine


--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to