Mail Archives: djgpp/1997/04/10/03:31:55
Gurunandan R. Bhat wrote:
>i could suggest a way via tex. you could download a program: lgrind.exe
>from any of the tex archives, that converts your c/c++/fortran/lisp/...
>code to a prettily formatted tex file *with syntax highlighting* and then
>use dvips to get a ps file.
There's another similar method. Load it into elvis (the 'vi' clone)
with syntax highlighting and then print it (the :lpr command with the
appropriate printer type set). I suspect that emacs would do it
but I don't know emacs very well.
(Sorry, I'm one of the few people who likes vi, and I run emacs in
vi emulation mode. To me elvis is vi plus a load of good stuff and is
therefore a Good Thing, emacs is Lisp and the work of Malign Forces...)
Chris
- Raw text -