I'm doing servlet programming and i was wondering if pdfTeX or pdfLaTeX have some handle for input or output bytestreams under windows. This way I could stream a string right in and stream the output as a PDF response to the client...any ideas?
|
To some degree As output files (pdf)TeX writes a Thus the servlet could read the input stream, writes it in a file in a temporary
directory and call Then if the compile runs are finished, the output file can be streamed back and the temporary directory can be cleaned up. |
|||
|
|

.texfile, so one run might not be enough. Besides, sometimes we have documents that might take a considerable time to be generated, so we need to pay attention to the session timeout of the servlet container. Personally, I'd try to play with some webservice instead (input: file, output: file), but that's a matter of taste.:)– Paulo Cereda Aug 18 '12 at 1:00