Inserting a line break in a book title for a PDF output

Last Updated : Nov 19, 2021 |
Prolog information
You can create a multiline title with specific line breaks in a PDF output.
Note:
If your publication is being translated, you must add a line break at the end of the mainbooktitle after the last word. This has no impact on your outputs but it provides a placeholder line break for localization that they can move if they need it for a translated version of the output.
If your publication is being translated, add a line break at the end of the mainbooktitle after the last word. Adding a new line does not impact your output, but it provides a placeholder line break for localization. The localization team can move if additional space is required for a translated version of the output.
  1. Right-click the bookmap and select Check out with in Oxygen XML Author.
  2. Put your cursor in the mainbooktitle element where you want to enter a line break.
    ADDITIONAL INFORMATION:
    • To add new lines to an existing title, place the cursor before the word that you want to move to the second line.
    • To add new lines to a title, place the cursor at the end of the name, insert the new line, and type the text to appear on the second line.
    Note:
    If you include more words in a line than can naturally fit, the line splits when it reaches the maximum length for a line.
  3. Go to the Text mode, and add the <?Pub _newline?> code before the word from where a new line must start.
    Example 1: Added a line break in the mainbooktitle element after the word CCaaS.
    <booktitle id="GUID-xxx">
    <mainbooktitle id="GUID-xxx-2">Using Avaya OneCloud CCaaS <?Pub _newline?> Public Omnichannel for supervisors</mainbooktitle>
    </booktitle>
    Example 2: Added a line break at the end of the document title to accommodate the languages that need additional space after translation.
    <booktitle id="GUID-xxx-3">
    <mainbooktitle id="GUID-xxx-4">Using Avaya OneCloud CCaaS <?Pub _newline?> Public Omnichannel for supervisors<?Pub _newline?></mainbooktitle>
    </booktitle>
  4. Check in the bookmap.
    STEP RESULT:
  5. Generate the PDF output and verify the document title.
    STEP RESULT:
    A line break gets added after the word where you inserted the line break.
    In the example, a line break is added after CCaaS in the document title: