Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-3153

"Keep-with-next" condition not fullfilled when span="all" is used on a block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8
    • None
    • fo/block
    • None
    • Patch

    Description

      Hello,

      We have to generate a document with text in two columns, but headings need to extend to both columns using span="all". The problem I am facing is that the "keep-with-next.within-page" condition is set to "always" in all headings, but this condition is not respected in the generated PDF, with headings being at the end of the page, and the next element in the next page. Find attached the sample .fo file and the generated PDF document.

      If there is a workaround for this, it would be greatly appreciated to know. Thanks in advance.

      Attachments

        1. editor - 2023-10-02T091356.171.pdf
          37 kB
          Jorge Villar
        2. 877404072.fo
          73 kB
          Jorge Villar

        Activity

          People

            Unassigned Unassigned
            jvillar1974 Jorge Villar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: