This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]