|
@@ -20,14 +20,24 @@ If all you want to do is convert XML to HTML perform the following:
|
|
|
* DocBook DTD
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
|
|
|
|
|
|
-* DocBook XSL Stylesheets (1.67.0)
|
|
|
- - http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html
|
|
|
- - additionally create a link from
|
|
|
- /usr/share/xml/docbook/xsl-stylesheets-1.67.0 to
|
|
|
+* DocBook XSL Stylesheets (1.67.2)
|
|
|
+ install -d /usr/share/xml/docbook/xsl-stylesheets-1.67.2
|
|
|
+ chown -R root:root .
|
|
|
+ cp -af INSTALL VERSION common eclipse extensions fo html htmlhelp images \
|
|
|
+ javahelp lib manpages params profiling template xhtml \
|
|
|
+ /usr/share/xml/docbook/xsl-stylesheets-1.67.2
|
|
|
+ install -d /usr/share/doc/xml
|
|
|
+ cp -af doc/* /usr/share/doc/xml
|
|
|
+ cd /usr/share/xml/docbook/xsl-stylesheets-1.67.2 && \
|
|
|
+ sed -i -e 's@current/@1.67.2/@' INSTALL && \
|
|
|
+ sh INSTALL
|
|
|
+ xmlcatalog --noout --add "delegateURI" \
|
|
|
+ "http://docbook.sourceforge.net/release/xsl/1.67.2/" \
|
|
|
+ "file:///usr/share/xml/docbook/xsl-stylesheets-1.67.2/catalog.xml" \
|
|
|
+ /etc/xml/catalog
|
|
|
+ ln -sf xsl-stylesheets-$(VERSION) \
|
|
|
/usr/share/xml/docbook/xsl-stylesheets-current
|
|
|
|
|
|
- ln -s xsl-stylesheets-[version] /usr/share/xml/docbook/xsl-stylesheets-current
|
|
|
-
|
|
|
* HTMLTidy
|
|
|
- http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html
|
|
|
- you'll also need the patch at http://linuxfromscratch.org/~matthew/tidy-041026-prevent_PRE_newlines-1.patch as well.
|