Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install vivekkarmarkar-claude-code-os-skills-reproduce-basic-paper-pdf-with-all-highlighted-categoriesgit clone https://github.com/VivekKarmarkar/claude-code-os.gitcp claude-code-os/SKILL.MD ~/.claude/skills/vivekkarmarkar-claude-code-os-skills-reproduce-basic-paper-pdf-with-all-highlighted-categories/SKILL.md---
name: reproduce-basic-paper-pdf-with-all-highlighted-categories
description: End-to-end highlighted PDF with ALL highlight categories combined — content (yellow), answers (cyan), and evidence (green/pink/orange) — in a single document. Delegates curation to each of the three existing highlight-*-in-paper skills sequentially, then reads all selections, copies per-page `.tex` files to `highlighted/`, applies all color-coded `\pdfmarkupcomment` highlights in one pass, concatenates, compiles, and opens the interactive PDF.
---
# reproduce-basic-paper-pdf-with-all-highlighted-categories
End-to-end: curate all three journals → apply all highlights → compile → open one PDF with every color.
## Pipeline
### Step 0 — Verify prerequisites
Per-page `.tex` files must exist. At least one of the three journals must exist with entries.
### Step 1 — Delegate curation to each existing highlight skill
For each journal that exists, invoke the corresponding curation skill:
1. `/highlight-content-in-paper` → yellow selections
2. `/highlight-answers-in-paper` → cyan selections
3. `/highlight-evidence-in-paper` → green/pink/orange selections
Skip any journal that doesn't exist. If the user cancels any dialog, skip that category (don't abort the whole skill). If ALL are cancelled or empty, STOP.
### Step 2 — Read all selected entries
Collect selected entries from all `_selected.txt` files that were produced, tagged with their source color.
### Step 3 — Copy `.tex` files to `highlighted/`
Clean slate copy of all per-page `.tex` files to `<reconstruction_dir>/highlighted/`.
### Step 4 — Apply all highlights in one pass
For each selected entry across all three journals: find excerpt in the correct highlighted `.tex` copy, wrap with `\pdfmarkupcomment` using the source-appropriate color and popup label. Add `\usepackage{soul}` and `\usepackage{pdfcomment}` to preambles.
### Step 5 — Concatenate
Merge into `highlighted/<stem>_full_highlighted.tex`.
### Step 6 — Compile
`pdflatex` in temp dir → `<reconstruction_dir>/<stem>_full_highlighted_all.pdf`.
### Step 7 — Open and report
```
Highlighted PDF (all categories): <stem>_full_highlighted_all.pdf
Content (yellow): <X> entries
Answers (cyan): <Y> entries
Evidence: <Z> entries (green/pink/orange)
Skipped: <K> entries (excerpt not found)
Viewer: launched
```
STOP.
## Do-not-touch rules
- NEVER modify original `.tex` files — only copies in `highlighted/`.
- NEVER re-implement curation — delegate to the three existing highlight-*-in-paper skills.