[texhax] Send requests to texlive

Andy Farnell padawan12 at obiwannabe.co.uk
Thu Nov 25 13:53:31 CET 2010

Step three, the calling of the tex processor, must be
done through a system call (since AFAIK there
are no other language bindings and tex is still
essentially stand-alone)

In a language like Perl you can use the system()
or backtick method, or in python use os.system()

These construct and pass a command-line request
exactly like you might at the console, but with
the uploaded .tex files substituted in place.

The danger here, is that someone who knew the 
processing method could type a malicious command
unless some careful work is done to protect the

In addition to rigorously filtering the input
you could use a password to restrict the system 
to trusted users, and 'hide' the processing URL
by not making a link public. 

On Thu, 25 Nov 2010 12:59:15 +0100
Diana Castillo <dianahelene at gmail.com> wrote:

> Hi can someone explain If i can install texlive on a server and then send files to It to be compiled from a web page and how that would be done?
> Thank you, diana
> Enviado desde mi iPhone
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org

Andy Farnell <padawan12 at obiwannabe.co.uk>

More information about the texhax mailing list