NanoMichael / MicroTeX

A dynamic, cross-platform, and embeddable LaTeX rendering library
MIT License
435 stars 74 forks source link

Add build.zig #178

Closed fjebaker closed 3 months ago

fjebaker commented 3 months ago

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:

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!

NanoMichael commented 3 months ago

Great job!