2 pointsby LuckyBuddy13 days ago1 comment
  • Rochus12 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?
    • LuckyBuddy12 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.

      • Rochus12 days ago
        Interesting, thanks. So you need a Node based server to run it.
        • LuckyBuddy12 days ago
          The main technology stack is Next.js.