Hi,
I am experienced with TeX (have been using for years), but not with how the "back-end" of the compiling process works. Because of this, I'm not quite sure where to start searching for answers to this question.
Basically, say that I have written a computer program (suppose it is coded in C/C++, if that would make any difference) that produces TeX code to be compiled (what I would typically write in the TeXShop editor and then click 'Typeset'). I want to take that TeX code and produce the output (either an image file or a pdf file or both preferably) via my own code or something that I can integrate it nicely with (so that the final step of the code would be to take the TeX code and produce an image output). That is, I don't want to have to put the TeX code in an external source (TeXShop or MikTex or whatever) to compile it.
Does anyone know how I would go about doing this?
I hope this makes sense. I appreciate your time, and please let me know if I can clarify anything.
General ⇒ Generating LaTeX in Program
NEW: TikZ book now 40% off at Amazon.com for a short time.

Generating LaTeX in Program
If you're using Java then you could use JLaTeXMath.