Forum How do I...?

With upgrade to Prince 12 content not spanning pages

amyd
We have just upgraded from a 2012 version of Prince (not sure the exact version) to Prince 12. There are a few things now not working. One thing is a blank page. Here is simplified version of the problem. When I have a lot content that should span more than one page, it does span fine in the 2012 version of Prince, but it does not come through on the newer version. I am making no change except to change the service. One uses the older version of Prince and one uses the new version. I'll post the html file below and I've attached the pdf outputs.

Why is the new version behaving this way?

<html>
<head>
</head>
<body>
<div style="display: flex; flex-direction: column">
<div>Output using (put text depending on the service I'm using, 2012 Prince or Prince 12)</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
<div>Content</div>
</div>
</body>
</html>
  1. SampleWith2012Prince.pdf12.0 kB
    Older version works
  2. SampleWithPrince12.pdf18.5 kB
    New version cuts off
mikeday
Old versions of Prince did not support flexbox layout so would treat this as a regular block, Prince 12 does support flexbox layout but cannot break flex containers across pages, latest builds can break flex containers across pages.
amyd
Thank you for the quick answer! I appreciate it. I was trying to simplify my real issues with the Prince upgrade and probably shouldn't have used flexbox to do it. But now that you pointed that out I can move on with my debugging in other ways. Thank you!