> > OK, I had the time, to test the DSSSL fragment sent to the list > > by Jirka Kosek. It seems it works. I'll commit it. It adds > > the role="" attributes content as a class="" parameter in HTML, > > so it looks like: > > > > <pre class="php"> and not <pre class="programlisting"> for > > > > PHP files :) > > Cool! > > > Nice for you as you can now highliht all PHP examples. This > > also added a new list for the new versions of the CHM manual. > > IMHO it is a very nice idea, to have all the examples colored > > (even it adds some more bytes to the files). > > I'll write the parser then and send it here when done. Oh, if works I > won't have any excuse to definetly switch to DocBook :-)
I already written this for the CHM generation scripts. It is fat not in a stage as it is ready for a commit, so it is only on my computer. But I can send you the whole code, so maybe you can benefit from it in documenting PEAR... Goba