[gnu.emacs] lisp pretty-printing

mujica@ra.cs.ucla.edu (S. Mujica) (05/25/89)

Has anybody written emacs lisp code to pretty-print lisp code using
either LaTeX or TeX?

This is something that will take as input a piece of lisp code (for
example, common lisp) and will produce as output the same code with
LaTeX or TeX commands interspersed to format it appropriately.
 

Sergio Mujica		mujica@cs.ucla.edu
Computer Science Department, UCLA

bob@allosaur.cis.ohio-state.edu (Bob Sutterfield) (05/26/89)

In article <MUJICA.89May25003458@ra.cs.ucla.edu> mujica@ra.cs.ucla.edu (S. Mujica) writes:
   Has anybody written emacs lisp code to pretty-print lisp code using
   either LaTeX or TeX?

   This is something that will take as input a piece of lisp code (for
   example, common lisp) and will produce as output the same code with
   LaTeX or TeX commands interspersed to format it appropriately.

tgrind would probably give you a good starting base, but apparently
LISP isn't known to it yet.  You could always write your own language
formatting definition library!

The credits from the manual page:
	AUTHOR
	     Van Jacobson, Lawrence Berkeley Laboratory (based on
	     "vgrind" by Dave Presotto & William Joy of UC Berkeley).