← ClaudeAtlas

render-pdf-doclisted

Render academic Markdown documents (English or Korean) to publication-quality PDF via pandoc + xelatex. Targets non-bibliography artifacts: research proposals, IRB cover letters, briefing handouts, anchor docs (Q&A grids), and reference tables. Auto-infers pipe-table column widths from content (label column shrinks to fit, data columns share remaining width). CJK-aware font fallback for Korean text (Apple SD Gothic Neo on macOS, Noto Sans CJK KR on Linux). NOT for: manuscripts with bibliography (use /manage-refs render_pandoc.sh), Word form filling (/fill-protocol), figures (/make-figures).
Aperivue/medsci-skills · ★ 145 · Data & Documents · score 79
Install: claude install-skill Aperivue/medsci-skills
# Render-PDF-Doc Skill Markdown + frontmatter → publication-quality academic PDF (English or Korean). ## Why This Skill Exists In real circulation cycles for academic PDFs, two recurring failure patterns appear: 1. v1 drafts: change-history, version numbers, and PI attribution leak into the attached PDF, confusing the first recipient. 2. v2 drafts: pandoc pipe-table dash ratios are misjudged, narrowing the first column and forcing label wrapping that hurts readability. Manual fixes work but the same pattern recurs across proposals, briefings, IRB covers, exemption applications. This skill focuses on **layout** (CJK fonts + table column widths). Bibliography and CSL are handled by `/manage-refs`. ## Boundary (separation from other skills) | Task | Skill | |---|---| | Manuscript + bibliography → DOCX/PDF | `/manage-refs scripts/render_pandoc.sh` (CSL + .bib) | | Filling an institutional .docx form | `/fill-protocol` | | ICMJE COI form | `/fill-icmje-coi` | | Figure / PPTX | `/make-figures`, `/present-paper` | | **This skill**: non-bib academic markdown → PDF (proposal, briefing, anchor doc, IRB cover) | `/render-pdf-doc` | ## Core Principles 1. **Pipe table column widths must be inferred from content.** No equal splitting. Size the first column (label) to the longest label, and distribute the remaining width content-proportionally across the data columns. 2. **Set the CJK font explicitly** — `mainfont` + `CJKmainfont`. The default fallback is OS-detected. 3. **For circu