>>>>> "aleksi" == aleksi niemela <Aleksi> writes:
>> Out of curiosity, does anyone know how easy or difficult it
>> would be to process Ruby code samples into some form that
>> would make it possible to produce documentation web pages
>> showing Ruby code samples in one of several predefined syntax
>> coloring/font schemes that would be available for users
>> to select from?
aleksi> I just happened to notice this at RAA:
aleksi> http://www.ruby-lang.org/en/raa-list.rhtml?name=source2html
aleksi> Maybe it could be used as a starting point for full-blown
aleksi> suite of tools for different uses (HTML, XML, LaTeX comes
aleksi> into mind first).
Source2html only does HTML write now, and only uses bold/italics for
highlighting. Color support could be added in an hour or two.
XML/LaTeX is an interesting, but would require more study.
--
-- Jim Weirich jweirich / one.net http://w3.one.net/~jweirich
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)