Haris Skiadas wrote:
>
> On May 27, 2007, at 6:40 AM, Daniel Sönnerstedt wrote:
> > LaTeX - Insert Label Based On Current Word
> >
> > I didn't get this feature to work on my project. I experimented a bit
> > and it seemed like the script was having troubles dealing with
> >
> > \include{"filename.tex"}
> >
> I actually have tried using filenames this way, and I find that LaTeX
> doesn't process the corresponding file, unless you remove the .tex
> part in the above line. Is there some package you need to use to make
> this work with the .tex part?
You're right. I wasn't thinking when I wrote the example code. Of
course it actually should say
\include{"filename"}
> I'll commit your patch.
>
Great. I bought TextMate yesterday after trying it out for a few
weeks, and I'm already contributing. This is fun.
> > but not with
> >
> > \include{filename.tex}
> >
> > I use this since I have filenames with spaces. So I skimmed through
> > the code and added a small fix in LaTeXUtils.rb:
> >
> > def find_file(filename, extension, relative)
> > filename.gsub!(/\.#{extension}$/,"")
> > [...]
> > end
> >
> > became
> >
> > def find_file(filename, extension, relative)
> > filename.gsub!(/\"/,"") # Added this
> > to strip ":s
> > filename.gsub!(/\.#{extension}$/,"")
> > [...]
> > end
> >
> > And now it works!
> >
> > Now, I'm not a ruby programmer so there's is probably some better way
> > to solve this. But I think that this fix should benifit others;
> > perhaps implemented in a more proper way though.
> >
> > Thanks for another great LaTeX-bundle-feature.
> >
> > Regards,
> > Daniel Sönnerstedt
>
> Haris Skiadas
> Department of Mathematics and Computer Science
Daniel Sönnerstedt
Quicksilver has application activation very similar to TextMate's
ability to move between files, i.e. press an activation key to
activation, and then type a sequence of characters that appear (in that
order) with the application name (not necessarily sequentially). Is it
possible to activate TextMate commands (built-in and custom) in this way?
Thanks,
Ken
LaTeX - Insert Label Based On Current Word
I didn't get this feature to work on my project. I experimented a bit
and it seemed like the script was having troubles dealing with
\include{"filename.tex"}
but not with
\include{filename.tex}
I use this since I have filenames with spaces. So I skimmed through
the code and added a small fix in LaTeXUtils.rb:
def find_file(filename, extension, relative)
filename.gsub!(/\.#{extension}$/,"")
[...]
end
became
def find_file(filename, extension, relative)
filename.gsub!(/\"/,"") # Added this to strip ":s
filename.gsub!(/\.#{extension}$/,"")
[...]
end
And now it works!
Now, I'm not a ruby programmer so there's is probably some better way
to solve this. But I think that this fix should benifit others;
perhaps implemented in a more proper way though.
Thanks for another great LaTeX-bundle-feature.
Regards,
Daniel Sönnerstedt
I may be asking a few overly simple questions as, due to work pressure,
I only had time to really look at TextMate seriously just a bit before
trial mode expired.
1) I know that (using the great Key Binding Editor facility), I can bind
emacs-style multikey sequences to os x editing actions. Can I bind
multikey sequences to TextMate macros or scripts?
2) When editing text files in bundles, is it possible to bring up the
file directly in a normal textmate window, rather than in the 'bundle
editor window'? Copying and pasting back and forth seems sorta
pointless, for the most part.
Thanks, maybe some more questions later,
Ken
P.S. what's the best solution for making the caps lock behave like
ctrl--DoubleKey? It'd doesn't seem to work on my external keyboard
(hangs the keyboard), but maybe because that's because I have
Quicksilver installed.
Is there a way for me to take over the Standard ML bundle? I have
made some significant improvements.
On May 24, 2007, at 7:00 AM, textmate-request(a)lists.macromates.com
wrote:
>> Is there anyone actively maintaining the Standard ML bundle?
>
> No -- for the records, you can =93svn log=94 the bundle to see what
> =20
> activity it has seen, and the =93info.plist=94 in the bundle shows
> who=92s=
> =20
> the maintainer (and his contact email).
>
> For the ML bundle it is Sune, but he only used it for a university =20
> project, so it never evolved beyond the initial grammar and a run =20
> command.
Hi
If I mark
my 2xG5 does a bell sound when switching to terminal (or other
application). It does not occur in my PowerBook G4...
It is a bit inconfortable but I now can't live with this option!!
-----
Juan F.
Hi!
Any idea how I can find out why ctrl+esc won't open anymore bundle
items menu anymore but does nothing (it's quite for a long time now
but today I got curious ;) ).
Searching for it in the "select bundle item"-menu didn't bring up any
results.
Niels
TextMate shows the current line that contains the cursor by
highlighting the entire line. I like this because it makes finding the
cursor easy when I come back to a TextMate window.
But it gets short circuited by Find which highlights the found text,
but removes the "whole line highlight". Consequently, it takes more
effort to find where the selection/cursor jumped to upon finding text.
My request is that selecting text within a line would retain the
"whole line highlight".
-Chuck
Hi list!
Is there a way to open a textarea in textmate? Maybe with an extension
for Firefox? Cause I want to edit the textarea in a html-editor like
Textmate, editting HTML in a textarea drive me crazy.
--
Met vriendelijke groet,
Reinier Ladan
Digital Energy BV
W: www.digitalenergy.nl
T: +31624872725
E: reinier(a)digitalenergy.nl
Zin in een enorme lading web 2.0? Check uwbatterij.nl
DISCLAIMER
===========
De informatie verzonden met dit e-mailbericht is uitsluitend bestemd
voor de geadresseerde(n). Gebruik van deze informatie door anderen dan
de geadresseerde(n) is verboden. Openbaarmaking, vermenigvuldiging,
verspreiding en/of verstrekking van deze informatie aan derden is niet
toegestaan. Digital Energy BV staat niet in voor de juiste en
volledige overbrenging van de inhoud van een verzonden e-mail, noch
voor tijdige ontvangst daarvan. Wij raden u aan e-mail berichten bij
ontvangst op virussen te controleren. De verzender kan, ondanks
voortdurende controle, niet instaan voor het virusvrij verzenden van
e-mail berichten.
So I happened to notice that when I use the Shell Script bundles
"Open Terminal" that my project environment variables don't appear.
According to this tech note:
http://developer.apple.com/technotes/tn2002/tn2065.html
osascript (which is what the "Open Terminal" command uses to tell
Terminal.app to open a window) passes its environment along, which
contains the project variables.
Is this a limitation of using "do script" instead of "do shell script"?
The only work around I can think of is to explicitly set the
environment variables inside the "do script" (possibly exporting all
the variables to a temporary file and then sourcing that file inside
the "do script"). That seems icky for a variety of reasons.
Thoughts?
j.