• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Contributor ,
Aug 31, 2020 Aug 31, 2020

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):

PDF TOC.PNG

 

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):

PDF looks fine in the help.PNG

 

 But in the PDF, the two headers are separated, as if they're in separate topics (Screenshot C):

PDF separate pages.PNG

 

Here's what the code looks like (Screenshot D):

PDF extra page.PNG

 

I'd appreciate any help on this. Thank you!

Views

146

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 31, 2020 Aug 31, 2020

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?

Votes

Translate

Translate
Community Expert ,
Aug 31, 2020 Aug 31, 2020

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 01, 2020 Sep 01, 2020

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 🙂 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 01, 2020 Sep 01, 2020

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 02, 2020 Sep 02, 2020

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!  🙂

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 02, 2020 Sep 02, 2020

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp