Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the names of indexed symbols clickable #9

Open
pkgw opened this issue Oct 13, 2022 · 0 comments
Open

Make the names of indexed symbols clickable #9

pkgw opened this issue Oct 13, 2022 · 0 comments
Labels
good first issue Good for newcomers

Comments

@pkgw
Copy link
Contributor

pkgw commented Oct 13, 2022

Right now, when a named module appears in a WEB code listing, you can click on that module to pull up some information about it. This is done using "inserts" of the kind StartModuleReference, which causes the TeX-emitting code to insert a special macro which then expands to a <a> link special that invokes a callback implemented in the app.

We should support the same kind of functionality for indexed symbols, which appear very frequently in WEB listings. Most of the implementation would be parallel to the above. The extra part would be figuring out where to log a new "symbol ref" insert in the pretty-printing code.

Clicking on such a symbol could potentially bring up an info page, the right part of the symbol index, or maybe just start "paging" the places where that symbol appears. The latter would be most effective if the pager can actually indicate what it's paging and highlight hits to the paged item (#4).

@pkgw pkgw added the good first issue Good for newcomers label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant