Skip to content
release-artPublic

About

TeX packages as Python packages: one wheel carries a typed texmodel API and the TeX it compiles against, with versioned data, migrations, published constants and static linking between packages (pre-1.0)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

texpkg

TeX packages published as Python packages. A texpkg package is one wheel: a typed texmodel API and the TeX it compiles against, at one version. Installed, it is a Python module with a fixed API to load, render, save and check document directories, with versioned data and migrations; packages can build on each other, the base a dependency of the dependent's wheel.

An author declares a package (Distribution, Kind, Asset) and builds it with texpkg-build, a pdm build hook. The spec, the API reference and the decisions are in docs/texpkg-plan.md; what texpkg does not do is in docs/known-limitations.md.

pdm install
git config core.hooksPath .githooks   # pre-commit runs ruff, pyright and import-linter
bin/autoformat.sh
bin/test.sh                           # pytest, 100% coverage gate

About

TeX packages as Python packages: one wheel carries a typed texmodel API and the TeX it compiles against, with versioned data, migrations, published constants and static linking between packages (pre-1.0)

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages