On 20.8.2011 18:12, Mauritz Jeanson wrote: > DocBook-XSL comes with support for syntax highlighting using the XSLTHL > package. I recently discovered an interesting alternative that uses the > Pygments syntax highlighter. > > I haven't had time to look very closely at this, but the full story is here: > > http://www.lunaryorn.de/articles/docbook_pygments.html
It would be interisting to take this further and try to call it using Jython directly from Saxon ;-) Also, for HTML syntax highlighting can be done on client using Javascript library like Jush (http://jush.sourceforge.net/). Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: [email protected] http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
