You probably figured this out already but you can just download the epub/docbook.xsl from the latest docbook-xsl release and copy it over manually. Look in /etc/xml/config to determine where it should go. Details are described here:
http://francisshanahan.com/index.php/2011/fixing-epub-problem-docbook-xsl-asciidoc-a2x/ regards, -fs On Feb 3, 11:50 pm, "Brian L. Troutwine" <[email protected]> wrote: > On Feb 3, 11:33 pm, Brian Troutwine <[email protected]> wrote: > > > On Thu, Feb 3, 2011 at 8:10 PM, Stuart Rackham <[email protected]> wrote: > > > One more thing, you may also like to try DocBook XSL Stylesheets 1.75.2 > > > (the > > > version I'm using). > > > It looks rather like Arch Linux's docbook xsl bundle is broken: epub > > simply isn't included with the other, global stylesheets. > > For future reference:https://bugs.archlinux.org/task/22746 > > > > > > > > > > > > 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: > > > >> $ curlhttp://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. -- 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.
