[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: AW: [docbook-apps] Syntax Highlighting in synopsis elements
Oops, I thought "synopsis" included all types of synopsis elements. Thank you for your answer! Mathias -----Ursprüngliche Nachricht----- Von: Jirka Kosek [mailto:jirka@kosek.cz] Gesendet: Dienstag, 25. November 2008 15:25 An: Mathias Schindler Cc: docbook-apps@lists.oasis-open.org Betreff: Re: [docbook-apps] Syntax Highlighting in synopsis elements Mathias Schindler wrote: > In Bob Stayton's "DocBook XSL: The Complete Guide" it says that > "Highlighting works with programlisting, screen, and synopsis elements > that have a language attribute.". But in your source there is no synopsis element, only classsynopsis etc. Generally syntax highlighting is working in "verbatim" elements. I suppose that in classsynopsis you can quite easily add highlighting by overriding templates for nested elements like ooclass, modifier, ... In theory syntax highlighting could be combined with the current classsynopsis code, but I'm not sure how well will highlighting fit into templates for nested elements. You can file new RFE at SourceForge site, so once developers have free time (;-)) they might try to implement this feature. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz 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 ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]