[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Title placement and guibuttons with a frame around -> FO output
> -----Original Message-----
> From: Kehlenbach Andreas
> At the moment my title's are formatted like the following:
>
> 1. |This is my long title with a
> |linebreak!
>
> And i want to create such like this:
>
> 1. |This is my long title with a
> |linebreak!
See http://www.sagehill.net/docbookxsl/SideBySide.html
> The second question i wrote a little time ago, but i received only an
> answer for html output. So i try to describe it in detail.
> I want a border/frame around my guibutton elements in the pdf. I used
> docbook-xsl-1.72.0 with saxon 6.5.5 and xep 3.8.4 to render my pdf.
> But i think it's a problem to describe it in fo. So i want an inline
> element.
> It should look like this (in one line!):
> ____
> | OK |
> |____|
Try this customization:
<xsl:template match="guibutton">
<fo:inline border="2px outset #dddddd"
background-color="#dddddd">
<xsl:call-template name="inline.charseq"/>
</fo:inline>
</xsl:template>
/MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]