RE: [docbook-apps] Colored listings

From
"Qowland, Marry"
Date
2010-04-12T17:57:54+00:00
ID
Thread
RE: [docbook-apps] Colored listings
Marty,

Bob Statyton has a good discussion of program listings:

  http://www.sagehill.net/docbookxsl/ProgramListings.html

There is a section on syntax highlighting (which differentiates among things like keywords, constants, and parameters) at the bottom of the ToC on this page.

Regards,
Larry Rowland

   

-----Original Message-----
From: áÌÅËÓÁÎÄÒ íÁÒÔÙÎÏ× [mailto:] 
Sent: Monday, April 12, 2010 11:40 AM
To: 
Subject: [docbook-apps] Colored listings

Hello,

I want to get colored listings in docbook output, how I can get it?
Is there a simple way to make text colored, such tags

<color color="dark_green">class</color> CMyClass { };

or there is more specialized tags such

<cpp-keyword>class</cpp-keyword> CMyClass { };

or there is another way to make listings colored?

    Marty.

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