[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Title Page Customization
Hello all, I tried to create my customized title page. First I create a titlepage specfile like desribed here: http://www.sagehill.net/docbookxsl/HTMLTitlePage.html#TitlePageElems After this I put in my customized mydocbook.xsl described under http://www.sagehill.net/docbookxsl/TitlePagePrint.html#TitlepageTableLayout the below to make some tables on the TitlePage. At [1] I put in the title of the article. But it isn't displayed with the right font-size I set in titlepage.xml. There it is set to hsize5 but shown as hsize0. At [2] and [3] I tried to set the first cell to 20% of the hole table and the second cell to 80%. But both are still 50% in the PDF output. <xsl:template name="article.titlepage.recto"> <fo:block> <fo:table> <fo:table-column column-width="100%"/> <fo:table-body> <fo:table-row> <fo:table-cell> <fo:block text-align="center"> <xsl:apply-templates mode="article.titlepage.recto.mode" select="title"/>[1] </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> <fo:table inline-progression-dimension="100%" table-layout="fixed"> <fo:table-column column-width="20%"/>[2] <fo:table-column column-width="80%"/>[3] <fo:table-body> <fo:table-row> <fo:table-cell > <fo:block text-align="left">Autor: </fo:block> </fo:table-cell> <fo:table-cell> <fo:block text-align="left"> <xsl:apply-templates mode="article.titlepage.recto.mode" select="articleinfo/author"/> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell > <fo:block text-align="left">Datum: </fo:block> </fo:table-cell> <fo:table-cell> <fo:block text-align="left"> <xsl:apply-templates mode="article.titlepage.recto.mode" select="articleinfo/pubdate"/> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell > <fo:block text-align="left">Version: </fo:block> </fo:table-cell> <fo:table-cell> <fo:block text-align="left"> <xsl:apply-templates mode="article.titlepage.recto.mode" select="articleinfo/releaseinfo"/> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <fo:block text-align="left"> <xsl:apply-templates mode="article.titlepage.recto.mode" select="articleinfo/abstract"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block> </xsl:template> Regards, Kerstin ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]