OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: epigraph is not offset


> * Bob Stayton <obof@fntruvyy.arg> [2004-11-15 09:29:17 -0800]:
>
> For FO output, you could customize the match="epigraph" template in
> fo/block.xsl.  Here is the original:
>
> <xsl:template match="epigraph">
>   <fo:block>
>     <xsl:call-template name="anchor"/>
>     <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
>     <xsl:if test="attribution">
>       <fo:inline>
>         <xsl:text>--</xsl:text>
>         <xsl:apply-templates select="attribution"/>
>       </fo:inline>
>     </xsl:if>
>   </fo:block>
> </xsl:template>
>
> As you can see, it is very simple.  I think there are many ways to
> style an epigraph, so the stylesheet chose a very plain style as the
> default.

I am sorry, but I cannot figure out from
http://www.sagehill.net/docbookxsl/PrintCustomEx.html
how to make this block flush right and left-margin=50%.

all I can guess is that if I add
    <xsl:call-template name="inline.boldseq"/>
after <fo:block>, I will get the epigraph in bold.

could you please help me?
thanks!

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Don't hit a man when he's down -- kick him; it's easier.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]