Re: Java pretty printing in/with DocBook

Subject: Re: Java pretty printing in/with DocBook
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Sun, 22 Feb 1998 09:24:40 -0600
At 10:53 AM 2/22/98 +0100, Christian Leutloff wrote:
>I works. But I like to format the listing to ease the reading. The
>output of a2ps is a IMHO good example: Keywords are bold, Strings are
>in a proportional font, comments are italic. It's impossible for me to
>format the document by hand.

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?

Cheers,

E.


--
<Address HyTime=bibloc>
W. Eliot Kimber, Senior Consulting SGML Engineer
Highland Consulting, a division of ISOGEN International Corp.
2200 N. Lamar St., Suite 230, Dallas, TX 95202.  214.953.0004
www.isogen.com
</Address>


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Java pretty printing in/with DocBook
    • Christian Leutloff - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id GAA20194Sun, 22 Feb 1998 06:29:48 -0500 (EST)
      • Liam Quin - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id BAA07986Mon, 23 Feb 1998 01:28:32 -0500 (EST)
      • <Possible follow-ups>
      • W. Eliot Kimber - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA22240Sun, 22 Feb 1998 10:28:59 -0500 (EST) <=
        • Paul Prescod - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id QAA25020Sun, 22 Feb 1998 16:01:45 -0500 (EST)
          • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id QAA25601Sun, 22 Feb 1998 16:34:24 -0500 (EST)
        • Lassi A. Tuura - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id DAA13860Mon, 23 Feb 1998 03:41:50 -0500 (EST)
      • W. Eliot Kimber - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id QAA25353Sun, 22 Feb 1998 16:26:17 -0500 (EST)