I would like to be able to generate a (dynamic) report automatically using TeX. My proposed solution is simple: A user clicks a button and
- The apropriate TeX code is generated (on runtime) and saved on disk.
- The program calls pdflatex.exe to compile the .tex file to PDF.
My question is regarding step 2. Is it legal to call pdflatex.exe from within my code while preserving the copy right of my code?
In my current solution, I have stripped a portable MiKTeX distribution to ~ 30 MB, which I would like to distribute along with my own code (of course mentioning MiKTeX and linking to the source code). Would this be okay?
If it all ends ups being profitable, I will of course donate a substantial amount to MiKTeX (or should I donate elsewhere?), but I guess this doesn't really make any difference.
Willie - You certainly have a good point. However, the solution has to be a "one-click-installation" and just specifying that a TeX distrubution is needed is not an option - unfortunately. Distributing an original MikTeX distrubutin isn't either, as the space limit is ~50 mb.

