#### 21.7.3 Configuring context IDs and context anchors

To provide entry points for infopop calls from an application to an Eclipse Help system, insert EclipseContext PI markers in target topics in your DITA XML file. The content of an EclipseContext PI marker is the context ID for the infopop, which becomes a <context> element in toc.xml.

By default, DITA2Go inserts each context anchor at the beginning of a topic, regardless of where in the topic you place the EclipseContext PI marker. To produce mid-topic entry points instead:

    [EclipseHelpOptions]
    ; ContextAnchors = No (default, filename only) or Yes (refer to para)
    ContextAnchors = Yes

When ContextAnchors=Yes, DITA2Go inserts a context anchor at the beginning of the paragraph that contains an EclipseContext PI marker.

When ContextAnchors=No, the context anchor appears at the beginning of the topic.

Previous Topic: 21.7.2 Naming context file and attribute for secondary plug-ins

Next Topic: 21.7.4 Configuring context descriptions

Parent Topic: 21.7 Setting up CSH for Eclipse Help

Sibling Topics:

21.7.1 Understanding how DITA2Go generates context links

21.7.2 Naming context file and attribute for secondary plug-ins

21.7.4 Configuring context descriptions

21.7.5 Locating context information