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

Backlinks #20

Open
edwintorok opened this issue Oct 12, 2014 · 3 comments
Open

Backlinks #20

edwintorok opened this issue Oct 12, 2014 · 3 comments

Comments

@edwintorok
Copy link

A nice addition would be a backlink after each footnote, see the bottom of this document for example.
This would need a few things:

  • references to paragraphs
  • inline command to generate backlinks inside a referenced block, supported for: inline footnotes (easier, just 1 backlink), regular footnotes (multiple backlinks), citations (multiple backlinks)
  • inline footnotes, \note command (equivalent of a note block and \see command with automatic naming)

Of course it should be user controllable, perhaps via a parameter for \notes and \bibliography.

This could also be used to generate a simple index (LaTeX has \index and \printindex), by showing all labels and their backlinks, perhaps by a command \index.

@darioteixeira
Copy link
Owner

That's a fair request. Let's keep this ticket open...

@edwintorok
Copy link
Author

I was looking whether I could implement this as an extension, and although I could generate references to footnotes with See, I cannot generate the note blocks themselves.
notes is a BatDynArray that doesn't seem to be accessible to extensions.
Please provide a way for (block) extensions to generate notes.

@darioteixeira
Copy link
Owner

Yes, the current extension mechanism does not provide access to "compiled" elements such as notes. However, as I've mentioned on ticket #7, I'm considering a different approach which could allow for extensions to implement what you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants