Problem with math representation in HTML and Latex.
Hello everyone! I'm trying to get HTML and Latex versions of documentation in rst, buth I've faced some problems with math representation. At first, inline math just appears as it is, and after the "make latex" in resulting latex file there are no "$" delimiters for inline formulas. Secondly, there is a problem with miltiline formulas, you can see the result on the picture attached.
Source code, conf.py file, resulting latex file are also attached.
Any help would be great!