MicroTeX is amazing and I want to use it in my Zig projects.
The best way for a Zig programmer to be able to do that is if MicroTeX has a build.zig file in the source tree that can build the C wrapper. This lets downstream Zig users use the package manager to easily integrate MicroTeX into their projects.
Other benefits include:
Another trivial way to build (zig build to build).
Cross compilation for free (e.g. zig build -Dtarget=arm-linux-muslabi).
If this is deemed irrelevant, then please just close the PR. For my own projects I can depend on my fork, but I thought I would contribute back as other Zig users might also want to use MicroTeX.
MicroTeX is amazing and I want to use it in my Zig projects.
The best way for a Zig programmer to be able to do that is if MicroTeX has a
build.zig
file in the source tree that can build the C wrapper. This lets downstream Zig users use the package manager to easily integrate MicroTeX into their projects.Other benefits include:
zig build
to build).zig build -Dtarget=arm-linux-muslabi
).If this is deemed irrelevant, then please just close the PR. For my own projects I can depend on my fork, but I thought I would contribute back as other Zig users might also want to use MicroTeX.
Thanks!