In the following paper in the PracTeX journal
that
LATEXing with TextMate
Charilaos Skiadas and Thomas Kjosmoen
I read that autocompletion works for \ref and \label.
Presumably, if I put the caret within the braces of a
\ref{} command and press Esc, I should get a list of defined labels.
This does not work on my machines.
What am I doing wrong?
When I run the TODO bundle I get the following:
-----
/Library/Application Support/TextMate/Support/lib/textmate.rb:150: warning: Insecure world writable dir /Library/Application Support/TextMate in PATH, mode 040777 /Library/Application Support/TextMate/Support/lib/textmate.rb:150: warning: Insecure world writable dir /Library/Application Support/TextMate in PATH, mode 040777 /Library/Application Support/TextMate/Support/lib/textmate.rb:150: warning: Insecure world writable dir /Library/Application Support/TextMate in PATH, mode 040777 /Library/Application Support/TextMate/Support/lib/textmate.rb:150: warning: Insecure world writable dir /Library/Application Support/TextMate in PATH, mode 040777 /Library/Application Support/TextMate/Support/lib/textmate.rb:150: warning: Insecure world writable dir /Library/Application Support/TextMate in PATH, mode 040777 /Library/Application
-----
I have run chmod -R o-w * in the /Library/Application Support/TextMate folder, but this makes no difference.
What have I done wrong?
Thanks,
Christopher
Hi
Could somebody tell me how to customize the Apple + R command.
I want to be able to compile some files which are in the C99 mode.
>From command line, I can do gcc -std=gnu99 in order to compile these files.
Thanks,
Raj
I recently got a new Mac and installed MacTeX 2009 and TextMate.
Everything works fine right out of the box.
On my older machine, when trying to use the LaTeX bundle with AFAIK the same
configuration, I get the following error.
Traceback (most recent call last): File "/Users/neuwirth/Library/Application Support/TextMate/Pristine Copy/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 873, in eCode = program.do_action(action) File "/Users/neuwirth/Library/Application Support/TextMate/Pristine Copy/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 476, in do_action self.do_latex() File "/Users/neuwirth/Library/Application Support/TextMate/Pristine Copy/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 521, in do_latex stat = self.run_latex() File "/Users/neuwirth/Library/Application Support/TextMate/Pristine Copy/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 632, in run_latex commandParser = LaTexParser(None,self.verbose,self.fileName) File "/Users/neuwirth/Library/Application Support/TextMate/Pristine Copy/Bundles/LaTeX.tmbundle/Support/bin/texparser.py", line 150, in __init__ super(LaTexParser, self).__init__(input_stream,verbose,fileName) File "/Users/neuwirth/Library/Application Support/TextMate/Pristine Copy/Bundles/LaTeX.tmbundle/Support/bin/texparser.py", line 18, in __init__ super(TexParser, self).__init__(self) TypeError: object.__init__() takes no parameters
Using LaTeXtra in addition to LaTeC makes things work on this machine.
Any idea where the problem lies and how to solve it?
--
Erich Neuwirth
Didactic Center for Computer Science and Institute for Scientific Computing
University of Vienna
Hello:
I defined a language grammar for the GI CP-1610 Assembly Language (used
for Intellivision development), and I need to know how to set the line
comment character to ';'.
I based my bundle on others, so I added the Preference for comments.
However, whenever I hit the comment key, I get C-style comments.
How do I define the comment character?
dZ.
I work with HTML, XML and Ruby code and I want to select blocks of code
based on the folding indicators for the current syntax. I may be missing
something but I cannot find a way to easily accomplish this.
I can fold the text and then hover over the ellipsis and see it there but
that also removes it from the context which is not quite what I am looking
for. There is the very useful "Fold Selection". I would like the inverse
Select Current Fold.
tks, louie
--
View this message in context: http://old.nabble.com/How-to-select-folded-text-tp28941022p28941022.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I'm writing a small bundle for a HTML template language I use, Tenjin
(http://www.kuwata-lab.com/tenjin/). So far so good but I ran into a
problem with pattern priority in the language definition.
The relevant part of the grammar is this:
patterns = (
{ include = 'text.html.basic'; },
{ name = 'source.perl.pltenjin.expression';
begin = '(\[==?)';
end = '(=?=\])';
captures = {
1 = { name = 'keyword.control'; };
2 = { name = 'keyword.control'; };
};
patterns = ( { include = 'source.perl'; } );
}
);
I "extend" the text.html.basic language (because most of the file is
HTML) and add Tenjin expression. They are in the format [==? =?=] (the
second = means "raw" output, single = means HTML encoded).
TextMate recognizes perfectly my expressions in the text between tags:
<p>[= $var =]</p> # this is ok
but not when used as a tag attribute value:
<p class="[= $class =]">text</p> # not ok
In the second case, the [= $class =] text is all green, the context is
string.quoted.double.html and not the expected
source.perl.pltenjin.expression.
Is there any way to work around this?
Thanks,
--
Pedro Melo
http://www.simplicidade.org/
xmpp:melo@simplicidade.org
mailto:melo@simplicidade.org
hi there - I've been trying my hand at learning Ruby and have been running some small scripts within TM but now I've run into a problem... here's the code I'm trying to run:
------------CODE--------------
class Song
def initialize(name, artist, duration)
@name = name
@artist = artist
@duration = duration
end
end
song = Song.new("Ruby Tuesday", "Rolling Stones", 360)
song.inspect
------------CODE--------------
however when I use the "Run" command the output window shows up blank - no errors, just blank.
adding this line to the class:
printf("foo")
results in "foo" in the output window but nothing else.
this code is taken directly from the "Programming Ruby" book published by The Pragmatic Programmers and should output some stuff that would take me far too long to type...
so, I'm obviously a bit of a noob - can you tell me what's going on?? is there some kind of limitation to the RubyMate bundle that doesn't allow passing of parameters into instantiated objects??
any kind of help would be great - I LOVE TM and use it for everything else I do so I'd love to use it for this too!
I should add that I'm running the latest version of OS X 10.6 and TM version 1.5.8 and that I have NOT installed Ruby via Terminal or anything else - I assumed that TM's RubyMate is a full fledged runtime environment for code testing... perhaps that I my mistake??
thanks in advance
bennett
I was wondering if there was maybe a hack or plugin that will allow me to do
this? I'm required to convert all tabs to spaces before committing any code,
and having to do it manually (text->convert->tabs to spaces) on every file
can get pretty frustrating.
--
View this message in context: http://old.nabble.com/Convert-tabs-to-spaces-when-saving--tp28891731p288917…
Sent from the textmate users mailing list archive at Nabble.com.