GeneralGenerating LaTeX in Program

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
eross93
Posts: 1
Joined: Tue Feb 14, 2012 2:29 am

Generating LaTeX in Program

Post by eross93 »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

Generating LaTeX in Program

Post by shadgrind »

If you're using Java then you could use JLaTeXMath.
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2
Post Reply