HEAD: StyleSheets - unified the identation to use spaces.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3663 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Manuel Canales Esparcia 2004-05-19 20:16:58 +00:00
parent 28501c7129
commit a9e89d0c26
14 changed files with 203 additions and 187 deletions

View File

@ -3,7 +3,6 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0">
<!-- We use FO and FOP as the processor -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.65.1/fo/docbook.xsl"/>
<xsl:param name="fop.extensions" select="1"/>
@ -38,8 +37,7 @@
<xsl:param name="toc.indent.width" select="18"></xsl:param>
<!-- Page number in Xref-->
<xsl:param name="insert.xref.page.number">yes</xsl:param>
<xsl:template match="*" mode="page.citation">
<xsl:param name="insert.xref.page.number">yes</xsl:param> <xsl:template match="*" mode="page.citation">
<xsl:param name="id" select="'???'"/>
<fo:inline keep-together.within-line="always">
<xsl:text>[p</xsl:text>

View File

@ -1,7 +1,5 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org> -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">

View File

@ -27,9 +27,18 @@
<xsl:template match="variablelist">
<div class="{name(.)}">
<xsl:if test="title">
<xsl:choose>
<xsl:when test="@role = 'materials'">
<h3>
<xsl:value-of select="title"/>
</h3>
</xsl:when>
<xsl:otherwise>
<h4>
<xsl:value-of select="title"/>
</h4>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<dl>
<xsl:if test="@role">
@ -41,4 +50,5 @@
</dl>
</div>
</xsl:template>
</xsl:stylesheet>

View File

@ -1,7 +1,5 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
<!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org> -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml"
version="1.0">
@ -64,6 +62,19 @@
<xsl:text>Next</xsl:text>
</a>
</li>
</xsl:if>
<xsl:if test="count($up)&gt;0 and $up != $home">
<li class="up">
<a accesskey="u">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$up"/>
</xsl:call-template>
</xsl:attribute>
<xsl:text>Up</xsl:text>
</a>
</li>
</xsl:if>
<li class="home">
<a accesskey="h">
<xsl:attribute name="href">
@ -74,7 +85,6 @@
<xsl:text>Home</xsl:text>
</a>
</li>
</xsl:if>
</ul>
</div>
</xsl:if>