Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mathapedia boilerplates

Templates for LaTeX papers and interactive math publications, scaffolded with pgpm.

npm i -g pgpm
pgpm init workspace --repo Mathapedia/boilerplates
cd <your-paper> && make

Docker is the only thing you need installed to build.

Templates

path what you get
latex/workspace A paper: tex/ skeleton (sections, headers, figures, bib), Dockerized TeX Live, latexmk DVI→PS→PDF pipeline for PSTricks + TikZ, Mermaid→EPS, live SVG preview, chktex/latexindent, GitHub Actions PDF artifacts + tagged releases, VS Code / devcontainer config.

See latex/workspace/README.md for the workflow inside a generated paper, and docs/evaluation.md for why it is built the way it is (what was taken from the RLS / Hyperweb whitepapers, what LaTeX2JS can and cannot render, roadmap).

Non-interactive scaffolding (CI, agents)

pgpm init workspace --repo Mathapedia/boilerplates --no-tty \
  --name my-paper --title "My Paper" \
  --fullName "Ada Lovelace" --email ada@example.com \
  --repoName my-paper --username ada --license MIT

Question names are the ____placeholder____ names from latex/workspace/.boilerplate.json with the underscores stripped.

Authoring a template

Same layout as pgpm-boilerplates: .boilerplates.json at the root points at the template directory; each template has a .boilerplate.json with its type and questions; placeholders are ____name____ in file contents and paths. Keep templates text-only — the placeholder pass reads every file as a string, so binaries (PDF, PNG, EPS) belong in build/, generated from committed sources.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages