On 01/02/11 11:13, Brian Troutwine wrote:
Following Stuart's advise, the error I am presented with is:
warning: failed to load external entity
"http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl"
compilation error: file /etc/asciidoc/docbook-xsl/epub.xsl line 13
element import
xsl:import : unable to load
http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl
Presumably this is related to the recent trouble's SourceForge has
been having. I _do_ have the docbook 1.76.1, which
/etc/asciidoc/docbook-xsl/epub.xsl assures me will be preferred. I do
not have any epub/docbook.xsl bundled with my local docbook, however.
The URL is fine. I've just successfully built the
adventures-of-sherlock-holmes.epub on stock Xubuntu 10.04 with AsciiDoc 8.6.3 so
the problem has to be something to do with your stylesheets or stylesheets
catalog configuration. Can you generate PDF? i.e.
a2x -v -fpdf adventures-of-sherlock-holmes.txt
Or is it just EPUB that's the problem?
BTW, the a2x -fepub -dbook options are redundant, all the correct options are
included in the adventures-of-sherlock-holmes.txt source file header so this is
all that's required to generate EPUB is:
a2x adventures-of-sherlock-holmes.txt
Cheers, Stuart
Is 1.76.1 too old?
No, I use 1.75.2 on Xubuntu 10.04.
On Mon, Jan 31, 2011 at 4:34 PM, Brian Troutwine<[email protected]> wrote:
Thank you.
On Mon, Jan 31, 2011 at 4:00 PM, Stuart Rackham<[email protected]> wrote:
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.
--
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.