press-release fdp-pr.xsl,1.11,1.12
Tommy Reynolds (jtr)
fedora-docs-commits at redhat.com
Fri Mar 17 04:50:31 UTC 2006
Author: jtr
Update of /cvs/docs/press-release
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22786
Modified Files:
fdp-pr.xsl
Log Message:
Simplified header table, but passivetex still cannot parse it.
Indented list items just a little.
Index: fdp-pr.xsl
===================================================================
RCS file: /cvs/docs/press-release/fdp-pr.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- fdp-pr.xsl 17 Mar 2006 00:45:06 -0000 1.11
+++ fdp-pr.xsl 17 Mar 2006 04:50:23 -0000 1.12
@@ -13,6 +13,8 @@
<xsl:param name="font.size.header">12pt</xsl:param>
<xsl:param name="font.size.body">12pt</xsl:param>
<xsl:param name="font.size.footer">12pt</xsl:param>
+ <xsl:param name="indent.para">0em</xsl:param>
+ <xsl:param name="indent.list">2em</xsl:param>
<xsl:template match="/">
<xsl:element name="fo:root">
@@ -39,24 +41,24 @@
<fo:table-column column-number="2" column-width="50%"/>
<fo:table-body>
<fo:table-row>
- <fo:table-cell text-align="left" width="100%">
+ <fo:table-cell text-align="left">
<fo:block>
<xsl:value-of select="/fdp-pr/@embargo"/>
</fo:block>
</fo:table-cell>
- <fo:table-cell text-align="right" width="100%">
- <fo:table border-collapse="separate" table-layout="fixed" width="100%">
+ <fo:table-cell text-align="right">
+ <fo:table border-collapse="inherit" table-layout="fixed" width="100%">
<fo:table-column column-number="1" column-width="100%"/>
<fo:table-body>
<fo:table-row>
- <fo:table-cell text-align="right">
+ <fo:table-cell>
<fo:block>
<xsl:value-of select="/fdp-pr/@org"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
- <fo:table-cell text-align="right">
+ <fo:table-cell>
<fo:block>
<xsl:value-of select="/fdp-pr/@kind"/>
</fo:block>
@@ -78,7 +80,7 @@
<fo:table-cell text-align="left">
<fo:block>
<fo:page-number/>
- <xsl:text> / </xsl:text>
+ <xsl:text>/</xsl:text>
<fo:page-number-citation ref-id="EOF"/>
</fo:block>
</fo:table-cell>
@@ -108,7 +110,7 @@
</fo:block>
</xsl:template>
<xsl:template match="para">
- <fo:block keep-together="always" space-before="1.25em">
+ <fo:block keep-together="always" margin-left="{$indent.para}" space-before="1.25em">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
@@ -139,7 +141,7 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
- <fo:list-block provisional-distance-between-starts="18pt" provisional-label-separation="6pt" space-before="0.5em">
+ <fo:list-block margin-left="{$indent.list}" provisional-distance-between-starts="18pt" provisional-label-separation="6pt" space-before="0.5em">
<xsl:for-each select="item">
<fo:list-item space-before="1.25em">
<fo:list-item-label end-indent="label-end()">
More information about the docs-commits
mailing list