texput and extension of the tex function



Robert,

I've written a few lines of code to make it possible to call a Maxima
> function to accept those arguments and return the list of strings.
> The code is just kind of a sketch at this point.
>
> Here's an example. Let's say for foo(a, b) we want the output
> \frac{1 + a}{1 + b}. See the PS of this message for tex_function and tex1.
>
> footex (x, l, r) := append (l, ["\\frac{1 + "], tex1 (first (x)), ["}{1 +
> "],
>  tex1 (second (x)), ["}"], r);
> tex_function (foo, footex);
>
> tex (foo (g, h));
>  => $$\frac{1 + g}{1 + h}$$


 ...

>
> Does that seem useful?


Yes.  That was exactly the sort of thing I was looking for.  I started
looking into mactex.lisp this afternoon but you are too fast for me.

Thanks,
Zach