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

Show "indexes" for citations #261

Open
algo74 opened this issue Jan 11, 2024 · 0 comments
Open

Show "indexes" for citations #261

algo74 opened this issue Jan 11, 2024 · 0 comments

Comments

@algo74
Copy link

algo74 commented Jan 11, 2024

Being able to identify citations by their reference numbers in the paper is very helpful for reading:
image
This may be hard to implement in general. However, simply showing indexes helps in cases where all the paper's citations are imported.
A simple hack would be to change
const label = citation.target.getLabel(); to const label = (index+1).toString() + ". " + citation.target.getLabel(); in line 241 in citationsBox.jsx, but a better approach could be to make it an option, perhaps individual for each document.

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

1 participant