Boost logo

Boost :

From: Kai Brüning (kai_at_[hidden])
Date: 2007-07-17 04:25:25


(Positing this here because boost-docs_at_[hidden] currently rejects my mails although subscribing did work.)

Hi,

after volunteering help on boost.dev, Glyn Matthews and Matias Capeletto suggested that I take a look at IBD.

I think the Trac Syntax Coloring project should be rather fast and simple for starters, so I like to give it a try.

Looking around, I found that Trac is going to switch to Pygments (http://pygments.pocoo.org/) as default highlighter in version 0.11:

>Starting with trac 0.11 pygments will be the new default highlighter. It's a highlighting library implemented in pure python, very fast, easy to extend and well documented. While it does not support as many languages as Enscript or Scintilla the overall output quality is much better.

Since Pygments is supported in 0.10 via a plugin, too, I suggest to add new syntax lexing to Pygments.

>To use pygments trac 0.11 you just have to install pygments 0.5.1 or higher. If you want to use it in trac 0.10 too you have to install the TracPygmentsPlugin from trac hacks. If you encounter any bugs, please file tickets regarding pygments in the pocoo trac.

Joel and Eric, your QuickBook doc (http://www.boost.org/doc/html/quickbook.html) seems to be incomplete. At least I am missing keywords like super, alpha or template. Is there a complete syntax guide somewhere or should I look at the source as definitive references?

Kai


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk