Pandoc Pdf Generation
Markdown-to-PDF skill using Pandoc and XeLaTeX with a universal build script, landscape defaults, and print-ready checks.
- CCM score
- 54 of 100
- skills.sh installs
- 555
- GitHub stars
- 5
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the Pandoc/XeLaTeX workflow with automatic section numbering, table of contents, and bibliography handling
- Includes
build-pdf.shwith--landscape,--portrait,--monospace, and--hide-detailsflags plus pre-flight and post-build checks - Enforces code blocks staying on one page and strips
<details>blocks from PDF output via a Lua filter - Designed for documents with wide tables, ASCII diagrams, or citations that need consistent LaTeX formatting
Install
$ npx -y skills add terrylica/cc-skills --skill pandoc-pdf-generation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Pandoc PDF Generation
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Overview
Generate professional PDF documents from Markdown using Pandoc with the XeLaTeX engine. This skill covers automatic section numbering, table of contents, bibliography management, LaTeX customization, and common troubleshooting patterns learned through production use.
When to Use This Skill
Use this skill when:
- Converting Markdown to PDF with professional formatting requirements
- Needing automatic section numbering and table of contents
- Managing citations and bibliographies without manual duplication
- Controlling table formatting and page breaks in LaTeX output
- Building automated PDF generation workflows
Quick Start: Universal Build Script
Single Source of Truth Pattern
This skill provides production-proven assets in $(cc-plugin-root doc-tools)/skills/pandoc-pdf-generation/assets/:
Details
- Repository
- github.com/terrylica/cc-skills
- Categories
- Office Files & Slides, Technical Documentation
- First seen
- Jun 3, 2026
More from terrylica/cc-skills
All 3Similar to Pandoc Pdf Generation
More Office Files & Slidespdf-generationglebis/claude-skills495 installsConverts markdown to styled PDFs with Pandoc and XeLaTeX, with mobile and desktop page layouts.
latex-documentndpvt-web/latex-document-skill317 installsUniversal LaTeX skill that creates, compiles, and converts documents to PDF with PNG previews.
huashu-md-to-pdfalchaincyf/huashu-skills1.1K installsConverts Markdown documents into Apple-style PDF whitepapers with auto-generated cover, table of contents, and headers.
md-slidesclaude-office-skills/skills5K installsMarkdown-to-slides skill using Marp to export presentations as PDF, PPTX, or HTML with themes.
md-to-officeclaude-office-skills/skills5.5K installsConvert Markdown into Word, PowerPoint, PDF, HTML, LaTeX, and EPUB using Pandoc with templates and metadata.