In addition to my TeX-typesetting-problem I noticed that the
HTML-output-window suddenly looks just plain wrong. I attached a
screenshot. Some of the text is huge, other parts are very small and
behind the huge stuff.
I've recently switched to 1.5, mostly because of sparse checkouts. I
just spotted every-time I commit something Subversion bundle shows
"unknown revision committed" in the title, which is obviously because
now "svn" command has Polish (my native language) locale and doesn't
output "Commited revision XX." but the text in Polish.
I'd suggest to set "LANG=en_US" environment variable before launching
any command that matches the output text in English or when running
command line directly use "LANG=en_US svn" instead of just "svn".
This suggestion should go also to all other bundle creators that use
I'm a newbie with Ruby but it seems that there is a problem with
I try this (I add fileExt= )
# Helper function
extraPathList = 
and now I can use alt+esc in all the cases.
Is it a good solution?
I made a command for the ruby texmate bundle that might be interesting.
What it does (on command-option-R):
- It takes the selected text or the current line (= STDIN)
- It finds a running IRB session in the Terminal.app. If you don't have one,
it starts a new one.
- It pastes your code in IRB and switches to the terminal.app.
It saves you from manually selecting, copying, switching and pasting to try
out some code in irb. A poor man's SLIME if you will.
The command is a basic ruby script that uses the scripting bridge to drive
Terminal.app. It can also be adopted to use other interactive consoles
(python, clojure, ..) by changing the REPL_ constants at the top of the
- REPL_CMD is the command to start the interactive console
- REPL_PROCESS is the active process that ends up running in the terminal.
- REPL_PROMPT is the prompt you get when you start the interactive console
See attachment for the command.
On Oct 3, 2008, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
> On Oct 3, 2008, at 1:03 PM, Ricki Gregersen wrote:
>> I have been looking for a way to print my recent project which is
>> around 50+ actionscript classes to
>> a single pdf for some time.
>> I tried Automater but it refuses to recognize .as files as
>> text files.
>> Is there som way to obtain this in textMate?
>> Thanks in advance:)
>> Regards Ricki
> The best thing is to generate HTML from your source code and print
> that. In the TextMate bundle, there is a command to ?Create HTML From
> Current Document?. Run that command and save the resulting file.
> Open in Safari and print to PDF!
I would also consider using the command line tool "textutil" to
concatenate the files and then format the catted files as RTF or HTML
-- or even plain old text -- and then printing the compiled document.
(You could make this an Automator script -- I know that Apple script
allows you to call shell apps, or you could make it a bash script, or
you could make it a Textmate command.
So many options ...
I have been looking for a way to print my recent project which is
around 50+ actionscript classes to
a single pdf for some time.
I tried Automater but it refuses to recognize .as files as
Is there som way to obtain this in textMate?
Thanks in advance:)
I've been using TextMate for a while but I have recently started
looking at some matlab scripts that I am porting over to C(Obj-C).
The only problem is TextMate keeps coloring the .m matlab files using
the C/Obj-C syntax coloring rather than the coloring provided by a
Matlab bundle I have installed. Since I am editing files in both at
the same time, Matlab and C, what would you recommend is the easiest
way to get my .m matlab files to use the Matlab bundle coloring and
my .m Obj-C files to use the C syntax coloring?
I've been struggling against TextMate's clipboard manager for some
time. I use PTHPasteboard, which works against all applications, and
serves the purpose of having multiple copy buffers.
It appears to fight against TextMate's clipboard manager, however.
When I copy things using TextMate, sometimes (randomly) it will place
the copied item straight into the second item in PTHPasteboards, so I
always have to guess where my copied item is. It's very, very annoying.
Is there any way to disable TextMate's clipboard manager? I would
prefer to use PTHPasteboard for clipboard management instead as it
works in any application.
I'm just rewriting the GetBundles bundle to support the new syntax of
DIALOG2. In principal it works fine if I take the eventInfo Dict. But
I came up with a "problem".
I have a NIB containing a NSSegmentedControl for filtering the repos
Bundles, Review, GitHub, All.
I bound it via Segment Selection > Selected Label to
Paramters.selcetion.bundleSelection and connected the entire
NSSegmentedControl to File's Owner 'performButtonClick'. Each Segment
has its own tag number.
With DIALOG1 I get e.g.:
then I can check whether there's a returnArgument, if not is there a
BUT with DIALOG2 the eventInfo Dict gives me:
This would me that I have to deal with both the eventInfo Dict AND the
model Dict in order to find which button was pressed.
If I have a 'normal' button bound to performButtonClick DIALOG2
<string>Rescan Bundle List</string>
Is there a way to put into the eventInfo Dict the title of the chosen
Segment of a Segment Control à la the 'normal' button event?
My very first idea was to include into TMDNibController.mm
if([sender respondsToSelector:@selector(selectedSegment)] & [sender
[res setObject:[NSNumber numberWithInt:[[sender cell] tagForSegment:
[sender selectedSegment]]] forKey:@"selected_tag"];
Then you can deal with unique tag numbers and you only need the
Many thanks in advance
I've recently upgraded to a shinny new iMac from my 3 year old powerbook.
This has required the re-installation and setup of all my software. I.e.
Latex and TextMate, which previously worked seamlessly.
Specifically, i downloaded and installed MacTeX. Latex (pdflatex) works
fine from the command line. However "Typeset & View" in TextMate returns
Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
I'm fully up-to-date (cutting edge) and i have confirmed that all the
appropriate paths exist (i.e. to /usr/texbin in /etc/profiles). "pdflatex"
is selected in the TextMate latex preferences.
An extensive search of the web provides a lot of solutions (usually related
to making sure the path is set correctly), but none work for me.
Any ideas? I'm slightly baffled and have run out of things to try.
Thanks in advance.