[plt-scheme] PLT Source Browser

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Mon Feb 6 18:36:58 EST 2006

Jens Axel Søgaard wrote:
> Prabhakar Ragde wrote:
> 
>> Can someone give me a simple recipe for getting colourized HTML 
>> representations of Scheme code? I use slatex on a regular basis, and I 
>> know that there's plenty of similarly nice-looking Scheme on Web 
>> pages, but I don't know how to generate it in that format. Thanks. --PR
> 
> 
> I have attached the scm2expr.scm written by Anton and Sitarams.
> Should I turn it into a PLaneT package?

I forgot the relevant part of the style sheet, otherwise
the page will be black and white.

/* From the Scheme Cookbook */
.scheme           { color: brown; margin:4pt; }  /* color for background 
punctuation */
.scheme .keyword  { color: rgb(68,0,203); font-weight: bold; }
.scheme .builtin  { color: navy;   }
.scheme .variable { color: black;  }
.scheme .global   { color: purple; }
.scheme .selfeval { color: green;  }
.scheme .comment  { color: teal;   }


-- 
Jens Axel Søgaard




Posted on the users mailing list.