APA 7th Edition Compliant Build System

Modern Pandoc/XeLaTeX build system for the AI Readiness Scale dissertation
| Feature |
Description |
| 📑 APA 7 Formatting |
Running headers, figure/table captions, double spacing, 1" margins |
| 📖 Smart Pagination |
Section breaks, widow/orphan control, list grouping |
| 📊 Mermaid Diagrams |
Auto-extraction and rendering from markdown code blocks |
| 📝 Modular Front Matter |
Separate files for title, approval, abstract, etc. |
| 🔢 Page Numbering |
Roman numerals (front matter) → Arabic (chapters) |
| 👁️ Watch Mode |
Auto-rebuild on file changes |
thesis-v2/
├── manuscript/
│ ├── front-matter/ # 00_title.md through 06_toc_setup.md
│ ├── chapters/ # 01-06 chapter files
│ └── back-matter/ # references.md, appendices.md
├── figures/ # PNG figures from analysis scripts
├── references/
│ ├── bibliography.bib # 93 BibTeX references
│ └── apa-7th-edition.csl # Citation style
├── output/ # Generated PDF + rendered diagrams
├── meta.yaml # Thesis metadata
└── build.ps1 # PowerShell build script
| Tool |
Version |
Install |
| Pandoc |
2.19+ |
pandoc.org |
| XeLaTeX |
Latest |
MiKTeX or TeX Live |
| Mermaid CLI |
Latest |
npm install -g @mermaid-js/mermaid-cli |
.\build.ps1 # Build thesis PDF
.\build.ps1 -Open # Build and open PDF
.\build.ps1 -Target draft # Draft with watermark
.\build.ps1 -Target watch # Auto-rebuild on changes
.\build.ps1 -Target validate # Check sources
.\build.ps1 -Target clean # Remove output
| Element |
Implementation |
| Running header |
Short title (left), page number (right) |
| Figure captions |
Figure X. Title in italics (below) |
| Table captions |
Table X. Title in italics (above) |
| Font |
Times New Roman, 12pt |
| Spacing |
Double (single in abstract and tables) |
| Margins |
1 inch all sides |
| Page numbers |
Roman (i hidden, ii-vi shown, vii+ TOC), Arabic (1+ body) |
| File |
Description |
output/CORREA_AIRS_Dissertation FINAL.pdf |
Defended dissertation, 186 pages, 2.85 MB |
output/CORREA_AIRS_Dissertation.docx |
Word version (2.08 MB) |
output/mermaid/*.png |
Rendered diagrams |
v3.0 · Defended April 2026 · DBA conferred by Touro University Worldwide