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

feature - improve linking to fragments #92

Open
andrewfowlie opened this issue Feb 23, 2022 · 2 comments
Open

feature - improve linking to fragments #92

andrewfowlie opened this issue Feb 23, 2022 · 2 comments
Labels
article viewer enhancement New feature or request

Comments

@andrewfowlie
Copy link

First, this is a really cool project. I've been having a look at the outputs created and they usually look great.

One slightly hidden current feature I really like is that we can hyperlink paragraphs, equations, figures and sections. This can help streamline discussions, referee reports, and I can even imagine referring to such a URL inside a paper. I guess this was possibly with PDFs too, but much less appealing.

E.g., for this paper, https://ar5iv.labs.arxiv.org/html/1906.08684, I found I can add

Anyway, the feature request is that I wonder if there was a simply way to facilitate easier creation and sharing of these kinds of links. For example, if every equation number, section/subsection ... title, perhaps even the first word of each paragraph, etc, was a hyperlink to its tag, people could easily copy the links.

@dginev dginev added article viewer enhancement New feature or request labels Feb 23, 2022
@dginev dginev added this to the Article Viewer (alpha) milestone Feb 23, 2022
@dginev
Copy link
Owner

dginev commented Feb 23, 2022

Very reasonable upgrade request.

In terms of user experience -- do you personally enjoy the github link-on-hover feature in github's markdown previews @andrewfowlie ? Say you go to the README here and hover over the ar5iv heading, you should see:

That little "link symbol emoji" 🔗 can then be clicked and the link to the fragment in question gets copied to your clipboard for reuse in any other application.

I'm personally fond of it, and I think it would be quite easy to provide another small piece of javascript that enables it.

A good place to note that before we set onto the path of building a "high quality viewer application" for arXiv:
There are some preliminaries that need to be taken care of with setting up a proper javascript workspace -- that is likely the reasonable bit to do next, before I pile together too many separate independent mini-scripts.

@andrewfowlie
Copy link
Author

Yes! That system works well and is a perfect example of the kind of problem and solution I had in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
article viewer enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants