The macro that creates an ALink button object must be invoked after all ALink keywords in a topic have been added to the $$ALinkKeys list. The easiest way to ensure that the button follows all sources of keywords is to invoke the [ALinkButton] macro at the very end of each topic. For example:
See §18.5 Inserting HTML code in split and extract files.
§9.7.5.1 Creating a list of ALink keywords from paragraphs
§9.7.5.2 Creating a list of ALink keywords from markers
§9.7.5.4 Building an ALink button object from an ALink keyword list