Hi there,
in my PDF manuals paragraph headings that are a bit longer run out of the page margin. How can I get them to use line breaks? (Might applay to other headings, too. In my case it is a main paragraph.)
regards Björn
heading length in PDF
Moderators: Alexander Halser, Tim Green
- Tim Green
- Site Admin
- Posts: 23178
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: heading length in PDF
Hi Björn,
This will be because of your word wrap setting. If the heading is in the body of your topic check the paragraph and/or style settings and make sure that word wrap is on. If it is in the main topic heading, check the Topics section in your PDF template and make sure that the text objects for the headers have word wrap on and that the anchors are set to left, top and right.
This will be because of your word wrap setting. If the heading is in the body of your topic check the paragraph and/or style settings and make sure that word wrap is on. If it is in the main topic heading, check the Topics section in your PDF template and make sure that the text objects for the headers have word wrap on and that the anchors are set to left, top and right.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 15
- Joined: Thu May 05, 2022 12:36 pm
Re: heading length in PDF
Thanks, line breaks in headings work fine now on paragraph and topic pages. Only place where word wrap does not work yet, is in TOC. Long headings run through the page number there. (Word wrap is turned on in the styles of all headings levels.)
How can I fix that?
How can I fix that?
- Tim Green
- Site Admin
- Posts: 23178
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: heading length in PDF
If it's only running through the page number it means that you are using an older PDF template with separate text objects for the title and page number variables, and it has been incorrectly configured with the text objects overlapping. Instead, use a single text object with an automatic dot leader:BjoernThiele wrote: ↑Thu Aug 04, 2022 10:01 am Only place where word wrap does not work yet, is in TOC. Long headings run through the page number there. (Word wrap is turned on in the styles of all headings levels.)
Set the Alignment: of the text objectd to "Justified / Fill".
Enter the heading and page number variables like this:
Code: Select all
<%HEADING2%> ........ <%BEGINPAGE2%>
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.