A browser extension to open and edit any arxiv.org paper directly on overleaf.
usage-demo.mp4
This is useful to examine how some feature or typesetting effect in a paper was implemented in LaTex. It's also useful to copy equations, citations and tables from the paper for derivative work or presentations.
Install
Usage
On the arxiv page, click Open in Overleaf link on the sidebar and the latex source code will open up in overleaf. The Open in Overleaf link is not shown for papers where the authors haven't uploaded the latex source.
How it works
┌──────────────────────┐ ┌──────────────┐ .tar.gz ┌────────────────────────┐
│ "Open in Overleaf" │──────▶│ arxiv.org │──────────▶│ HuggingFace Spaces │
│ button │ │ │ │ (converter service) │
└──────────────────────┘ └──────────────┘ └────────────────────────┘
│
│ .zip
│ file
▼
┌──────────────┐ ┌──────────────────────┐
│ Overleaf │◀──────────│ Redirect to │
│ editor │ │ Overleaf API │
└──────────────┘ └──────────────────────┘
- On clicking the button, the extension fetches the latex source from arxiv in the
.tar.gzformat - Our extension converts the
.tar.gzfile from arxiv to a zip file using a backend service hosted on huggingface spaces here - Overleaf provides an API endpoint to open a latex project with a direct link to a zip file
- We then redirect the user to the overleaf page with that endpoint and the paper opens up in the overleaf editor.
