Well, it would be nice. I have already done this for the special CHM version, and it was discussed that some enhancemenets from there will be added to the online manual.While trying to learn DocBook and the other pets that we use to generate the manual, I stumbled across the colorize.php-script that can be found in cvs/peardoc.Why don't we use that script in our manual (well, atleast when building phpweb). It only matches <PRE CLASS="php">, which will be generated when doing <programlisting role="php">, so it won't break other program listings, like ini files and similar. There isn't too hard to generate a similar script to syntax highlight ini, sh and apache configuration files (which I could do if you'd like me too). Just some thoughts. Comments?
However this coloring can be done on-the-fly with highlight_string()...
Well, I have no time for this now, so you're welcome ;))
Goba
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php