Rochus
13 days ago
Cool. How do you have implemented the latex rendering? Are you using one of the common libraries? Is the rendering (incl. PDF etc.) directly running in the browser, or on the server?
LuckyBuddy
13 days ago
Thanks for your reply.
I'm using MathJax (mathjax-full) to render LaTeX. For browser preview, it converts LaTeX to SVG on the client side.
For PDF export, the rendered HTML (with SVG math) is sent to the server where Puppeteer generates the PDF.
Rochus
13 days ago
Interesting, thanks. So you need a Node based server to run it.
LuckyBuddy
12 days ago
The main technology stack is Next.js.