One more thing, you may also like to try DocBook XSL Stylesheets 1.75.2 (the
version I'm using).
Stuart
On 04/02/11 12:51, Brian Troutwine wrote:
On Thu, Feb 3, 2011 at 5:05 PM, Stuart Rackham<[email protected]> wrote:
On 04/02/11 09:38, Brian Troutwine wrote:
I can generate a PDF. So, what can I do to get asciidoc working? How
do I check the correctness of my stylesheets catalog, for instance?
Run the xsltproc command from the command-line with the --verbose option,
this should give you more information about the problem:
asciidoc --backend docbook --doctype book --attribute docinfo
adventures-of-sherlock-holmes.txt
xsltproc --verbose --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
The result:
creating dictionary for stylesheet
reusing dictionary from /etc/asciidoc/docbook-xsl/epub.xsl for stylesheet
xsltParseStylesheetProcess : found stylesheet
xsltPrecomputeStylesheet: removing ignorable blank node
Reusing dictionary for document
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
Reusing dictionary for document
creating dictionary for stylesheet
reusing dictionary from /etc/asciidoc/docbook-xsl/common.xsl for stylesheet
xsltParseStylesheetProcess : found stylesheet
xsltPrecomputeStylesheet: removing ignorable blank node
<snip>
That does not tell me more than the above errors, I'm afraid. xsltproc
is attempting to load
http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl
but cannot. What does that mean? I can correctly access the stylesheet
from the same computer otherwise:
$ curl http://docbook.sourceforge.net/release/xsl/current/epub/docbook.xsl
| wc -l
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 74068 100 74068 0 0 139k 0 --:--:-- --:--:-- --:--:-- 193k
1690
Cheers, Stuart
--
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.