pdf-generation-verification

Generate PDFs from Markdown and verify formatting with a LaTeX script.

Updated Nov 4, 2025
One-click install
npx skills add https://github.com/tainora/netstrata --skill pdf-generation-verification
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-generation-verification
Source: https://github.com/tainora/netstrata/tree/main/.claude/skills/pdf-generation-verification
Command: npx skills add https://github.com/tainora/netstrata --skill pdf-generation-verification

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Generate professional PDF documents from Markdown and systematically verify formatting quality. This skill addresses the need to catch font warnings, table wrapping, bare URLs, and formatting issues before presenting to users.

Core Features & Use Cases

  • Generate high-quality PDFs from Markdown using pandoc with XeLaTeX, followed by a verification workflow to catch common issues.
  • Verify font usage, table structure, hyperlinks, and document structure to ensure professional, publish-ready results.
  • Use Case: Create a formal business report PDF from a Markdown draft and verify it passes all formatting checks before sharing with stakeholders.

Quick Start

Provide a Markdown file INPUT.md and run the canonical build to produce OUTPUT.pdf and verify formatting with the verification script.

Frequently Asked Questions about pdf-generation-verification

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

FAQPage Schema
How do I generate a PDF from Markdown and check for formatting issues?

To generate a PDF from Markdown and verify formatting, use pandoc with XeLaTeX and run a verification script. This workflow checks for bare URLs, table wrapping, bullet rendering, and font warnings to produce a publish-ready document.

Why does my Markdown to PDF conversion have bare URLs and broken table wrapping?

Markdown to PDF conversions often produce bare URLs and broken table wrapping because standard pandoc lacks enforcement rules. Applying a LaTeX preamble with ragged-right and an automated formatting verification script catches these specific issues before final output.

What is automated PDF formatting verification for Markdown documents?

Automated PDF formatting verification is a post-conversion validation process that checks generated documents for font warnings, table structure, hyperlink integrity, and ToC consistency. It ensures formal reports and proposals meet professional typography standards before sharing.

Do I need XeLaTeX and pandoc to build professional PDFs from Markdown?

Yes, you need pandoc and XeLaTeX to build professional PDFs from Markdown using this workflow. XeLaTeX handles the LaTeX preamble with ragged-right formatting, while pandoc manages the core Markdown conversion to produce high-quality typographic output.

What's the best way to ensure consistent typography when converting Markdown to PDF?

The best way to ensure consistent typography when converting Markdown to PDF is to enforce a LaTeX preamble with ragged-right alignment and run a verification script. This catches font warnings, ensures proper bullet rendering, and validates document structure integrity.

Can I verify table of contents integrity and bullet rendering when converting Markdown to PDF?

Yes, you can verify table of contents integrity and bullet rendering when converting Markdown to PDF. The verification workflow checks ToC consistency, validates proper bullet rendering, and ensures tables wrap correctly within the generated document structure.