mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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:
parent
28501c7129
commit
a9e89d0c26
@ -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>
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
@ -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)>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>
|
||||
|
Loading…
Reference in New Issue
Block a user