From Organic Design

There was spaces there before, but they were just in the source, so I removed them.

Nad 15:45, 15 Nov 2005 (NZDT)

Actually it may be an illusion, and there is no space there at all!

Sven 14:06, 15 Nov 2005 (NZDT)

Looks like the space is not in the source of the actual edit text, must be the highlighting parser adding it in.

Sven 14:05, 15 Nov 2005 (NZDT)

I don't quite get what you mean - those spaces were in the source... or do you mean something else?

Nad 12:26, 15 Nov 2005 (NZDT)

Your right the extra spacing hasnt been fixed in letter.tex :(,

\documentclass[11pt]{ letter}

I must have been looking at some R or Perl code by accident.

Sven 11:49, 15 Nov 2005 (NZDT)

I'm on holiday - I didn't fix anything!?

Nad 12:00, 12 Nov 2005 (NZDT)

Great your've fixed the extra space now.

Sven 11:56, 12 Nov 2005 (NZDT)

Small thing, I noticed the rules are putting a space after the { e.g. \usepackage{ foo}

Sven 13:54, 7 Nov 2005 (NZDT)

Yo, I can see from the tex.php hash table. The highlighting syntax will not know about the namespace of contributed packages called within latex :(

Sven 13:41, 7 Nov 2005 (NZDT)

Ok, I made a new TeX rules files based on Textpad's one which I use here at home - fuck there's a lot of keywords!!! Anyway, I think it should be working ok for TeX now...

Nad 13:10, 7 Nov 2005 (NZDT)

This is good, I'm sure we can mod a current thing like C++ to do the job adequetly :-)

Nad 10:00, 7 Nov 2005 (NZDT)

Syntax highlighting of LaTeX Code

Highlighting based on Mac OS X TexShop

  • Commands prefixed by a backslash are blue

e.g. \documentclass[11pt]

  • Any brace {} or dollar symbol $ is coloured green

e.g. \documentclass[11pt] {letter}

  • Any comment % is coloured in red

e.g. % This is a comment in LaTeX

Sven 09:38, 7 Nov 2005 (NZDT)