4 ms·
I'm looking for something that you can embedd in your own application. LaTeX would be great but it's not really nice to have WEB code in your C application. It'
by iveqy 1y ago
I'm looking for something that you can embedd in your own application. LaTeX would be great but it's not really nice to have WEB code in your C application. It's also has a bit troublesome license.
- so-rose 1y ago`typst` might meet your needs. No, really. It embeds almost anywhere, including via client-side WASM, and someone even made a nice TypeScript lib [0]. If you dislike `typst`, it even has a package that transpiles LaTeX strings into native typst, which somehow doesn't seem to make `typst` any less fast [1]. WASM plugin magic will do that! The curious consequence is that the fastest and most portable way to render lightwight LaTeX code might actually be... To transpile LaTeX to embedded `typst`? Sure, sure, not all of LaTeX will map. But from an 80/20 mindset it might just be enough. - [0] https://github.com/Myriad-Dreamin/typst.ts https://github.com/Myriad-Dreamin/typst.ts - [1] https://typst.app/universe/package/mitex/ https://typst.app/universe/package/mitex/