I use TextMate mainly for LaTex editing.
In LaTex, I often use a package "jurarsp". This package works by way
of running BibTex on a file with the extension *.rsp.aux (okay,
admittedly the," rsp"-part is not the file extension, but you get the
gist, I hope). In TextMate, I set all my LaTex projects to run the
latex, bibtex, etc. commands on a master file. Now I want to create a
custom command that would run bibtex on the master_file.rsp.aux file,
where the "master_file"-part would automatically be the name of the
master file of the current project. The bibtex command already
achieves this by using this simple syntax:
texMate.py bibtex 1
However, simply adding .rsp.aux after the 1 does not work. So I guess
what I am looking for is a command or regular expression that would do
the following: get the name of the current master file without
extension, and add the extension .rsp.aux to this name. Maybe that is
very simpe question I am asking but I promise you that I duly
researched the mailing list and could not find an answer.
Thank you for any suggestions,
My LaTeX bundle is latexmk.pl to compile LaTeX documents, but I have no idea
where this file is. I have search my entire hard drive. Where
does latexmk.pl reside?
Sent from Seattle, WA, United States
I'm developing a bundle for handling biomolecular structure files (PDB
files). I'm now working on
getting the language description sorted out. In doing this I ran into
a regex problem.
A PDB file is essentially a table. One line from such a table can be
ATOM 14 CA GLN A 2 -27.648 -9.581 30.325 1.00 10.00
In the language description I would like to use a regular expression
matched 'GLN' only if the line starts with either 'ATOM' or 'HETATM'.
This seams like
a conditional regular expression but my attempts to implement it at
such have failed
Can anyone help?
>> ball.graphics.beginFill // inserts the following grep error into my
>> grep: /Users/brenton/Library/Application Support/TextMate/Bundles/
>> ActionScript 3.tmbundle/support/data/completions.txt: No such file or
> This is a bug I need to fix. Could you could let me know if both of
> the following exist for you:
> ~/Library/Application Support/TextMate/Bundles/ActionScript 3.tmbundle
> ~/Library/Application Support/TextMate/Pristine Copy/Bundles/
> ActionScript 3.tmbundle
Both exist. completions.txt is in Pristine Copy (and Support is
capitalized in the bundle but not in the error. This could cause
problems on case-sensitive file-systems).
>> I've heard great things about TextMate. I'm still yet to find an
>> editor that rivals FlashDevelop on Mac, but I'm hoping to change
>> that. =)
> Contributions are most welcome :) Ideally by forking the bundle on
Considering, but then I'd need to have Git. =P
> Is this what you mean?
> This will match any line which starts with either 'ATOM' or 'HETATM',
> followed by any string of arbitrary characters, followed by the string
This indeed works but I do think I need to be a bit more specific.
Lets look again at the line:
ATOM 14 CA GLN A 2 -27.648 -9.581 30.325 1.00 10.00
My goal is to have both the 'ATOM' string and the 'GLN' string colored
Using ^(ATOM|HETATM)\b I can color the ATOM part.
Using \bGLN\b I can color the GLN part.
The problem is that I only want the GLN part to be colored if the line
starts with ATOM. In your reply the complete part starting with ATOM
up to GLN gets colored.
I'm a FlashDevelop user trying to get used to TextMate. I'm trying
Simon's code hinting.
Consider these examples. I'm triggering a completion with opt-esc at
the end of each line:
ball.graphics.be // completes to
ball.graphics.beginFill(1, // "No property found"
// It ought to complete to beginFill(1, alpha:Number=1.0);
ball.graphics.beginFill // inserts the following grep error into my
grep: /Users/brenton/Library/Application Support/TextMate/Bundles/
ActionScript 3.tmbundle/support/data/completions.txt: No such file or
I've heard great things about TextMate. I'm still yet to find an
editor that rivals FlashDevelop on Mac, but I'm hoping to change
I've noticed that in ActionScript 3.tmLanguage from Simon Gregory's
AS3 bundle, firstLineMatch is defined to be \bAS3\b. I don't know ANY
ActionScript class file that would match that pattern.
I believe this is the correct firstLineMatch for AS3:
I have installed on my MAC TextMade not only bought a license yet, but
it had expired.
After he returned to UPDATE trial license for 30 days.
Thiago Avelino | www.avelino.us
icq: 2522219 - jabber: thiagoavelinoster(a)gmail.com
Sent from Sao Paulo, São Paulo, Brazil
Like it or not, I end up having to detract for writing code, and work
with css. I started using Tm for this the other day. Great auto
complete in the css markup, that truly is a time saver.
I see a lot of people use FireBug to open a css file left side,
browser on right, and start seeing in real time their changes. This
is probably the best way to do CSS dev IMO, not refreshing a page and
seeing it happen in real time is a real time saver.
I am not a huge fan of FireFox, or Firebug, and it is not a solid
solution, you can not save, there are some deficiencies.
Apple's Web Inspector tool gets me part there, but you can only edit
CSS in their fields, can not get raw access to a file.
I see in TM I can do a "Show Web Preview", which is pretty nice. It
is not pure real time. Why is this? Why can something like FireBug
do real time updates, but TM is more on a schedule? Not knocking it,
I am genuinely curious about the technical aspects of how this is
The trouble is, I do not want to do inline CSS editing, I want to edit
the references CSS file. If I open a html file, which has a link to
a .css file, make change to the .css file, the .html file that is open
in the web preview is not updated. I have to toggle back to the .html
file, make a space or other change, and then I see the update.
Any other way to trigger the update from the linked file?
TM also only works on local files. If I am working on a remote file
over ssh/ftp all image links will be broken, so something as simple as
<img src="icons/blue.png" /> which would load in a browser just fine,
will be broken in the web preview.
Any suggestions to get out of the change/save/switch/reload cycle that
is going to give me carpal tunnel syndrome soon enough.
I am going to look at CSSEdit as some others have suggested, but I
really do not want to add another huge dev tool to the list of things
I need to learn, and I am already 110% happy with hose TM auto
Scott * If you contact me off list replace talklists@ with scott@ *