Hi!

I like syntax highlighting. Thus I wrote a script to syntax highlight
PHP examples in HTML version of manual. I don't know how strong is
DSSSL, but it was much easier for me to write a PHP script with
intention to run after processing DSSSL templates.

Does anything prevent syntax highlighting in downloadable and web
version of HTML manual?

This is a good idea, and since the PEAR (and PHP-GTK?) manuals already include that we should catch up :) BTW the online version should have the examples highlighted on the fly, so the files will not get that HUGE. So the DSSSL sheets should be modified to use the highlight_php() function (since the website already has that included). This does not make the PHP files significantly larger, so the rsync server will not be angry to us :) Imagine if you apply syntax highlighting to all the manual pages for all the languages, how much the size of the manual will increase...


It would be nice first to make the online version work this way, and then think about adding this to the offline version. You can find the DSSSL code to make this work in peardoc / php-gtk-doc CVS. Please try to integrate that to our DSSSL sheets. It would be a perfect christmas gift :))

Regards,
Goba

Reply via email to