Converts Markdown → LaTeX → PDF. Handles Mermaid diagrams, math, tables, citations, figures.
Converts Markdown → LaTeX → PDF. Handles Mermaid diagrams, math, tables, citations, figures.
.md file with YAML front-matterscripts/build.py with the chosen templatepython3 ~/openclaw/skills/latex-doc/scripts/build.py input.md \
--template whitepaper \
--output output.pdf
| Name | Style | Best for |
|---|---|---|
master-thesis | Times New Roman, formal, full front matter | Academic papers, theses |
whitepaper | Georgia, navy cover banner, coloured headings |
| Industry reports, proposals |
minimal | Latin Modern, clean centred title | Notes, memos, quick docs |
See references/templates.md for full front-matter keys and examples for each template.
--template master-thesis | whitepaper | minimal (default: whitepaper)
--output path/to/output.pdf
--bib path/to/references.bib
--logo path/to/logo.png or .pdf
--toc add table of contents
--keep-tex also save the intermediate .tex file
Always include at the top of the .md file:
---