I am trying to implement tex2im , which converts the equation written in latex format to image.
Like \frac{1}{2} will output 1/2 in fraction.
I downloaded the text2im file and observed the code, and to my amazement there is nothing in that file.
I mean there must be some code that takes the string like \frac{1}{2} and then checks the code \frac, takes its parameters 1 and 2 and puts it inside the image.
Similarly when the integration is done, the intrgration sign must come.
But this is the code that is there in text2im file. So where is the logic that analyzes the input text and creates images according to it?
I have removed the code because that costed me -2 votes! Please remove the down votes now, I am still learning stackoverflow question rules.