Shared Typst style-anchor templates for MyThingsLab's document/presentation tools (MyTypster, MyPresentation).
Not a My[X] tool itself — no code, no Engine call, no CI. Just the anchor
files each tool reads before drafting, plus the compile-gate the real typst
CLI runs against whatever a tool writes on top of one.
templates/<kind>.typ — one anchor per document kind:
default.typ— fallback when no kind can be inferredreport.typ,note.typ— non-personal document kindsletter.typ,resume.typ— personal kinds; MyTypster routes any draft of these to the privateMyThingsLab/typst-personal-docsrepo, never herepresentation.typ— slide deck anchor for MyPresentation
- Self-contained. No
#import "@preview/..."package dependencies — compilation must succeed with no network access, since CI and sandboxed agents may run with no egress. Layout is done with core Typst only (set/showrules,align,line, a hand-rolledslidefunction for decks). - One header/body split per file, marked by a literal
// === body ===comment line. Everything above the marker (document/page/text settings, any#imports) is the style anchor a tool must preserve; everything below is placeholder content a tool replaces. This is the fence a consuming tool's writer enforces: an Engine reply may only use imports already present above the marker, and aNoopEnginedegrade keeps everything above the marker unchanged. - Any new
<kind>.typadded here musttypst compilecleanly on its own before merging — that's the whole test for this repo.
MIT — see LICENSE.