<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Jan 25, 2006, at 6:35 PM, Matthias Damm 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">Yes, I had done that already, but nothing seems to happen.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">I only see an empty "CodeBrowser" window in TextMate but I don't know what should appear there ...</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here's a screenshot from my machine:</DIV><DIV><A href="http://skiadas.dcostanet.net/uploads/TextMateScreenSnapz003.jpg">http://skiadas.dcostanet.net/uploads/TextMateScreenSnapz003.jpg</A></DIV><DIV>Make sure both the latex file and the .ctags.tmcodebrowser are saved. Other than that, it should really work. Perhaps restart textmate.</DIV><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"></P> <BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">- In koma-script alternative forms of the document structure commands exist: \addpart, \addchap and \addsec (which generate unnumbered headings) and \minisec. Is it possible to add those as well?</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> </BLOCKQUOTE></BLOCKQUOTE><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">But I will have a look at the LateX and Beamer bundles and try to understand what they are acually doing. Perhaps it is really a good idea to copy the standard bundle and add the koma-specific terms here and there.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE>No need to copy the entire latex syntax. You can just tell your syntax to import the latex syntax. In fact the latex syntax includes the tex syntax this way. The last pattern says:</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">         </SPAN>{<SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>include = 'source.tex'; },</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You'll just have to do a similar thing with latex:</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">               </SPAN>{<SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>include = text.latex'; },</DIV><DIV>Then before that you add your own things. If the other maintainers don't object, and if there are enough users using koma, we could add those as well in the official syntax. I just don't want to add support for any little things that any bundle offers. Also, the idea of TextMate is that you customize things to your liking. For instance in this case, you can just add them to your local copy, and then share it with people. For extra sectioning commands, all you have to do is change the line:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                    </SPAN>begin = '((\\(?:(?:sub)*section|chapter|paragraph|part))(\*?)(?:(\[)[^\[]*?(\]))??(\{))';</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>to </DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                       </SPAN>begin = '((\\(?:(?:sub)*section|chapter|paragraph|part|addpart|addchap|addsec|minisec))(\*?)(?:(\[)[^\[]*?(\]))??(\{))';</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>that should do it. Let me know if you need any help with any of the other modifications needed.<BR><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">Thanks for your patience with us TextMate newbies,</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">best</FONT></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>My pleasure. Been there, still am in many ways. <BR><BLOCKQUOTE type="cite"> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Matthias</FONT></P> </BLOCKQUOTE></DIV><BR><DIV> <DIV>Haris</DIV><DIV><BR class="khtml-block-placeholder"></DIV> </DIV><BR></BODY></HTML>