>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of 
>Matias Capeletto
>Sent: 07 June 2007 16:12
>To: Boost documentation format, structure, and processing discussion
>Subject: Re: [Boost-docs] Green .css + Rene Rivera Banner + 
>GoogleSearchBoost
>
>On 6/7/07, Paul A Bristow <[EMAIL PROTECTED]> wrote:
>> >Matias Capeletto
>> >Here it is:
>> >http://tinyurl.com/2r6nae
>> >
>> >And bimap docs has been updated too:
>> >http://tinyurl.com/22sja5
>>
>> I like them both  (except for the choice of syntax colors  - 
>Oh damn - I'm stuck in the groove, groove, groove... - but surely
>> strings should be a different color?)
>
>Lets do this. Download some of the doc pages and look for this in the
>boostbook.css
>
>        /* Syntax Highlighting */
>        .keyword        { color: #0000AA; }
>        .identifier     { color: #000000; }
>        .special        { color: #707070; }
>        .preprocessor   { color: #402080; }
>        .char           { color: teal; }
>        .comment        { color: #800000; }
>        .string         { color: teal; }
>        .number         { color: teal; }
>        .white_bkd      { background-color: #E8FBE9; }
>        .dk_grey_bkd    { background-color: #A0DAAC; }
>
>Change the colors and send me the css, I will upload bimap modified
>docs and we discuss about it.

I've tried this and I like

        /* Previous Syntax Highlighting 
                        .keyword        { color: #0000AA; }
                        .identifier     { color: #000000; }
                        .special        { color: #707070; }
                        .preprocessor   { color: #402080; }
                        .char           { color: teal; }
                        .comment        { color: #800000; }
                        .string         { color: teal; }
                        .number         { color: teal; }
                        .white_bkd      { background-color: #FFFFFF; }
                        .dk_grey_bkd    { background-color: #999999; }
        */
    /* New Syntax Highlighting 
       using Recognized color keyword names, for example:
       http://www.w3.org/TR/SVG/types.html see section 4.2 
    */
        .keyword        { color: blue; }
        .identifier     { color: black; }
        .special        { color: magenta; } 
        .preprocessor   { color: blueviolet; }
        .char           { color: teal; }
        .comment        { color: green; }
        .string         { color: teal; }
        .number         { color: red; }
        .white_bkd      { background-color: white; }
        .dk_grey_bkd    { background-color: dimgray; }

BTW I note many of the examples in date-time that I used as some test code 
blocks didn't syntax highlight at all.  And other library
docs are quite different...  But that's what we are changing?

But I'm also impressed at how easy it is to change it to ones preference,
but editing the boostbook.css file.

Of course, this is THE definitive color set ;-)

It's a bit 'nursery colors' - but then in ones second childhood...

 special dark magenta?? if you find this bit much?

Views?

Paul

---
Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539561830 & SMS, Mobile +44 7714 330204 & SMS
[EMAIL PROTECTED]

 
    


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to