[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Different Colors for Different Programming Languages (Syntax Highlighting)?
Hi, On Thu, 21 Mar 2013 10:25:46 +0100 Jirka Kosek <jirka@kosek.cz> wrote: > [...] > I'm not sure whether this is the easiest solution but you can override > template apply-highlighting from highlighting/common.xsl in a way that > for each language special mode will be invoked instead of just > mode="xslthl", e.g. > [...] > Then you need to copy all templates with mode="xslthl" and change mode > to xslthl-java and xslthl-cpp and make appropriate changes. Ahh, right. Thanks for the hint! > For future we might pass optional parameter called language to all > templates in xslthl mode in order to for language in template for each > kind of keyword. If you think this will work better for your scenario, > please fill RFE. That would be a good idea. I've opened RFE#3608694. Thanks to Jirka and Joshua! -- Gruß/Regards, Thomas Schraitle
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]