Java pretty printing in/with DocBook

Subject: Java pretty printing in/with DocBook
From: Christian Leutloff <leutloff@xxxxxxxxxxxxxxxxx>
Date: 22 Feb 1998 10:53:52 +0100
Mbox-line: From leutloff@sundancer.oche.de Sun Feb 22 10:53:52 1998
Hello,

I need to include many thousand lines of Java code in a DocBook
document. At the moment I use:

...
<!ENTITY ProjectData        SYSTEM "ProjectData.java">
...
<programlisting>
&ProjectData;
</programlisting>


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.

Has anyone do such a thing in the past!?

Thanks
     Christian

-- 
Christian Leutloff, Aachen, Germany         leutloff@xxxxxxxxxxxxxxxxx  
      http://www.oche.de/~leutloff/         leutloff@xxxxxxxxxx      

            Debian GNU/Linux - http://www.de.debian.org/

Attachment: pgp00004.pgp
Description: PGP signature

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)