OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
------------------------------------------------------------------

OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]