glebis avatar

Pdf Generation

Converts markdown to professional PDFs using Pandoc with the Eisvogel template and EB Garamond fonts for Russian text. Ships with preset color themes for white papers, marketing docs, research, and technical documentation. The mobile layout option (6x9 inches) is smart, defaulting for Telegram bot contexts where people actually read on phones, while A4 stays available for print. Includes a preprocessing script that fixes Claude's tendency to write lists after colons without proper spacing, which would otherwise break PDF rendering. Honestly solves a real friction point if you're generating documentation or reports from markdown regularly.

skills.sh installs
489
GitHub stars
412
last updated
Aug 21, 2026

Install

$ npx -y skills add glebis/claude-skills --skill pdf-generation --agent claude-code

Installs into .claude/skills of the current project.

Files

PDF Generation

Overview

Generate professional PDFs from markdown files using Pandoc with Eisvogel template styling. Supports English and Russian documents with customizable themes, table of contents, and professional typography including EB Garamond font for Russian text.

Quick Start

Basic commands:

# Desktop/Print PDF (A4 format)
pandoc doc.md -o doc.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:margin=2.5cm -V fontsize=11pt -V documentclass=article

# Mobile-friendly PDF (6x9 phone screen optimized)
pandoc doc.md -o doc-mobile.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:paperwidth=6in -V geometry:paperheight=9in -V geometry:margin=0.5in -V fontsize=10pt -V linestretch=1.2

# Russian PDF with EB Garamond
pandoc doc-ru.md -o doc.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:margin=2.5cm -V fontsize=11pt -V documentclass=article -V mainfont="EB Garamond"

# Russian Mobile PDF
pandoc doc-ru.md -o doc-mobile.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:paperwidth=6in -V geometry:paperheight=9in -V geometry:margin=0.5in -V fontsize=10pt -V linestretch=1.2 -V mainfont="EB Garamond"

Document Theme Colors

Sponsors

Details

Repository
github.com/glebis/claude-skills
Categories
Frontend Development, Documentation, Data Science & ML, Marketing & SEO, Mobile Development, Design & UI/UX, Office & Documents
First seen
Jun 3, 2026

More from glebis/claude-skills

All 22
1irangareddy avataropenclaw-cliirangareddy/openclaw-essentialsMaster the OpenClaw CLI - gateway, agents, channels, skills, hooks, and automation485skills.sh installs
2webmaxru avatarenonic-content-type-generatorwebmaxru/enonic-agent-skillsGenerates Enonic XP content type XML schema definitions from natural-language descriptions. Covers structured content modeling including input types, form layou485skills.sh installs
3alirezarezvani avatarship-gatealirezarezvani/claude-skillsPre-production audit that scans a codebase for security, database, deployment, code quality, AI/LLM, dependency, frontend, and observability issues. Intercepts 483skills.sh installs
4pspdfkit-labs avatarnutrient-document-processingpspdfkit-labs/nutrient-agent-skillProcess documents with Nutrient DWS. Use when the user wants to generate PDFs from HTML or URLs, convert Office/images/PDFs, assemble or split packets, OCR scan483skills.sh installs
5subframeapp avatarsetupsubframeapp/subframeInitialize Subframe in a new or existing project. Sets up the CLI, syncs components, configures Tailwind and fonts.482skills.sh installs
6motion-team avatarhook-voice-patternsmotion-team/creative-strategy-skillsA living swipe file of scroll-stopping hook templates collected from the wild — real sentence structures and native voice patterns that have proven they stop th480skills.sh installs