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!
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.
Copy link to clipboard
Copied
Have you checked out Peter's site (grainge.org)? He probably discussed PDF output there.
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...
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.
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!
Copy link to clipboard
Copied
I was just fighting with a similar problem for quite a while. Thanks for this! Very helpful 🙂