2 pointsby LuckyBuddy12 hours ago1 comment
  • Rochus4 hours 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?
    • LuckyBuddy2 hours 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.

      • Rochusan hour ago
        Interesting, thanks. So you need a Node based server to run it.