<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">The problem is that \part is overloaded<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I assume that you are using the exam package in your example below?</DIV><DIV>since \part is also a sectioning command.  I'll look at trying to tighten up the matching rules today.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brad</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On May 8, 2005, at 10:58 PM, Charilaos Skiadas wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">I get the following not colored appropriately:</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Bitstream Vera Sans; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">\part[4] $\sqrt[d]{n!}$</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Bitstream Vera Sans; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">Both</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">\part $\sqrt[d]{n!}$</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">and</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">\part[4] $\sqrt{n!}$</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">are colored fine. Any thoughts, or does this happen only to me? I haven't looked at the syntax coloring scheme at all, so I can't try to fix it right now, but if anyone sees what the problem is and has some idea how to<SPAN class="Apple-converted-space">  </SPAN>fix it, that would be great.</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Bitstream Vera Sans; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 12.0px Bitstream Vera Sans">Thanks,</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Bitstream Vera Sans" size="3" style="font: 11.0px Bitstream Vera Sans">Haris</FONT>_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">textmate-dev mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:textmate-dev@lists.macromates.com">textmate-dev@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate-dev">http://lists.macromates.com/mailman/listinfo/textmate-dev</A></DIV> <BR class="Apple-interchange-newline"></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>