|
Subject: Re: Java pretty printing in/with DocBook From: David Megginson <ak117@xxxxxxxxxxxxxxxxxxx> Date: Mon, 23 Feb 98 06:33:44 EST |
W. Eliot Kimber writes:
> It would certainly be possible to write DSSSL functions that parse
> the Java source and do the formatting. My first approach would be
> to see if there's an emacs mode for Java (there must be) and see if
> I could use that as the base (as emacs is a lisp application). Or
> maybe there's already lisp or scheme code for doing Java parsing
> out there?
There is a slightly different, quick-and-dirty solution: you load each
file into Emacs, then use `ps-print-buffer-with-faces' to save the
highlighted document into a Postscript file. Emacs can run in batch
mode, so the whole process could be automated.
All the best,
David
--
David Megginson ak117@xxxxxxxxxxxxxxxxxxx
Microstar Software Ltd. dmeggins@xxxxxxxxxxxxx
http://home.sprynet.com/sprynet/dmeggins/
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Java pretty printing in/with Do, Gavin Nicol | Thread | passing arguments: (element a) -> (, Markus Reinsch |
| Re: Java pretty printing in/with Do, Sean Mc Grath | Date | passing arguments: (element a) -> (, Markus Reinsch |
| Month |