I have got an idea. It would be nice, if Jeuclid would know to translate LaTeX into MathML internally. Then we could use LaTeX instead of pure MathML in the FO source file.
Jeuclid could detect if <math></math> contains "$" on the begin and on the end of the inner text. If so, it would call method latexToMathml or whatever and translate the inner text to MathML. Then the text would be replaced by proper MathML code and Jeuclid would continue as it works now.
There already exists such implementation:
Maybe you could just overtake it and implement it into the Jeuclid.
Example of the functionality in Jeuclid:
What do you think about that?