Forum Bugs

Use of BASE tag gives single page output only

inextpdf
We have come across a problem when processing web pages which go beyond a single page in the resulting PDF. prince runs fine and produces the first page of the PDF without any errors, but there is just this one page in the file instead of many. This problem only seems to occur when using either the BASE tag in the html page or using the --baseurl option to prince.

For sample input, see my reply to this.

Is this a known issue, or is there something which we have missed?

Prince 6.0 rev 2
Copyright 2002-2007 YesLogic Pty. Ltd.
Server License

Linux version

Thanks
inextpdf
Sample input is at http://demo.stage.i-ntarsia.com/content.htm. If this page is saved locally and then run through prince, it produces several pages of output, although without the stylesheets and images of course since there is no base url. However, running the exact same file through prince when specifying the option --baseurl=http://demo.stage.i-ntarsia.com/ gives only the first page of output, but rendered fine.
mikeday
This is because the style sheet places the entire document content inside absolutely positioned blocks, which at the moment cannot break across multiple pages. Unfortunately, absolute positioning is a technique that doesn't transition well to paged media; we're working on improving this. In the meantime, ensuring that the main body content of the document is not absolutely positioned should solve the problem. (Headers and menus can still be absolutely positioned, as they only occur on the first page and don't need to break across multiple pages).