Skip to main content
Inspiring
Aug 31, 2020 8:05 PM UTC
Answered

Extra page in PDF that shouldn't be there (RH 2019, new UI)

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!

    This topic is closed to new replies. Start a new post to keep the conversation going.
    AmebrCorrect answer
    Community Expert
    Sep 1, 2020 3:50 AM UTC

    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?

    5 replies

    Community Expert
    Sep 3, 2020 12:22 AM UTC

    Don't forget to check the source code of the css (stylesheet) file as well. 🙂

    Translate
    Inspiring
    Sep 2, 2020 12:45 PM UTC

    Just checked it. The HTML doesn't contain 'break-inside: avoid;' 

     

    But thanks for the suggestion. I learned a bit more about HTML!  🙂

    Translate
    Community Expert
    Sep 2, 2020 12:28 AM UTC

    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.

    Translate
    Inspiring
    Sep 1, 2020 1:10 PM UTC

    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 🙂 

    Translate
    AmebrCommunity ExpertCorrect answer
    Community Expert
    Sep 1, 2020 3:50 AM UTC

    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?

    Translate