This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: epigraph is not offset
- From: Sam Steingold <sds at gnu dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 15 Nov 2004 13:07:13 -0500
- Subject: [docbook-apps] Re: epigraph is not offset
- Cancel-lock: sha1:NJuFz9Sbk2TfLMPiw8TSW//KcwY=
- Organization: disorganization
- References: <ufz3c8psd.fsf@gnu.org> <010501c4cb38$a23ab4e0$6401a8c0@toshiro>
- Reply-to: sds at gnu dot org
> * 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.