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

PDF margins

Community Beginner ,
May 03, 2023 May 03, 2023

Copy link to clipboard

Copied

Dear colleagues,

 

I'm quite new on RoboHelp and I'm having an issue that is taking all my time and patience.

I would like to create a cover page with no margins but nothing is working. I tried the following:

 

- Add a specific template for the cover: Output > Templates >  tamplate > page layout.

- Work with different stylesheets; book.css as I saw in other discussions, and modify some values as specified.

- Work with a custom stylesheet with no margins and also with negative margins inclusive including  the property !important directly on the css.

With negative margins I can see in the output that the margin is applied in the topic but not in de output.

 

Also I 've been reading the documentation and tried to follow some indication of the following:

https://helpx.adobe.com/ch_it/robohelp/using/customize-pdf.html

Nothing worked for me.

By the way, it says that a cover page can be added from the TOC. Not me. I don't have any option to select or add a common topic as a Cover page.

Also I read somewhere that it is possible to add or quit margins at the pdf document at the output, but still not finding this parameter.

 

Since now i've been working with version 2022.0. I tried updating the version to 2022.2.22 but nothing solved.

 

Appreciate any help
Thanks!

 

Views

198

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

Explorer , May 04, 2023 May 04, 2023

Have you tried it with the @page parameters? 

I had a similar problem, and this seems to help:

I used the Basic PDF Template, opened the existing layout.css and added the following:

@page {
  size: 210mm 279mm;
  margin-top: 34mm;
  margin-bottom: 34mm;
  margin-left: 20mm;
  margin-right: 20mm;
}

Like you said, setting the paper size and margins in the Page Layouts does not have any effects for me either, but setting it in the layout - for all PDF pages, unfortunately - works for me.

Votes

Translate

Translate
Community Expert ,
May 03, 2023 May 03, 2023

Copy link to clipboard

Copied

Have you checked out Peter's site (grainge.org)? He probably discussed PDF output there.

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 Beginner ,
May 03, 2023 May 03, 2023

Copy link to clipboard

Copied

Thank Jeff for your answer. I've been checking Peter's site and I find an option to set the PDF margins in RH 2019. Unfortunately seems like this option is not available in RH 2022...

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
Explorer ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

Have you tried it with the @page parameters? 

I had a similar problem, and this seems to help:

I used the Basic PDF Template, opened the existing layout.css and added the following:

@page {
  size: 210mm 279mm;
  margin-top: 34mm;
  margin-bottom: 34mm;
  margin-left: 20mm;
  margin-right: 20mm;
}

Like you said, setting the paper size and margins in the Page Layouts does not have any effects for me either, but setting it in the layout - for all PDF pages, unfortunately - works for me.

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 Beginner ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

Thanks a lot Carolin! That was very helpuf for me. I started to hate RH after three full days spent with the margins....

Hope you have a nice day!

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
Enthusiast ,
Jul 18, 2023 Jul 18, 2023

Copy link to clipboard

Copied

LATEST

I was just fighting with a similar problem for quite a while. Thanks for this! Very helpful 🙂

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