| """Build the complete mathematical manuscript; requires Pandoc and XeLaTeX.""" |
| from pathlib import Path |
| import subprocess |
| ROOT=Path(__file__).resolve().parents[1] |
| cmd=["pandoc","MANUSCRIPT.md","--from=markdown+tex_math_dollars+raw_tex", |
| "--standalone","--toc","--toc-depth=2","--pdf-engine=xelatex", |
| "-V","documentclass=article","-V","fontsize=10pt","-V","geometry:margin=0.78in", |
| "-V","mainfont=Latin Modern Roman","-V","sansfont=Latin Modern Sans", |
| "-V","monofont=DejaVu Sans Mono","-V","colorlinks=true", |
| "-V","linkcolor=AureoleTeal","-V","urlcolor=AureoleTeal","-V","toccolor=AureoleInk", |
| "--include-in-header=pdf_style.tex","-o","AUREOLE_R_v3.0.0_Certified_Innovation_Rendering.pdf"] |
| subprocess.run(cmd,cwd=ROOT,check=True) |
|
|