From: Norman W. <nw...@us...> - 2001-08-04 21:25:54
|
Update of /cvsroot/docbook/website/xsl In directory usw-pr-cvs1:/tmp/cvs-serv15208 Modified Files: Tag: V2-branch autolayout.xsl Log Message: Turn off indentation (don't want extra spaces around copyright holders), but introduce a few linefeeds in safe places Index: autolayout.xsl =================================================================== RCS file: /cvsroot/docbook/website/xsl/Attic/autolayout.xsl,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -C2 -r1.1.2.4 -r1.1.2.5 *** autolayout.xsl 2001/07/04 15:25:18 1.1.2.4 --- autolayout.xsl 2001/08/04 21:25:51 1.1.2.5 *************** *** 3,7 **** version="1.0"> ! <xsl:output method="xml" indent="yes" doctype-public="-//Norman Walsh//DTD Website Auto Layout V1.0//EN" doctype-system="http://docbook.sourceforge.net/release/website/current/autolayout.dtd" --- 3,7 ---- version="1.0"> ! <xsl:output method="xml" indent="no" doctype-public="-//Norman Walsh//DTD Website Auto Layout V1.0//EN" doctype-system="http://docbook.sourceforge.net/release/website/current/autolayout.dtd" *************** *** 12,15 **** --- 12,16 ---- <xsl:template match="layout"> <autolayout> + <xsl:text> </xsl:text> <xsl:apply-templates/> </autolayout> *************** *** 40,43 **** --- 41,45 ---- <xsl:call-template name="tocentry"/> </toc> + <xsl:text> </xsl:text> </xsl:template> *************** *** 46,49 **** --- 48,52 ---- <xsl:call-template name="tocentry"/> </tocentry> + <xsl:text> </xsl:text> </xsl:template> *************** *** 52,55 **** --- 55,59 ---- <xsl:call-template name="tocentry"/> </notoc> + <xsl:text> </xsl:text> </xsl:template> *************** *** 118,122 **** <xsl:value-of select="$filename"/> </xsl:attribute> ! <xsl:if test="@tocskip != '0'"> <xsl:attribute name="tocskip"> <xsl:value-of select="@tocskip"/> --- 122,126 ---- <xsl:value-of select="$filename"/> </xsl:attribute> ! <xsl:if test="@tocskip = '1'"> <xsl:attribute name="tocskip"> <xsl:value-of select="@tocskip"/> *************** *** 134,137 **** --- 138,142 ---- </xsl:choose> </title> + <xsl:text> </xsl:text> <xsl:if test="$page/*[1]/head/titleabbrev"> *************** *** 139,142 **** --- 144,148 ---- <xsl:apply-templates select="$page/*[1]/head/titleabbrev"/> </titleabbrev> + <xsl:text> </xsl:text> </xsl:if> *************** *** 145,148 **** --- 151,155 ---- <xsl:apply-templates select="$page/*[1]/head/summary"/> </summary> + <xsl:text> </xsl:text> </xsl:if> |