4

I may be starting a project that will require me to write lots of katex.

I'd prefer to write my code in latex, so I could take advantage of thinks like tikz imagez and do calculations with sagetex. I'm curious if there any tools available to help translate latex code into katex.

  • Do you mean that you want to convert your latex code to html, but keep math as raw latex, to be rendered by katex? – michal.h21 Mar 23 '20 at 07:14
  • 1
    You can just compile your document to dvi and then use dvisvgm to produce svg which you can natively embed on the web. – Henri Menke Mar 23 '20 at 09:44

1 Answers1

4

Just made one here: https://latex-katex-converter.vercel.app/

Source code is here if anyone is interested: https://github.com/Zeyu-Li/latex-katex-converter

Andrew
  • 141