<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Jan 23, 2006, at 9:19 AM, Gary L. Gray wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">That did it -- thank you.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Is there a way I can get it to recognize \paragraphs and indent them one level more than \subsubsections?</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE>Sure there is! Just add the line:</DIV><DIV> s/^\\paragraph\{(.+)\}/ $1/g;</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>right before the s/(?<=\\|sub)sub/ /g; line.</DIV><DIV>Note, I would suggest copying and pasting the above line, because the spaces from / to $1 are not regular spaces, they are em-spaces, special characters.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In general, may I make one suggestion. You will find that you will be able to use TextMate's power a lot more if you get more comfortable with some of the regular expressions/sed stuff. In particular, TextMate's find dialog utilizes this, allowing you to do some very interesting and elaborate search and replace stuff. Browsing around the various commands in the various bundles can give you tons of examples, and you can always email the list or ask at the irc channel for more ideas.</DIV><DIV>Btw, you might want to also take a look at the TmCodeBrowser plugin, if you haven't yet. It's pretty cool, and for many things more useful than the symbol list.</DIV><DIV><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">-- Gary</FONT></P> <BR class="Apple-interchange-newline"></BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Haris</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>