On Sep 19, 2008, at 12:59 PM, Jef Patat wrote:
Can anyone tell me how I could achieve syntax highlighting.
Use the "listings" feature in LyX, which uses the latex Listings package.
Insert->Program Listing Right click on it to edit the settings (language, etc).