Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!gatech!news.sprintlink.net!in2.uu.net!netnews.jhuapl.edu!aplcenmp!hall
From: hall@aplcenmp.apl.jhu.edu (Marty Hall)
Subject: Re: Pretty printing
Message-ID: <DFBnxK.EBC@aplcenmp.apl.jhu.edu>
Organization: JHU/APL AI Lab, Hopkins P/T CS Faculty
References: <43riv6$qu4@studium.student.umu.se>
Date: Fri, 22 Sep 1995 19:39:20 GMT
Lines: 22

In article <43riv6$qu4@studium.student.umu.se> phred@ling.umu.se writes:
>Where can I get a pretty printer that converts Lisp code into neat postscript
>files? I want output in mixed regular, bold, italic text with nice indentation.

This is not exactly what you asked for, but a good alternative IMHO is
to use emacs to reindent everything. Both GNU Emacs 19.2x and XEmacs
will do this, and both have modes that will automatically put
different parts of your text in fonts of your choice. I then use the
ps-print package (bundled at least with XEmacs, perhaps GNU Emacs
19.29 too) to print out the code maintaining some of this font info.

For code that is already indented properly, all you have to do is read
it in and print it out. Emacs hackers can use gnudoit to read it in,
print it out, and kill the buffer in one command from the shell. If it
is not indented the way you want, you'll have to change it but emacs
can do a very lot of it for you. Plus, then you'll have permanently
saved code that is more readable/maintainable.

Just a thought in case you don't find the prettyprinter.
Cheers-
					- Marty
(proclaim '(inline skates))
