Re: [docbook-apps] Different Colors for Different Programming Languages (Syntax Highlighting)?

From
Joshua Wulf <>
Date
2013-03-21T09:22:52+00:00
ID
Thread
Re: [docbook-apps] Different Colors for Different Programming Languages (Syntax Highlighting)?
Thomas, Publican [1] does this using the Kate HTML Syntax highlighting module. 

[1] https://fedorahosted.org/publican/

- Josh

~ Kirtan is Life! ~

Sent from my Mobile Device

On 21/03/2013, at 5:30 PM, Thomas Schraitle <> wrote:

Hi,

DocBook supports syntax highlighting in programlisting elements with
the help of the language attribute and the highlighting stylesheets
({fo,*html*}/highlight.xsl and highlighting/common.xsl). This works for
me.

Now I'm wondering if I can go it a bit further. Usually, customizing
the colors are done in xslthl mode. However, as it seems, I cannot get
the original language attribute anymore. I would like to implement
different colors for different programming languages. 

How can I do that? Is there a recommended procedure?

Thanks!

-- 
Gruß/Regards,
    Thomas Schraitle

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: