Expand description
doiget text <ref> — extract a paper’s full text (the #281 “read”
step; ADR-0032).
Fetches the ar5iv LaTeXML-XHTML rendering of an arXiv paper and emits it as sectioned plain text — the read step of the agent research loop, without an external pdf-to-text tool. The PDF blob is never opened (ADR-0032 D1).
- arXiv id → ar5iv extraction via
doiget_core::paper_text::paper_text. - DOI → a structured
NO_OA_AVAILABLE(“pass the arXiv id”): DOI→arXiv resolution is #281 item 5 (ADR-0032 D5).
--max-chars N caps the returned text (truncation is flagged, never
silent); --no-cache bypasses the on-disk text cache. --mode json
emits the PaperText structure; the human mode renders a
Markdown-ish title + section layout. Tier-1 OA metadata, always-on —
ships in the default oa-only binary (ADR-0032 D2).
Functions§
- run
- Run the
textsubcommand.