[plt-scheme] stupid SLaTeX question

From: Shriram Krishnamurthi (sk at cs.brown.edu)
Date: Wed Sep 29 21:35:51 EDT 2004

Doug Orleans wrote:

> It would be cool if it could figure out bound variables automatically,
> but I guess that's non-trivial.  Thought it should be possible, as
> long as it knows about the necessary syntax bindings.

I have long wished it would do that.  But I often find myself
typesetting code *fragments* (for instance, in PLAI, I split up an
interpreter and present groups of cases together).

In principle, it would be possible to tell the tool which environment
you're in (ie, SLaTeX would provide two new commands:




But I can imagine Dorai might flinch at having to implement such a

Furthermore, I have sometimes typeset code that doesn't even match the
syntax of Scheme, or even failed to have matching parentheses.


Posted on the users mailing list.