book-publishing

Convert Markdown documents into print and digital PDFs using Pandoc and LuaLaTeX.

1|1|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/fabioc-aloha/AIRS_Data_Analysis --skill book-publishing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: book-publishing
Source: https://github.com/fabioc-aloha/AIRS_Data_Analysis/tree/main/.github/skills/book-publishing
Command: npx skills add https://github.com/fabioc-aloha/AIRS_Data_Analysis --skill book-publishing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of converting Markdown documents into professional, print-ready PDF books, handling intricate details like emoji rendering and dual output formats.

Core Features & Use Cases

  • End-to-End Pipeline: Manages the entire conversion from Markdown to LuaLaTeX-rendered PDFs.
  • Dual Output: Generates both print-optimized (twoside, crop marks) and digital-optimized (oneside, hyperlinks) PDFs.
  • Emoji Rendering: Ensures cross-platform emoji compatibility through Twemoji and a robust Lua filter.
  • Print-Ready Formatting: Includes features like twoside layout, openright chapter starts, and proper page numbering.
  • Use Case: Convert your thesis or manuscript written in Markdown into a beautifully formatted book ready for printing or digital distribution.

Quick Start

Use the book-publishing skill to convert the markdown files in the chapters directory into a print-ready PDF.

Frequently Asked Questions about book-publishing

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

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

Markdown to print-ready PDF conversion is automated through Pandoc and LuaLaTeX, generating dual outputs with print-optimized configurations like twoside layout and crop marks, plus digital features like hyperlinks and bookmarks.

Does LuaLaTeX support cross-platform emoji rendering when converting Markdown?

Cross-platform emoji rendering in LuaLaTeX is supported through Twemoji integration and a robust Lua filter, which requires explicit emoji mapping to ensure visual consistency across different operating systems during the PDF generation process.

What is the difference between print-optimized and digital-optimized PDF output?

Print-optimized PDF output uses a twoside layout with crop marks and openright chapter starts, whereas digital-optimized PDF output uses a oneside layout with interactive features like hyperlinks and bookmarks for screen reading.

Can I generate both print and digital PDF formats from a single Markdown document?

Generating both print and digital PDF formats from a single Markdown document is possible through a dual-output automation pipeline that configures distinct Pandoc and LuaLaTeX settings for each target medium simultaneously.

Why do I need Lua filters for Markdown to PDF typesetting?

Lua filters are needed for Markdown to PDF typesetting to exercise precise control over output quality, specifically enabling accurate cross-platform emoji rendering via Twemoji and ensuring consistent document formatting.