# [texhax] Callable TeX?

Peter Davis pfd at pfdstudio.com
Wed Oct 27 18:28:59 CEST 2010

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
>
>
Thanks, Michael,

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.

Thanks,
-pd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101027/4ffe11c7/attachment.html>