[texhax] Callable TeX?

Uwe Lueck uwe.lueck at web.de
Wed Oct 27 20:28:53 CEST 2010

"Peter Davis" <pfd at pfdstudio.com>, 27.10.2010 18:28:59:
> On Wed, Oct 27, 2010 at 6:18 PM, Michael Doob <[mdoob at ccu.umanitoba.ca]> wrote:
>> On Wednesday 27 October 2010 11:11 am, Peter Davis wrote:
>>> I'm investigating using TeX as a composition engine for an existing
>>> publishing workflow.  The goal would be to make TeX callable, so I would
>>> pass in some text and some parameters, and get back dvi.
>>> I know Jonathan Fine did some work a while ago on a TeX daemon.  Has anyone
>>> heard anything further about this?  Any other efforts to make TeX a callable
>>> library or something?
>> Is this the sort of thing you had in mind?
>> echo '\documentclass{article}\\begin{document}Hello, World!\\end{document}' | latex
> I was thinking more of a real C/C++ call interface, where I could call a function to compose some text, maybe after creating an instance of a TeX engine, setting it's parameters, etc.

... reminds me of 
    texd runs TeX as a daemon, and provides a callable function interface.
    This allows TeX to be used as the typesetting engine for interactive applications.



-- learnt from 




More information about the texhax mailing list