Re: Java pretty printing in/with DocBook

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
  • Re: Java pretty printing in/with DocBook, (continued)
    • Sean Mc Grath - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id GAA15693Mon, 23 Feb 1998 06:34:57 -0500 (EST)
      • Gavin Nicol - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id JAA17936Mon, 23 Feb 1998 09:34:06 -0500 (EST)
        • Christian Leutloff - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA20975Mon, 23 Feb 1998 12:15:24 -0500 (EST)
        • Gavin Nicol - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id MAA21327Mon, 23 Feb 1998 12:32:07 -0500 (EST)
    • David Megginson - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id GAA15694Mon, 23 Feb 1998 06:34:58 -0500 (EST) <=