Menu

#960 Override of 'keep-together' for procedure ignored in <task>

closed-fixed
nobody
XSL (1066)
5
2008-06-20
2007-12-04
Juergen
No

Using xsl-1.73.2

In a <procedure> with many (and/or large) steps, the overriden value for "keep-together.within-column" (=auto) in "procedure.properties" is ignored, if the procedure is wrapped in a <task>.

I have to change the 'original' property in "formal.object.properties" to 'auto' to get page-breaks.

Example (keep-together for procedure=auto, for formal.object=always):

<!-- uncomment following 2 and last line to get unwanted result -->
<!--<task>
<title>TEST-Task</title>-->
<procedure id="proc_test">
<title>TEST-proc</title>
<!-- copy/paste <step> 20+ times to force overflow -->
<step>
<title>TEST-step</title>
<para>test test test test test</para>
</step>
</procedure>
<!--</task>-->

Discussion

  • Mauritz Jeanson

    Mauritz Jeanson - 2007-12-09

    Logged In: YES
    user_id=582041
    Originator: NO

    The keep-together.within-column=auto (from procedure.properties) value is not ignored, it is overridden by keep-together.within-column=always (from formal.object.properties) on the enclosing fo:block that is created for the task (see task.xsl).

    One way to make this more flexibe would be to enable use of the <?dbfo keep-together?> PI to specify "keep" behaviour for tasks.

     
  • Mauritz Jeanson

    Mauritz Jeanson - 2008-06-05

    Logged In: YES
    user_id=582041
    Originator: NO

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Mauritz Jeanson

    Mauritz Jeanson - 2008-06-05
    • status: open --> pending-fixed
     
  • Mauritz Jeanson

    Mauritz Jeanson - 2008-06-05

    Logged In: YES
    user_id=582041
    Originator: NO

    I have enabled use of the <?dbfo keep-together?> PI on tasks (it works in DocBook-XSL 1.74.0), so the problem can be worked around.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed