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

Improve handling of multiple footnote anchors #515

Open
windymilla opened this issue Nov 4, 2024 · 1 comment
Open

Improve handling of multiple footnote anchors #515

windymilla opened this issue Nov 4, 2024 · 1 comment
Labels
future feature New feature or request, but not core

Comments

@windymilla
Copy link
Collaborator

Where several anchors refer to the same footnote, things aren't handled as well as they could be (in GG1 too, e.g. HTML generation doesn't generate links for the earlier anchors, only the last one with that number).

In an ideal world, all the anchors would appear in the message list in Footnote Fixup. Need to decide how to find them, and which footnote to link them to.

One possibility would be to search for anchors and then find the footnote for each anchor. ATM GG1 & 2 search for footnotes and then search back for the nearest same-numbered anchor. Since you can have many anchors for one footnote, but not many footnotes for one anchor, this alternative might be fruitful.

OTOH, there may be a good reason that GG1 was written the way it is.

@windymilla windymilla added the future feature New feature or request, but not core label Nov 4, 2024
@windymilla
Copy link
Collaborator Author

Just linking to #503

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future feature New feature or request, but not core
Projects
None yet
Development

No branches or pull requests

1 participant