arxiv-latex-source
CommunityFetch arXiv LaTeX sources for precise parsing.
System Documentation
What problem does it solve?
Retrieve arXiv LaTeX source bundles, extract structured sections/equations/references, and attach parsing-ready outputs to Zotero items. Use this whenever a user needs better-than-PDF full text for preprints, equation fidelity, or reproducible section-level extraction.
Core Features & Use Cases
- Download source bundle: GET https://arxiv.org/e-print/{arxiv_id}
- Typical response: gzip tarball containing
.tex, figures, and bibliography files. - Pair metadata when needed: https://export.arxiv.org/api/query?id_list={arxiv_id}.
- Find main TeX file via \documentclass and \begin{document}.
- Extract section titles, equation blocks, and bibliography entries.
- Save parsed artifacts as a Zotero note/attachment summary and keep source provenance (arxiv_id, version, fetch date).
Guardrails
- Respect arXiv automation guidance: use a descriptive User-Agent.
- Keep request rate conservative (about 1 req/s; do not exceed published limits).
- Retain raw archive hash/version where possible for reproducibility.
Output template
{ "arxiv_id": "string", "source_version": "v1|v2|unknown", "main_tex": "path or null", "sections": ["string"], "equation_count": 0, "reference_count": 0, "zotero_actions": [ "create_note", "attach_parsed_summary" ] }
Quick Start
Attach a Zotero item with an arXiv ID or URL and request the LaTeX-source extraction to obtain structured sections, equations, and references.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: arxiv-latex-source Download link: https://github.com/liongkj/zotero-library-bridge-skills/archive/main.zip#arxiv-latex-source Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.