Copy link to clipboard
Copied
Hi, Everyone.
In RH 2019, new UI, I'm outputting to PDF. And RH is giving me an extra page that I wish weren't in the PDF.
It looks like fine in the PDF table of contents. "How We Do It" is properly listed as sharing p. 8 along with "Analytical and Creative" (Screenshot A):
It looks fine in the help, itself -- meaning the H2 header "Analytical and Creative" appears directly after the H1 header, in the same topic (Screenshot B):
But in the PDF, the two headers are separated, as if they're in separate topics (Screenshot C):
Here's what the code looks like (Screenshot D):
I'd appreciate any help on this. Thank you!
As a first guess, it could be the table causing it to push to a new page. Do you have other topics that have a table that is a similar length but which remain on the same page?
Copy link to clipboard
Copied
As a first guess, it could be the table causing it to push to a new page. Do you have other topics that have a table that is a similar length but which remain on the same page?
Copy link to clipboard
Copied
Thanks, Amber, you're right. It must be the long table.
I do have another table that remains on the same page, but it's much shorter.
Thank you. I can move on, now 🙂
Copy link to clipboard
Copied
You could check if your table style has 'break-inside: avoid;' set. Removing it, or setting it to 'auto' might allow the table to break across pages, although I couldn't say what effect that would have on the rest of your project. It also might be a quirk of PDF output that you can't change - I don't generate PDFs so couldn't say.
Copy link to clipboard
Copied
Just checked it. The HTML doesn't contain 'break-inside: avoid;'
But thanks for the suggestion. I learned a bit more about HTML! 🙂
Copy link to clipboard
Copied
Don't forget to check the source code of the css (stylesheet) file as well. 🙂