* (INSTALL) Document how to install the latest known good version of the

docbook-xsl package
* (stylesheets/*.xsl) reference the latest known good version of the stylesheets


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4343 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2004-12-02 23:36:48 +00:00
parent c4683bf111
commit 266a7bd267
8 changed files with 26 additions and 16 deletions

22
INSTALL
View File

@ -20,14 +20,24 @@ If all you want to do is convert XML to HTML perform the following:
* DocBook DTD * DocBook DTD
- http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html - http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html
* DocBook XSL Stylesheets (1.67.0) * DocBook XSL Stylesheets (1.67.2)
- http://www.linuxfromscratch.org/blfs/view/svn/pst/docbook-xsl.html install -d /usr/share/xml/docbook/xsl-stylesheets-1.67.2
- additionally create a link from chown -R root:root .
/usr/share/xml/docbook/xsl-stylesheets-1.67.0 to 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 /usr/share/xml/docbook/xsl-stylesheets-current
ln -s xsl-stylesheets-[version] /usr/share/xml/docbook/xsl-stylesheets-current
* HTMLTidy * HTMLTidy
- http://www.linuxfromscratch.org/blfs/view/svn/general/tidy.html - 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. - you'll also need the patch at http://linuxfromscratch.org/~matthew/tidy-041026-prevent_PRE_newlines-1.patch as well.

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <?xml version="1.0" encoding="ISO-8859-1"?>
<!ENTITY version "SVN-20041201"> <!ENTITY version "SVN-20041202">
<!ENTITY releasedate "December 1, 2004"> <!ENTITY releasedate "December 2, 2004">
<!ENTITY milestone "6.1"> <!ENTITY milestone "6.1">
<!ENTITY lfs-root "http://www.linuxfromscratch.org/"> <!ENTITY lfs-root "http://www.linuxfromscratch.org/">

View File

@ -5,8 +5,8 @@
version="1.0"> version="1.0">
<xsl:import href="lfs-chunked2.xsl"/> <xsl:import href="lfs-chunked2.xsl"/>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/chunk-common.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/chunk-common.xsl"/>
<xsl:include href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/manifest.xsl"/> <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/manifest.xsl"/>
<!-- From the original chunk.xsl file: <!-- From the original chunk.xsl file:
@ -24,7 +24,7 @@
Voila! (Man I hope we can do this better in XSLT 2.0) --> Voila! (Man I hope we can do this better in XSLT 2.0) -->
<xsl:include href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/chunk-code.xsl"/> <xsl:include href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/chunk-code.xsl"/>
<!-- Including our others customized chunks templates --> <!-- Including our others customized chunks templates -->
<xsl:include href="xhtml/lfs-legalnotice.xsl"/> <xsl:include href="xhtml/lfs-legalnotice.xsl"/>

View File

@ -5,7 +5,7 @@
version="1.0"> version="1.0">
<!-- We use XHTML --> <!-- We use XHTML -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/docbook.xsl"/>
<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/> <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
<!-- Including our others customized elements templates --> <!-- Including our others customized elements templates -->

View File

@ -5,7 +5,7 @@
version="1.0"> version="1.0">
<!-- We use XHTML --> <!-- We use XHTML -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/xhtml/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/xhtml/docbook.xsl"/>
<!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet --> <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
<xsl:output method="html" encoding="ISO-8859-1" indent="no" /> <xsl:output method="html" encoding="ISO-8859-1" indent="no" />

View File

@ -4,7 +4,7 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0"> version="1.0">
<!-- We use FO and FOP as the processor --> <!-- We use FO and FOP as the processor -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/fo/docbook.xsl"/>
<xsl:param name="fop.extensions" select="1"/> <xsl:param name="fop.extensions" select="1"/>
<xsl:param name="draft.mode" select="'no'"/> <xsl:param name="draft.mode" select="'no'"/>

View File

@ -4,6 +4,6 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0"> version="1.0">
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/profiling/profile.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.67.2/profiling/profile.xsl"/>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -63,7 +63,7 @@
<!-- Graphics in admonitions --> <!-- Graphics in admonitions -->
<xsl:param name="admon.graphics" select="1"/> <xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.graphics.path" <xsl:param name="admon.graphics.path"
select="'/usr/share/xml/docbook/xsl-stylesheets-1.65.1/images/'"/> select="'/usr/share/xml/docbook/xsl-stylesheets-1.67.2/images/'"/>
<!-- Admonition block properties --> <!-- Admonition block properties -->
<xsl:template match="important|warning|caution"> <xsl:template match="important|warning|caution">