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 316 stars 75 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
83
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
5 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

pdf-design

Makes PDFs that look designed, not like a printed website — client reports, proposals, one-pagers, dossiers and slide decks where every page is composed as a whole, full-bleed, with no white frame and no half-empty pages (A4 portrait, A4 landscape or 16:9). Text stays vector and selectable, six themes are built in, any brand you already have (a DESIGN.md, a tokens.json, a CSS file or a live URL) becomes a theme automatically, and a quality check measures every page and renders a PNG of each one so the agent can review its own work before delivering. Use when the user asks for a PDF, a report, a proposal, a deck or presentation as PDF, a brochure, a one-pager, "make this look professional", or says the PDF "looks like a web page".

4 Updated 5 days ago
Georgi45
Data & Documents Listed

md2pdf

Convert Markdown to PDF with proper Japanese typography via pandoc + weasyprint. Use when asked to create / generate a PDF from a markdown file, convert md to PDF, or produce a printable document. Handles CJK fonts, tables, code blocks, SVG images, and mermaid diagrams. Triggers: "PDFにして", "PDF作成", "md to pdf", "ドキュメントをPDFに".

0 Updated 5 days ago
nogunix
Web & Frontend Listed

pdf-builder

Build professional, distinctive single-file HTML→PDF business documents — investor teasers, one-pagers, pitch decks, financial reports, company profiles, deal documents, term sheet summaries. Use when the user asks for a print-ready PDF that needs to be auditable against source documents AND visually distinctive. Renders via headless Chrome (Mac) / Edge (Windows) / Chromium (Linux). NOT for free-form web UI, long-form text (50+ pages), or design-tool round-trips.

0 Updated 2 days ago
hussainnasser1996-stack