#### 13.6.2 Labeling related links

You can include labels with related links. The Previous, Next, and Parent labels are on the same line as the single topic title; the other labels are actually headings on the line above their topic list, which is indented below them, one topic per line.

Text values for labels and headings are provided in each of the language configuration files; see §8.9 Localizing output headings, labels, and names. The values shown here are the default values specified in d2g_lang_en.ini.

The following settings indicate which types of relationship to show as a labeled group; if a setting is unspecified (= blank), that label is omitted, but the topics under it are listed if their “Use” setting (see §13.2 Generating and including related links) is Yes.

To specify labels based on type of link, in a language configuration file:

    [RelatedLinksText]
    ; PrevHead = label to use for previous topic in sequence
    ; (on same line)
    PrevHead=Previous Topic:
    ; NextHead = label to use for next topic in sequence (on same line)
    NextHead=Next Topic:
    ; ParentHead = label to use for parent topic (on same line)
    ParentHead=Parent Topic:
    ; ChildHead = label to use for child topics list (on line above)
    ChildHead=Child Topics:
    ; SiblingHead = label to use for siblings
    SiblingHead=Related Topics:
    ; AncestorHead = label to use for role ancestor (on line above)
    AncestorHead=Ancestor Topics:
    ; DescendantHead = label to use for role descendant (on line above)
    DescendantHead=Descendant Topics:
    ; CousinHead = label to use for role cousin (on line above)
    CousinHead=Cousin Topics:
    ; FriendHead = label to use for role friend (on line above)
    FriendHead=Friend Topics:

To omit a label, set the label value to blank; for example:

    [RelatedLinksText]
    FriendHead =

To specify labels based on topic type (the type attribute of the link or topicref):

    [RelatedLinksText]
    ; ConceptsHead = label for concept topics
    ConceptsHead=Related Concepts:
    ; TasksHead = label for task topics
    TasksHead=Related Tasks:
    ; ReferencesHead = label for reference topics
    ReferencesHead=Related References:
    ; RelatedHead = label to use for other related topics (on line above);
    RelatedHead=Related Topics:

Previous Topic: 13.6.1 Understanding how DITA2Go presents related links

Next Topic: 13.6.3 Specifying output formats for related and fixed links

Parent Topic: 13.6 Formatting links in output

Sibling Topics:

13.6.1 Understanding how DITA2Go presents related links

13.6.3 Specifying output formats for related and fixed links

13.6.4 Inserting dividers between topics and lists of links