# Input `scripts/ingest.sh --work (--arxiv ID|--pdf FILE|--tex FILE|--excerpt FILE)` | kind | ingest | |---|---| | `tex` | copy into `source/tex/`; do not compile | | `arxiv` | id regex `^(ar[Xx]iv:)?(\d{4}\.\d{4,5}(v\d+)?|[a-z-]+/\d{7})$`; PDF then optional e-print tar (read only) | | `pdf` | copy `source/paper.pdf`; `pdftotext`; pages `pg-%03d.png` at 120 dpi | | `excerpt` / `markdown` | `source/excerpt.md`; `coverage.mode=excerpt` | Do not OCR as the main path. Architecture figures: redraw with superfig. Numeric plots: screenshot or matplotlib. See `scripts/screenshot.sh` for 200 dpi page crops.