Book Publishing Skill

Convert Markdown to print and digital PDF books using Pandoc and LaTeX.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/fabioc-aloha/AlexCook --skill book-publishing-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Book Publishing Skill
Source: https://github.com/fabioc-aloha/AlexCook/tree/main/.github/skills/book-publishing
Command: npx skills add https://github.com/fabioc-aloha/AlexCook --skill book-publishing-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sharp, pandoc, lualatex, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the complex process of transforming Markdown content into professional, print-ready and digital PDF books, handling everything from asset processing to final output.

Core Features & Use Cases

  • Automated PDF Generation: Converts Markdown to high-quality PDFs using Pandoc and LaTeX.
  • Asset Processing: Integrates SVG-to-PNG conversion for banners and handles emoji rendering via Twemoji.
  • Dual Output: Generates both print-optimized (twoside) and digital-optimized (oneside) PDF versions.
  • Use Case: A technical writer can use this Skill to publish their documentation as a beautifully formatted book, ensuring consistent branding and high-quality visuals across print and digital formats.

Quick Start

Use the book publishing skill to generate a print-ready PDF from the markdown files in the 'book' directory.

Frequently Asked Questions about Book Publishing Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to a print-ready PDF book automatically?

To convert Markdown to a print-ready PDF book, this Skill automates the pipeline using Pandoc and LuaLaTeX, handling asset processing and generating print-optimized twoside layouts directly from your Markdown files.

What is the best way to render color emoji in a LaTeX PDF document?

Rendering color emoji in a LaTeX PDF document is handled automatically via Twemoji integration, converting standard emoji characters into high-quality embedded images during the Pandoc conversion process.

Do I need Node.js and LuaLaTeX to use Pandoc for digital PDF generation?

Yes, you need Node.js, Pandoc, and LuaLaTeX installed in your environment to execute this digital PDF generation pipeline, as the Skill relies on these dependencies for Markdown conversion and asset processing.

Can I generate both print and digital PDF versions from the same Markdown file?

Yes, you can generate both print and digital PDF versions from the same Markdown source, as the pipeline outputs print-optimized twoside and digital-optimized oneside PDFs with configurable layouts.

How does SVG-to-PNG asset processing work when publishing a PDF book?

SVG-to-PNG asset processing works by automatically converting vector SVG banners into raster PNG images during the publishing pipeline, ensuring compatibility and high-quality visual rendering within the final PDF output.