In the Layout Editor there are some layout options for cross-references for both HTML5 and PDF output. You can customize the information included in auto-titles, make external links open in a separate tab and more. An auto-title is the text that appears when a cross-reference is added.
To customize cross-references for HTML5 output:
-
Select Layout in the top menu.
-
Select the Layout you want to update or Create a Layout.
Tip
You can copy the URL of the Layout Editor and paste it into a new tab in your browser. This can be useful if you frequently switch between your Paligo content and the Layout settings.
-
Select Cross-references in the sidebar.
-
In Enable cross-reference auto-title customization select:
-
Enable to activate auto-title customization.
-
Disable to deactivate the possibility to customize auto-titles. Default
-
-
Add keywords in Cross-reference auto-title to customize cross-references for topics.
Default is
title page
. -
Add keywords in Cross-reference auto-title for formal elements to customize the cross-references for lists, figures, tables, equations and examples.
Default is
label quotedtitle nopage
. -
Add keywords in Cross-reference auto-title for appendices to customize the cross-references for appendices.
Default is
label title page
. -
Enter a character (or a combination of characters) in Cross-reference label / title separator to customize the separator.
Default is
:s
which adds a colon and a space between the label and title. -
Choose how to open external links in Open external website links in new tab or window.
-
_blank
- The link will open in a new tab (or on older browsers a new window). Default -
_self
- The link will be opened in current tab or window. -
_parent
- The link will be opened in the parent frame. Frames are deprecated in HTML5. -
_top
- The link breaks out of all frames and opens in the current tab or window. Frames are deprecated in HTML5.
-
-
Set Add rel = noopener to external links that open in new tab or window to:
-
Enable to force external links to open in a new tab. Default.
-
Disable to stop external links to open a new tab and instead open the link in current tab.
-
-
Set Use angle bracket delimiters around email to:
-
Enable to use delimiters around email addresses. Default
-
Disable if delimiters are not be used.
-
-
Select Save.
By using the keywords below, you can customize the auto-titles for cross-references. As with all auto-text, the keywords will be translated automatically when you publish to another language.
An auto-title can consist of one or more keywords. Add a space between each keyword. The order of the keywords does not matter. Paligo will automatically rearrange the components as follows (depending on which you use):
-
label
-
title
-
page (only for PDF output)
Example 4. Quoted text with page number and label
labelname quotedtitle page
Result: Section "My Topic Title" (page 15).
Tip
You can override the format for individual cross-references by using the xrefstyle
attribute. In that case, use the same values, but start with "select: "
. For example, select: quotedtitle nopage
.
Component |
Keyword |
Example |
Description |
---|---|---|---|
label |
|
Table 3 |
Complete label name and number. |
|
Table |
Only the label name. |
|
|
3 |
Only the label number. |
|
title |
|
My Topic Title |
Title without quotes. |
|
"My Topic Title" |
Title in quotes. |
|
page |
unspecified |
[12] |
Standard page citation if no value is given for the page component. |
|
(page 12) |
Page number in parentheses. |
|
|
, page 12 |
Page number after a comma. Note that this format may be unsuitable for some languages. Some languages use commas in a different way. |
|
|
Page 12 |
Capitalized page label. |
|
|
(p. 12) |
Abbreviated label in parentheses. |
|
|
, p. 12 |
Page number after a comma and page abbreviated. This option does not work with all languages. Make sure you check for languages you translate to. In many cases, languages can be added with a request to support. |
|
|
12 |
Only the page number. |
|
|
Turn off the page number for the cross-reference. |
Comments
0 comments
Article is closed for comments.