Skip to content

NeoPrimate/IEOR

Repository files navigation

Industrial Engineering & Operations Research

A working book covering math, statistics, time series, operations research, supply chain, and ML — built from one set of .typ sources into both a PDF and a multi-page HTML book.

Run locally — PDF

Live preview while editing: open any .typ file in Zed. Tinymist auto-recompiles main.typ and follows your cursor (configured in .zed/settings.json).

One-shot build:

just build-pdf       # → build/main.pdf
just preview file=src/linear_algebra/vectors.typ   # → build/dev/preview.pdf  (single leaf)

Run locally — HTML book

just build-html      # → build/html/  (also rebuilds build/main.pdf)
just serve           # → http://localhost:8000

Requires Typst HEAD (for bundle export) and Pagefind (for search). One-time setup on macOS arm64:

cargo install --git https://github.com/typst/typst --locked typst-cli
curl -sL https://github.com/Pagefind/pagefind/releases/download/v1.5.2/pagefind-v1.5.2-aarch64-apple-darwin.tar.gz \
  | tar -xz -C ~/.local/bin/

Push to GitHub

git push

GitHub Actions rebuilds both artifacts on every push to main:

Repository layout

book.toml          # book structure (single source of truth, drives PDF + HTML)
main.typ           # PDF entry
book.typ           # HTML book entry (bundle)
src/               # content (mirrors book.toml's section tree)
lib/               # typst plumbing (imports, formatting, utils)
web/               # HTML build (setup.typ, style.css)
code/              # Python — example code referenced by the book
build/             # outputs — only main.pdf is tracked, rest is regenerated
.github/workflows/ # CI: builds + deploys book and PDF

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors