docbook-apps

  • 1.  aligned left-right sidebar

    Posted 11-21-2008 12:09
    Hi,

    In “myStylesheet.xsl:
    <xsl:param name="double.sided">1</xsl:param>

    In “myDocbook.xml”
    <sidebar>


    </sidebar>

    For my work I would like the following:

    “right-aligned” in sidebar text on the even pages,
    “left-aligned” in the sidebar text on the odd pages

    Is it possible to manage it? How? Thanks for any help!!!

    Lily

    --
    Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



  • 2.  RE: [docbook-apps] aligned left-right sidebar

    Posted 11-21-2008 17:01
    Lily,

    I presume you mean right-aligned text and left-aligned
    text. If so, this is pretty difficult to do automatically.
    I had a situation where I wanted to put a vertical bar
    to the inside of a sidebar (left on recto and right on
    verso). Since I had just a few sidebars to deal with,
    I explicitly marked up each one with a role that said
    verso or recto and handled the differences explicitly.

    The folks at RenderX were good enough to give me some
    fo code that would let you make this differentiation
    automatically, but I was running up against a deadline
    and never put it into production use. It might take a
    day or so, but I'd be glad to see if I can round up
    that code and send it to you if you are interested.

    Regards,
    Dick Hamilton
    http://managingwriters.com

    >