Could you please be so kind as to suggest how to stop Prince from putting a page break between the content of multiple URLs that have one or two paragraphs each, if you don't mind?
For example:
prince file1.htm file2.htm file3.htm file4.htm -o out.pdf
This creates four pages with one paragraph each. What I need is one page with the four paragraphs in newspaper style.
I'm laying out the content with the first header spanning two columns, followed by the paragraphs in a two column format. That should then be followed by the first header of the second URL spanning two columns (e.g. a newspaper style layout).
In the Prince style sheet I have experimented with variations on @page :first {page-break-before: avoid;}.
I have played with fetching the HTML from each URL first and combining them. On a simple combination Prince replied with "combination error: Extra content at the end of the document." Combining only the content between <body>..</body> Prince replied with hundreds of "error: ID content already defined."
I would like to avoid a massive restructuring of the documents (I'll be putting 100+ URL/documents in a PDF) before having Prince process them. But I need a 25 page PDF, not a 100 page PDF.
A search of the forums didn't turn up anyway to stop Prince from inserting a page break between each URL. Any suggestions, please?
For example:
prince file1.htm file2.htm file3.htm file4.htm -o out.pdf
This creates four pages with one paragraph each. What I need is one page with the four paragraphs in newspaper style.
I'm laying out the content with the first header spanning two columns, followed by the paragraphs in a two column format. That should then be followed by the first header of the second URL spanning two columns (e.g. a newspaper style layout).
In the Prince style sheet I have experimented with variations on @page :first {page-break-before: avoid;}.
I have played with fetching the HTML from each URL first and combining them. On a simple combination Prince replied with "combination error: Extra content at the end of the document." Combining only the content between <body>..</body> Prince replied with hundreds of "error: ID content already defined."
I would like to avoid a massive restructuring of the documents (I'll be putting 100+ URL/documents in a PDF) before having Prince process them. But I need a 25 page PDF, not a 100 page PDF.
A search of the forums didn't turn up anyway to stop Prince from inserting a page break between each URL. Any suggestions, please?