commit dc18542015fc2054cdd5e03338e161a76cbf70de Author: Bradley Gannon <bradley@bradleygannon.com> Date: Mon, 16 Mar 2026 22:29:09 -0400 Establish minimal repository Diffstat:
| A | .gitignore | | | 3 | +++ |
| A | Makefile | | | 11 | +++++++++++ |
| A | main.typ | | | 1 | + |
3 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -0,0 +1,3 @@ +*.epub +*.html +*.pdf diff --git a/Makefile b/Makefile @@ -0,0 +1,11 @@ +all: griffiths-3e.epub griffiths-3e.pdf + +griffiths-3e.epub: main.typ + typst compile --format html --features html main.typ main.html + pandoc main.html -o griffiths-3e.epub + +griffiths-3e.pdf: main.typ + typst compile --format pdf --features html main.typ griffiths-3e.pdf + +clean: + rm *.epub *.html *.pdf diff --git a/main.typ b/main.typ @@ -0,0 +1 @@ +