##### 18.7.5.2 Initializing the ALink keyword list counter

To set the counter for ALink keyword list variable $$ALinkKeys to zero at the beginning of each DITA file:

    [MacroVariables]
    Nkeys=0

The [ALinkButton] macro (see §18.7.5.3 Building an ALink button object from an ALink keyword list) sets Nkeys back to zero again after finishing each button, to re-initialize Nkeys for the next topic.

See also:

§18.7.5.1 Creating a list of ALink keywords from paragraphs

§18.7.5.2 Initializing the ALink keyword list counter

Previous Topic: 18.7.5.1 Creating a list of ALink keywords from paragraphs

Next Topic: 18.7.5.3 Building an ALink button object from an ALink keyword list

Parent Topic: 18.7.5 Using the same format for ALink keywords and jumps

Sibling Topics:

18.7.5.1 Creating a list of ALink keywords from paragraphs

18.7.5.3 Building an ALink button object from an ALink keyword list

18.7.5.4 Positioning the ALink button in each HTML Help topic

18.7.5.5 Including multiple ALink keywords in a paragraph or marker