Where did you get a large dataset of handwritten maths? I have been looking for such a thing, and I have a lot of my own, but that's just one person's handwriting.

I have had a lot of success recently using the open-weight Qwen2.5-VL-7B through Ollama to convert hundreds of handwritten slides to Latex. Plenty of manual work still needed though.