render-pdf-doc

Featured

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).

Data & Documents 223 stars 55 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
78
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
Aperivue
Repository
Aperivue/medsci-skills
Created
3 months ago
Last Updated
yesterday
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category