Associative Links (ALinks) for HTML Help are basically invisible index
entries that can be used to display context sensitive help using the
HtmlHelp API.

To use them, the HTML file needs to contain an ALink target with the
following syntax:

<object type="application/x-oleobject" classid="clsid:1e2a7bd0-
dab9-11d0-b93a-00c04fc99f9e">
    <param name="ALink Name" value="target_name">
</object>

You can then use the HTML Help API's HH_ALINK_LOOKUP command from your
program to bring up the associated page in the chm.

Internal hyperlink targets would be a natural way to express ALink
target names in reStructuredText.  They are already used by Sphinx to
specify targets for :ref: roles.  We just need to output the above
object tag for each target and then the targets could be opened
directly from a program using the HH_ALINK_LOOKUP command.

In order to output the object tag at the appropriate place, I believe
I need to override the visit_target method of the HTMLTranslator
object and have it output this tag.  My question is what is the
easiest way to override this via Sphinx's extension architecture?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to