LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Docbook XSL in BLFS (https://www.linuxquestions.org/questions/linux-from-scratch-13/docbook-xsl-in-blfs-299840/)

TruckStuff 03-09-2005 09:55 PM

Docbook XSL in BLFS
 
I'm currently reading the SVN version of BLFS. I'm trying to install GtkDocBook, but it keeps failing saying that I don't have the DocBook XSL StyleSheets in my XML catalog. I installed the docbook-xsl-1.67.2 package per the instructions. I've verified that all the entries arein my xml catalog, but when I run
Code:

# xmlcatalog --noout "/etc/xml/catalog" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
I get the following errors:
Code:

$ xmlcatalog --noout "/etc/xml/catalog" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
No entry for SYSTEM http://docbook.sourceforge.net/relea...html/chunk.xsl
No entry for URI http://docbook.sourceforge.net/relea...html/chunk.xsl

Can anyone help me out as to what I can try. I've been beating my head against the wall for two days with this.

lmmix 03-10-2005 07:43 AM

try this link, it is 'xhtml'
http://docbook.sourceforge.net/relea...html/chunk.xsl

http://docbook.sourceforge.net/relea...current/xhtml/
http://prdownloads.sourceforge.net/docbook/

Andrew Benton 03-12-2005 12:17 PM

sed -i 's@/1.67.2@/current@g' /etc/xml/catalog

TruckStuff 03-14-2005 11:52 PM

Quote:

Originally posted by Andrew Benton
sed -i 's@/1.67.2@/current@g' /etc/xml/catalog
I figured it out after I posted, but this is what I did that fixed the problem. ;)

Andrew Benton 03-15-2005 04:20 AM

Cool, though that solution is a bit crude. A better solution is to
Code:

xmlcatalog --noout --add rewriteSystem http://docbook.sourceforge.net/release/xsl/current /usr/share/xml/docbook/xsl-stylesheets-1.67.2 /etc/xml/catalog &&
xmlcatalog --noout --add rewriteURI http://docbook.sourceforge.net/release/xsl/current /usr/share/xml/docbook/xsl-stylesheets-1.67.2 /etc/xml/catalog


Zero-0-Effect 03-29-2005 05:11 PM

I had the same problem and re-read the instructions in the blfs book and saw this at the bottom:

"For LFS 6.0, version 1.65.1 of this package should be installed. In addition, you need to make a symbolic link as described in the INSTALL file of LFS 6.0."

Installing that version and creating the link fixes the problem.

Andrew Benton 03-29-2005 05:24 PM

That's because those instructions include the rewrite commands to tell gtk doc where xsl current is


All times are GMT -5. The time now is 04:53 PM.