docbook-apps

  • 1.  image in a long task causing PDF output to overlap text

    Posted 05-09-2008 16:45
    Hello,

    I have an image in a 10-step task/procedure/step/figure
    (screenshot/mediaobject..) that appears to be causing PDF output to
    overlap text on the page containing the task. I would guess this has to
    do the keep-together processing instruction, but I can't seem to solve
    it. I tried:



    as a child of task, procedure, step, and figure, with no visible change
    in the rendering.

    It's also odd that when the page is scrunched, it still leaves a
    couple-inch-high gap below the image that ends the task.

    I'm using db5, ns-1.73.2 DB stylesheets, and Apache FOP 0.94.

    Any help greatly appreciated.

    Thanks,
    Brett



  • 2.  RE: [docbook-apps] image in a long task causing PDF output to overlap text

    Posted 05-19-2008 16:50
    > -----Original Message-----
    > From: Brett Leber
    >
    > I have an image in a 10-step task/procedure/step/figure
    > (screenshot/mediaobject..) that appears to be causing PDF output to
    > overlap text on the page containing the task. I would guess
    > this has to
    > do the keep-together processing instruction, but I can't seem
    > to solve
    > it. I tried:
    >
    >
    >
    > as a child of task, procedure, step, and figure, with no
    > visible change
    > in the rendering.


    Could it be the same problem as this one?
    http://sourceforge.net/tracker/index.php?func=detail&aid=1843969&group_id=21
    935&atid=373747

    has no effect on task. You can work around
    this by customizing the formal.object.properties attribute-set.

    For procedure, keep-together.within-column is "auto" by default (via the
    procedure.properties attribute-set).

    /MJ





  • 3.  Re: [docbook-apps] image in a long task causing PDF output to overlap text

    Posted 05-20-2008 18:33
    On 5/19/2008 12:50 PM, Mauritz Jeanson wrote:
    >> -----Original Message-----
    >> From: Brett Leber
    >> I have an image in a 10-step task/procedure/step/figure
    >> (screenshot/mediaobject..) that appears to be causing PDF output to
    >> overlap text on the page containing the task. I would guess
    >> this has to
    >> do the keep-together processing instruction, but I can't seem
    >> to solve
    >> it. I tried:
    >>
    >>
    >>
    >> as a child of task, procedure, step, and figure, with no
    >> visible change
    >> in the rendering.
    >
    >
    > Could it be the same problem as this one?
    > http://sourceforge.net/tracker/index.php?func=detail&aid=1843969&group_id=21
    > 935&atid=373747
    >
    > has no effect on task. You can work around
    > this by customizing the formal.object.properties attribute-set.
    >
    > For procedure, keep-together.within-column is "auto" by default (via the
    > procedure.properties attribute-set).
    >
    > /MJ

    MJ,

    This sounds like the culprit. I can't test at the moment, but if you
    don't hear from me, the solution is to "change the
    [keep-together.within-column] property in "formal.object.properties" to
    'auto' to get page-breaks" (from the bug). Hopefully that will space my
    text normally.

    The solution you mention in the bug comment sounds like what I was
    trying to do.

    Thanks,

    Brett