docbook-apps

  • 1.  Re: [docbook-apps] Callouts v5

    Posted 02-08-2009 18:13
    Hi Dave,
    Yes, the HTML code uses an HTML table to lay out the calloutlist, and the
    template with match="callout" in html/lists.xsl sets the first cell width
    to 5%. If you widen your window, does the column get wider? You could
    customize that template to change the cell width. Or you could put
    non-breaking spaces between the callouts to force them to one line, which
    should override the 5% suggestion.

    The FO code uses a fo:list-block with fixed
    provisional-distance-between-starts, so it will have a similar problem,
    probably worse. The code should take into account the number of callout
    bugs, so that would be a nice feature request.

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net


    ----- Original Message -----
    From: "DavePawson" <davep@dpawson.co.uk>
    To: "docbook-apps" <docbook-apps@lists.oasis-open.org>
    Sent: Saturday, February 07, 2009 11:37 PM
    Subject: [docbook-apps] Callouts v5


    > Using v5
    >
    >
    > <calloutlist>
    > <callout arearefs="tc.script.1 tc.script.2 tc.script.3 tc.script.4
    > tc.script.5">
    > <para>Check that all these items (1-5) match your configuration</para>
    > </callout>
    >
    >
    > The html output shows as
    >
    > 1 2 3 4 Check that all these items (1-5) match your configuration
    > 5 6 text
    >
    > The use of a table has caused the wrapping? Is this a customization job?
    > Looks a bit ugly, with number 5 as an orphan?
    >
    >
    >
    > regards
    >
    > --
    > Dave Pawson
    > XSLT XSL-FO FAQ.
    > http://www.dpawson.co.uk
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >




  • 2.  Re: [docbook-apps] Callouts v5

    Posted 02-09-2009 10:22
    Bob Stayton wrote:
    > Hi Dave,
    > Yes, the HTML code uses an HTML table to lay out the calloutlist, and
    > the template with match="callout" in html/lists.xsl sets the first cell
    > width to 5%. If you widen your window, does the column get wider? You
    > could customize that template to change the cell width. Or you could
    > put non-breaking spaces between the callouts to force them to one line,
    > which should override the 5% suggestion.
    >
    > The FO code uses a fo:list-block with fixed
    > provisional-distance-between-starts, so it will have a similar problem,
    > probably worse. The code should take into account the number of callout
    > bugs, so that would be a nice feature request.

    How to handle font size Bob? Doesn't it depend on what I've selected
    for the co marker? Using SVG I'm getting plain numbers.. Does it vary?
    Generally though, a wider left column
    then wrap the right column would (IMHO) work just as well? The wrap
    would look more natural?

    I guess my 5 co with one description is an edge case though.

    I will put in the RFE though.

    Thanks. DaveP







    regards

    --
    Dave Pawson
    XSLT XSL-FO FAQ.
    http://www.dpawson.co.uk