Hi,
I don't think it is general to LaTeX, and the only reference for TeXShop I found is in the version history (http://www.uoregon.edu/ ~koch/texshop/version.html): Tags: a source code line which begins with %: is interpreted as a tag and listed in the tag pulldown menu. Choosing a tag scrolls to the corresponding line in the source code.
But it is very helpful :-)
Well, it's there now! Hope it works as you expect it to. (You do update through subversion, right?)
Not yet. But I have found the howto in the manual and will set it up tomorrow ...
Thanks for reacting so fast!
I downloaded TMCodeBrowser, but I am neiter sure if I understand what it does, nor do I know exactly what I would have to change. In other words: I don't really have a clue what I have to do ...
In your home directory, TMCodeBrowser should have created a file titled ".ctags.tmcodebrowser". It is not visible in finder I think, but you can see it if you type "ls .c*" in the terminal. You would want to edit this file in textmate, so in the terminal you would want to run a command like "mate .ctags.tmcodebrowser". If the file is not there, then you would want to create it.
This file contains a section for latex, which looks like this:
--langdef=latex --langmap=latex:.tex --regex-latex=/\label{*([^} \t]+)[ \t]*}/\1/l,label/ --regex-latex=/^\(sub)*section{([^}]*)}/\2/s,section/
Yes, I had done that already, but nothing seems to happen. I only see an empty "CodeBrowser" window in TextMate but I don't know what should appear there ...
- 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?
I don't know anything about koma-script, but if it is not standard latex behavior I would rather we create a separate bundle for it, which could be done if anyone wants to do it. I can help, but probably wouldn't want to be in charge of creating it. We've done something like that for the beamer class. Is this something similar perhaps? You can have a look at the beamer class and create your a similar syntax for koma-script.
I am not sure if you can really compare beamer and koma here. Beamer has some syntax which is quite different from standard LaTeX. But koma is just a variant of LaTeX, it replaces the standard article, book etc. classes by scrartcl, scrbook etc. and gives you some more options. I don't think that koma support will hurt any standard LaTeX user.
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.
Thanks for your patience with us TextMate newbies, best Matthias