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: [docbook-apps] epigraph is not offset

For FO output, you could customize the match="epigraph" template in
fo/block.xsl.  Here is the original:

<xsl:template match="epigraph">
    <xsl:call-template name="anchor"/>
    <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
    <xsl:if test="attribution">
        <xsl:apply-templates select="attribution"/>

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.

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Sam Steingold" <sds@gnu.org>
To: <docbook-apps@lists.oasis-open.org>
Sent: Sunday, November 14, 2004 6:32 AM
Subject: [docbook-apps] epigraph is not offset

> epigraph is not offset properly in either XHTML or FO.
> In XHTML, the solution turned out to be CSS:
> /* epigraph: flush right, large left margin */
> .epigraph { text-align: right; margin-left: 50%; }
> what do I do to achieve a similar effect with FO?
> 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>
> A year spent in artificial intelligence is enough to make one believe in

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