genpandoc CLI¶
Generate Pandoc-ready Markdown from DMAIC documents.
Installation¶
Usage¶
Options¶
| Flag | Description | Default |
|---|---|---|
-i, --input |
Input JSON file (required) | - |
-o, --output |
Output Markdown file (required) | - |
--initiatives |
Include initiatives section | true |
--root-causes |
Include root causes | true |
--control-limits |
Show control limits | true |
Examples¶
Basic Usage¶
Minimal Report¶
Generate PDF¶
Output Format¶
The generated Markdown includes YAML frontmatter:
---
title: "Document Title"
author: "Owner Name"
date: "Period"
geometry:
- margin=2cm
fontfamily: helvet
fontsize: 11pt
documentclass: article
header-includes:
- \renewcommand{\familydefault}{\sfdefault}
- \usepackage{booktabs}
- \usepackage{longtable}
toc: true
numbersections: true
---
Pandoc Conversion¶
PDF with LuaLaTeX¶
DOCX¶
HTML¶
Requirements¶
For PDF generation:
Install on macOS:
Install on Ubuntu: