> Now what context this bit of grammar is really for I don't know.
> From what I can see the other examples I gave don't use above.
> Perhaps the original author of this grammar can shed light on this
> and make the proper changes.
I guess I am the original author, though I haven't worked on it for a
while (not since my kids were born!). The svn blame for this piece of
the grammar goes to gerti, duff and msheets.
Let me say that if we as a Textmate community really want to have
distributed editing of these grammars, then we should develop a set of
test cases to check if our grammar edits break anything. Maybe one or
two documents with a .png of the correct highlighting using a default
best wishes, Eric
Eric Hsu, Associate Professor of Mathematics
San Francisco State University
I'm recently playing a lot with great Ruby web framework called
Ramaze. By default when running my project, Ramaze highlights
different event types in the console with different colors. So errors
are red, warnings yellow, notices green and so on. This works great
when I run my program from the Terminal, but when I run it within
TextMate with ⌘R and its output window unfortunately I get no colors.
I don't know if it is fault of Ruby bundle or TM internals, but I'd
love to see the colors there too, as they help reading logs a lot.
Adam Strzelecki |: nanoant.com :|
Anyone feel up to getting this working in textmate
would be VERY handy
Strengthening Brands Through Illustrated Images And Interactive Design
This is just a generic question on how you use Terminal and TextMate
in developing with Rails. I benefit from the bundles like Ruby, Rails
RubyAMP and RSpec. My problem is that I would like to have a few
Terminal tabs open for one application. I need one tab for running
commands like script/generate or rake tasks. (I know I can use Control-
Shift-\ for some tasks, but it feels a bit slow to me.) Another tab is
for the server log genarated after `script/server`. And optionally I
have a tab open for script/console.
If I use Control-Shift-O, the Terminal window opens and `cd` to the
current directory. RubyAMP bundle has Control-Command-P for a similar
feature. But if I use the same command more than once, a new Terminal
window shows up. I would like to have a new tab instead.
What I do currently is that: 1) Open the TextMate project file, 2) I
use Control-Shift-O to open the Terminal window and find myself in the
project directory, 3) run the AppleScript I made to duplicate a tab.
My AppleScript is written at <http://samuraicoder.net/applescript_duplicating_tabs_terminal
>. This is just a shitty script, simply emulates what I do on
keyboards. Is there anybody who can know a much better way? Or would
you suggest any better workflow?
I suggest to add German quotation marks to the Latex Bundle:
This can be archieved by adding
Latex.tmbundle/Preferences/Smart\ Typing\ \(Strings\).tmPreferences
under the "highlightPairs" and "smartTypingPairs" sections in each
Please note that I have limited knowledge on how those bundles work.
Applying the changes above worked for me.
I *am* writing my current book in TextMate. I won't claim that my way
of doing it is *the* way, only the way that I am doing it.
First, let me say that you'd be a fool not to look at Scrivener. It's
a great app. I just about bought it myself, but I had
(1) already spent enough money on trail of the word processing grail
(2) begun to imagine myself enough of a geek to go it on my own (e.g.,
I already had a way to play QT files from within textmate)
I did, however, copy some ideas from Scrivener, as you'll see in the
layout of my project folder:
(For those who don't want the JPG:
As you can see, the book is about boats -- crawfish boats in south
Louisiana (if you want to see a picture, there's one on the front page
of my website: http://johnlaudun.org/) -- and it's a nonfiction work
with different enough, to my mind, kinds of research that I have it
broken out into simply research and fieldwork. The tilde (~) puts
things at the top of Finder windows, but the bottom of TextMate
project drawers. (I don't care, as long as the part where I'm doing
writing is easy to find. I use MSS, for manuscript, instead of draft,
Most of the mss texts, as you can see, are in Markdown, but that's
really MultiMarkdown. I haven't begun to experiment with footnotes
just yet -- I'm still early enough in the drafting process that I can
play with reference schema -- and Fletcher's footnote implementation
is tenuous. (I'm taking a look at Maruku right now, to see if there's
anything to learn there.)
I have heard the siren call of LaTeX several times now over the years,
but I just can't bring myself to do it. I like being able to share my
plain text files with non-markup-aware clients and colleagues and that
I can then generate RTF files out of them, which is all publishers
want. (Most will also take Word documents, but an increasing number
are going back to RTF, precisely because of having to deal with Word's
noting system is such a pain.)
So there are writers who write with TextMate -- check out the
impressive ScreenMate some time! -- but I don't know if there's any
consensus. I, for one, wish I could go from MMD texts to RTF or PDF
with headers and/or footers, but I haven't found a convenient way yet
-- and I keep forgetting to see if I can get Prince working on my MBP.
I hope that helps.
a short while back I went looking for a TextMate plugin for ack but
the advertised link was dead so I based one off GrepInProject++
(instead of doing something sensible like contact the plugin's author
about the dead link...).
Anyhow, my own take on "Ack in project" can be found at:
It does nifty stuff like remember your last 10 searches, allows you to
choose word, literal or case insensitive search as well as configure
options like whether you want to show context lines, follow symlinks
and ignore .ackrc (you can define a .ackrc in your project directory
I've still got a few things I'd like to improve with it but it's in
daily use (on Tiger, will test Leopard shortly).
I often have some Project Folders with multiple HTML files.
I need a Shell Script to concatenate them all together into one single
file, to use in a command.
Possibly to strip also Header and Body Tags.
File names have consistent naming convention.
Any Ideas ?