Optional section title

git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@310 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2006-05-16 13:29:02 +00:00
parent 4b8b8f7a4c
commit 3f8cf66bf9
2 changed files with 13 additions and 11 deletions

View File

@ -69,7 +69,7 @@
</title-page-->
<title-page>
<section title='Fahrplan'>
<section>
<pull-schedule-table file='../../../www/datenspuren/fahrplan/days.de.html'/>
</section>
</title-page>

View File

@ -133,17 +133,19 @@
<!-- For guide.xml -->
<xsl:template match='guide:section'>
<fo:block padding='5mm 5mm'>
<fo:block font-size='18pt' font-weight='bold' font-family='serif' text-align='center'
border-top-style='solid' border-bottom-style='solid'
border-top-color='black' border-bottom-color='black'
border-top-width='0.3mm' border-bottom-width='0.3mm'
padding='3mm 5mm 2mm' margin='0mm -0.5mm'
keep-together.within-column="always" keep-with-next.within-column="always"
id="{generate-id()}">
<xsl:value-of select='@title'/>
<xsl:if test='@title'>
<fo:block padding='5mm 5mm'>
<fo:block font-size='18pt' font-weight='bold' font-family='serif' text-align='center'
border-top-style='solid' border-bottom-style='solid'
border-top-color='black' border-bottom-color='black'
border-top-width='0.3mm' border-bottom-width='0.3mm'
padding='3mm 5mm 2mm' margin='0mm -0.5mm'
keep-together.within-column="always" keep-with-next.within-column="always"
id="{generate-id()}">
<xsl:value-of select='@title'/>
</fo:block>
</fo:block>
</fo:block>
</xsl:if>
<xsl:apply-templates/>
</xsl:template>