Hello,
When scanning my latex document with the TODO bundle, I get the following message.
Scanning directory: ~/Documents/tex/papers/2010/O3Buffer/RevSciInstr_Buffergas/O3Buffer
(erb):4: undefined method `+' for nil:NilClass (NoMethodError) from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:99 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/erb.rb:716:in `grep' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `each' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77:in `grep' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:77 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76:in `open' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:76 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75:in `each' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:75 from /Applications/Editors/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `call' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Support/lib/textmate.rb:201:in `each_text_file' from /Applications/Editors/TextMate.app/Contents/SharedSupport/Bundles/TODO.tmbundle/Support/todo.rb:71
I have reinstalled textmate several times and everything worked for a while before TODO would give the same message again. Since I am not at all familiar with ruby I did not try to understand the ruby code of the TODO bundle.
I am using TM Version 1.5.9 (1589) under the latest snow leopard OS.
Because I really like the functionality of the TODO bundle I would be happy if anyone could tell me what to do or confirm that this problem exists elsewhere.
Thanks for consideration
Christof
I frequently pipe the output of Terminal.app commands to view/search with
TextMate, but for commands like "ls -al --color=always" I'd like to still
see the ANSI terminal colors even though I keep the piped output in Textmate
for future reference.
So something like
% echo -e "\\e[0;32mCOLOR_GREEN\\t\\e[1;32mCOLOR_LIGHT_GREEN\\e[0m"
would show up (colored) in TextMate as
COLOR_GREEN COLOR_LIGHT_GREEN
It'd be fine if the actual escape codes were still there but de-emphasized.
If nothing else, it would save me from running a regex through
search/replace to remove the ANSI escape codes when my output already took a
while to generate. And I like the "do it once, keep it forever" factor of a
TextMate bundle ;)
If there's any existing bundle which has those codes already in a language
grammar, I'd appreciate it.
Thanks
Darryl
ls example:
total 8.0K
-rwx--x--x 1 dzurnlocal 515 2010-04-14 16:16 [0m[01;32mcolors.sh[0m*
lrwxr-xr-x 1 root 9 2007-07-05 10:06 [01;36m2-sym_link[0m ->
[01;33m/dev/null[0m
brw-r--r-- 1 root 14, 0 2006-06-09 15:38 [01;33m6-block_special[0m
crw-r--r-- 1 root 3, 2 2006-06-09 15:38 [01;33m7-char_special[0m
-rw-r--r-- 1 dzurnlocal 0 2006-06-09 15:38 0-file
drwxr-xr-x 2 dzurnlocal 68 2006-06-09 15:38 [01;34m1-directory[0m/
-rwxrwxrwx 1 dzurnlocal 0 2006-06-09 15:38 [01;32m5-executable[0m*
-rwsrwxrwx 1 dzurnlocal 0 2006-06-09 15:38 [37;41m8-exe_setuid[0m*
-rwxrwsrwx 1 dzurnlocal 0 2006-06-09 15:38 [30;43m9-exe_setgid[0m*
drwxrwxrwt 2 dzurnlocal 68 2006-06-09 15:38
[30;42ma-dir_writeothers_sticky[0m/
drwxrwxrwx 2 dzurnlocal 68 2006-06-09 15:38
[34;42mb-dir_writeothers_NOsticky[0m/
--
View this message in context: http://old.nabble.com/Colorizing-ANSI-Terminal-output-in-TextMate--tp282560…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I'm just trying out -- eagerly -- Alex Ross', er, lasersox's (great
anagram work, btw ;) new Latex2 bundle, which promises (much desired,
much welcomed) speed. Now, I stumble upon a dialogue prompt titled
"pdftex" asking for "Enter file name", to "Send" or "Send EOF" (the
latter, "end of file"?!, cancels everything). I'm stymied (a word I
learned from LaTeX many years ago). What to do? what file to provide?
Of course, falling back to the Latex legacy bundle, TeXing proceeds,
while slowly, uninterrupted. Btw, I'm still on TeXLive-2008 (hell, I'm
still running 10.5, even).
Any help would be highly appreciated (I did look for, but I did not
find any clarifying documentation).
Kindly,
Hans
Hi all,
I'm very join you people. Thanks for developer too for developing so nice and strong
programming editor. An alternative way we can work with Skim. First open Skim and then
textmate no problem occur.
with best regards,
forcp
On Apr 9, 2010, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
> Message: 1
> Date: Thu, 8 Apr 2010 16:37:52 -0700
> From: Steven W Riggins <mailinglists(a)geeksrus.com>
> Subject: [TxMt] merging columns of text
> To: Textmate Mailing List <textmate(a)lists.macromates.com>
> Message-ID: <EB031447-6AE7-4675-8BDC-5C2F5CD83D5F(a)geeksrus.com>
> Content-Type: text/plain; charset=us-ascii
>
> if I have
>
> one
> two
> three
> four
>
> on the clipboard, can I paste it in front of (line by line)
>
> duck
> cows
> chickens
> geese
>
> Thanks! (Simple example of my task)
If your final task is as simple as your example, toss this in a command snippet.
-Roberto.
#!/usr/bin/env python
import os
import sys
from subprocess import PIPE, Popen
selection = os.environ.get('TM_SELECTED_TEXT').splitlines()
if not selection:
print 'Cut text to go second, then make selection for text that goes first'
sys.exit(1)
clipboard = Popen(["pbpaste"], stdout=PIPE).communicate()[0].splitlines()
selection_len = len(selection)
clipboard_len = len(clipboard)
if selection_len != clipboard_len:
sys.exit("Selection (%d) and clipboard (%d) don't have the same number of lines" % (selection_len, clipboard_len))
print '\n'.join([' '.join(x) for x in zip(selection, clipboard)])
I'm setting up a new TextMate environment for work on a new computer and for the life of me
Can't get my AS3 class path preference setup correctly. I'm using Simon Gregory's Actionscript 3 Bundle.
I've already set different variations within the Preferences > Advanced > Shell Variables
For TM_AS3_PATH but it's not finding the directory I have set for that variable.
Is there a setting to set within the flex-config.xml that I'm missing?
Any tips or links would be much appreciated. I've tried the Google machine already.
Thanks,
-Gerry
Hello! I will be out of the office from Monday, April 5th through Friday, April 9th. I will not have access to my email, but I will be sure to respond to your note upon my return on Monday, April 12th.
If you require immediate assistance, please contact our offices at 402-827-3590.
Hello! I will be out of the office from Monday, April 5th through Friday, April 9th. I will not have access to my email, but I will be sure to respond to your note upon my return on Monday, April 12th.
If you require immediate assistance, please contact our offices at 402-827-3590.
Sorry, if this issue has been covered before. I did some searching but came
up empty.
When I try to run a ruby script from within Textmate (command-R), I get the
following error which pops up in a another window:
/tmp/temp_textmate.cX7qBU: line 6: : command not found
I'm running Ruby 1.9.1 and have just installed Textmate on a new iMac i7.
Ruby works fine from the command line, and using "mate xxx" in the terminal
works as well. I'm a newbie with macs and Textmate so forgive my ignorance
is this is something simple.
Thanks for the help in advance.
--
View this message in context: http://old.nabble.com/Ruby-scripts-not-running-tp28137522p28137522.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello! I will be out of the office from Monday, April 5th through Friday, April 9th. I will not have access to my email, but I will be sure to respond to your note upon my return on Monday, April 12th.
If you require immediate assistance, please contact our offices at 402-827-3590.
Paul,
Thanks. That works. Double-clicking on a Mac - who would have guessed?
Geoff
> From: Paul McCann <paul.mccann(a)adelaide.edu.au>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Wed, 07 Apr 2010 09:27:48 +0930
> Subject: Re: [TxMt] New LaTeX Bundle
> Hi Geoff,
>
>> 1. How do I install it? I gather that I download it from http://github.com/lasersox/latex.tmbundle. I did this and a folder called lasersox.latex.tmbundle-b5bbb31 was created. Then what? The instructions in the textmate help regarding bundle installation don't seem to be appropriate at this stage. Perhaps already I am doing something wrong.
>
> No, it's not obvious: the problem is github appending that SHA-ish
> lump on the end of the directory name. If it was just ".tmbundle" you
> could double click and be up and away, but its presence severs the
> extension's connection with TextMate. Just remove the "-b5bbb31" and
> the icon should change. Then you can double click to install.
>
>> 2. Once it is installed properly, will it conflict with the old latex bundle? How can I go back and forth between the two? Will my old custom snippets and commands still work, etc?
>
> They work fine together in my testing, but it quickly becomes a bit of
> a pain to have to select the "2" when typesetting. I guess you could
> just remap the command to typeset in the "classic" latex bundle, but
> given the increased speed and ease with the new bundle I just disabled
> the original one (from the bundle editor).
>
> Have fun,
> Paul
Hello All,
I wanted to take the new latex bundle for a text drive, but I'm not exactly sure how. If someone could give me 'instructions for a dummie' I'd be grateful. In particular:
1. How do I install it? I gather that I download it from http://github.com/lasersox/latex.tmbundle. I did this and a folder called lasersox.latex.tmbundle-b5bbb31 was created. Then what? The instructions in the textmate help regarding bundle installation don't seem to be appropriate at this stage. Perhaps already I am doing something wrong.
2. Once it is installed properly, will it conflict with the old latex bundle? How can I go back and forth between the two? Will my old custom snippets and commands still work, etc?
If there are some elementary instructions posted about this, you could just point me to those.
Thanks
Geoff Vallis
Hi,
Since I started using heavily Xcode lately, I realized that I miss so much few TextMate features while working with Xcode editor.
So I decided to fork BracketMatcher and make few TextMate inspired additions:
http://github.com/nanoant/xcode-bracket-matcher
* Auto closing of brackets and quotes: When you open a bracket or (double)quote, the plugin closes it for you and places the cursor (insertion point) between brackets (quotes).
* Auto deletion of both brackets: When the cursor (insertion point) is between empty brackets (quotes), pressing backspace (delete) removes them both.
* ] always wraps: Pressing ] when there is something selected, wraps the selection with square brackets, rather than replacing whole selection with].
* Whitespace display
Feel free to backport it to BracketMatcher.
Also I did new project:
http://github.com/nanoant/xcode-scripts
... where I gonna put my custom AppleScripts for Xcode. Now there are two:
* Duplicate - that mimics TM's ⌃⇧D
* Add Delimiter - that mimics TM's ⌥⌘↩
Cheers & happy easter,
--
Adam Strzelecki | nanoant.com
Hello! I will be out of the office from Monday, April 5th through Friday, April 9th. I will not have access to my email, but I will be sure to respond to your note upon my return on Monday, April 12th.
If you require immediate assistance, please contact our offices at 402-827-3590.
Hi there,
I have exactly the same problem like Carsten wrote.
But I am on the latest version of TextMate, Skim and OS X, but the problem
still occurs.
OS X: 10.6.3
TM: Version 1.5.9 (1589)
Skim: Version 1.3.5 (53)
Does anybody have a suggestion for me?
Thank you very much!!!
greetings
pooz
Carsten Hoever wrote:
>
> Happens to me as well, in most (all?) cases the problem appears when
> Skim was not opened yet. In this case Skim starts and becomes
> unresponsive after a while without displaying the document. The pdf
> itself, however, is created. If I open that manually in Skim and then
> invoke command+R, changes made to the LaTeX document are updated in
> Skim without any problem.
--
View this message in context: http://old.nabble.com/Skim-freezing-in-SL--tp25938407p28130160.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello! I will be out of the office from Monday, April 5th through Friday, April 9th. I will not have access to my email, but I will be sure to respond to your note upon my return on Monday, April 12th.
If you require immediate assistance, please contact our offices at 402-827-3590.
I know that I can cycle auto-complete options with ESC and get a pop-up with
auto-complete options by pressing Option-Esc, but is there a way to make
this happen automatically? As a noob to some of the languages I'm using I
like to see a list of the options I have on an object.
Thanks.
I just went through a cleanup and organization of my Desktop as it was
getting a bit messy. Part of that mess was the number of TM Project
files that started to collect there. I decided to put them in a
folder and then drag the folder to the Dock so I could get a popup of
the contents, the same as the Documents and Downloads folder.
After I did this I found that that Textmate would open, but the
contents where in red coloring and not available to me. After some
looking I found that files contained the path to my files relative to
where the Projects file was created. I thought that at this point it
would be faster to simply edit the files in Terminal with vi rather
than re-create everything, and also better since I would retain all
the settings that were embedded.
As a test on one of them I changed the path from a relative path (../
Sites/foldername) to an absolute one (/Users/myname/Sites/foldername)
and it opened everything the way I expected. But after I closed the
project in Textmate, I found that the path had once again reverted to
relative again (../../Sites/foldername). I ended up changing a dozen
or more files anyway, and now all is good, but I can't imagine what
the effort would have been if I had many, many projects.
So I guess I am wondering why this is the behavior, and why Textmate
can't use an absolute path which would make management of the Project
files a lot easier. And before someone asks, I do a lot of online
testing of different installations and I like having direct access to
the Projects without having to navigate to them in the Finder and
finding them in the actual folder name. I also don't have the Project
file(s) cluttering up my site files either.
This is my first post to this list, based on the website
recommendation that bundle bugs should be posted here.
I have added several commands to my own bundle for some work. Last
night I added a new command, then worked on it and tested it for about
90 minutes. I didn't see any way to force a save of the command, so I
assumed it was being written out each time I clicked to another
command and clicked back.
However, a while later TextMate hung when I was running another of my
commands and I was forced to kill it.
On restarting TextMate, my new command and all the work in it was
gone, apparently unrecoverable.
Is there a way to force a command to save, or does this mean I should
regularly quit and restart TextMate to avoid this potential loss?
-- Ron
This line also breaks; changing "/100" to "/ 100" fixes it. I'm guessing
regular expression catchers are to blame again:
print $q->br()."<SMALL class=footer>Page
took ".(int(((times)[0]-$stime)*100)/100)."s to generate</SMALL>";
Syntax highlighting on the Perl bundle appears to have a problem. The
following line breaks everything following it because it's matching
the 's' as the start of a text replacement. I tried to fix it but this
bundle syntax is just way too complicated for me.
%foo = ( s=>"bar", f=>"baz" );
Hoping someone out there can provide a fix. Thanks.
Hello,
Is there a way to setup to auto show function pop-up and/or prototype when
typing inside the function scope?
E.g., assuming PHP:
preg_match('[cursor here and a pop-up showed up].
Sorry if it is totally basic, but I searched the manual and the function
pop-up section doesn't tell anything related.
Thanks,
Alfred R. Baudisch
hi, i just recognized that dictionary option is not working properly ? any
idea? when i press control+command+d nothing happens?... that option was
very useful. anyone has same issue? my config is Snow Leopard 10.6.2 and
TextMate Version 1.5.9 (1510)
i'm not sure if this is discussed already... thanks in advance
I have a problem with GetBundles: When I start it, it basically
hangs while connecting to the server. It has been like this for
some time (I do not remember if it ever actually worked for me).
I have tried removing all my TextMate application support folder
but it did not seem to help.
After I close GetBundles, I all the options in the "GetBundles"
menu are greyed out. If I quit TextMate, a ruby process is left,
which I kill manually.
Any suggestions?
I am on 10.6.2, ruby 1.8.7.
Thanks.
I've extended css code-folding to include groups (ala cssedit) by tweaking
the css language file
foldingStartMarker =
'/\*\*(?!\*)|\{\s*($|/\*(?!.*?\*/.*\S))|\/\*\s*(a)group\s*.*\s*\*\/';
foldingStopMarker = '(?<!\*)\*\*/|^\s*\}|\/*\s*@end\s*\*\/';
(I didn't write these regex, but I found them here
http://css-tricks.com/forums/viewtopic.php?f=8&t=2783 )
Works brilliantly, but my question is how to extend the css code folding
from within other types of files (like HTML, PHP etc.) Doing a bunch of
one-off pages and it would help greatly.
TIA
saul
Thanks all for the help and comments about the Latex bundle. Sorry if it has gone off topic, but as you can see, I have no way to figure out what is the responsibility of TextMate, of the LaTeX bundle and what has to be handled by something else again e.g. MacTex or TexLive Utility.
I have downloaded and installed MacTex and now when I run the command latex I get "This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)". Says to me that MacTex is also known as pdfTeX and also known as TeX Live 2009. Three different names gets pretty confusing. I also downloaded and installed TexLive Utility which gave me some encouraging feedback and then failed miserably
"2010-03-23 18:11:18 +0000 Notice -[TLMAppController checkVersionConsistency][51322] Looks like you're using TeX Live 2009…good!
2010-03-23 18:11:18 +0000 Notice -[TLMAppController checkVersionConsistency][51322] *** WARNING *** Potential version mismatch between tlmgr and mirror URL http://mirror.ctan.org/systems/texlive/tlnet/2008
2010-03-23 18:11:21 +0000 Notice -[TLMOperation main][51322] termination status of task /usr/texbin/tlmgr was 2
2010-03-23 18:11:21 +0000 Notice -[TLMOperation main][51322] Standard error from `/usr/texbin/tlmgr --machine-readable --location http://mirror.ctan.org/systems/texlive/tlnet/2008 update --list`
tlmgr: package repository ftp://ftp.tex.ac.uk/tex-archive/systems/texlive/tlnet/2008
unusable location ftp://ftp.tex.ac.uk/tex-archive/systems/texlive/tlnet/2008/tlpkg/texlive.tlpdb, could not load any packages
Cannot load TeX Live database from ftp://ftp.tex.ac.uk/tex-archive/systems/texlive/tlnet/2008 at /usr/texbin/tlmgr line 3919."
So I am part of the way there and now lost in another quagmire I have no idea how to fix. I appreciate this is off topic and I have to go find a list that specialises in TeX to sort this and hope they are gentle with me and don't keep pointing me to the command line :D
Lucy
I've been using the LaTeX bundle successfully with TextMate. But I have come unstuck when I want to install a new font, for example Garamond.
From http://www.ctan.org/tex-archive/fonts/mathdesign/ I see I must;
(1) Install a package called mathdesign
(2) unzip the file mdugm.zip into the root directory of my texmf tree
My questions to the list are
(1) How do I download and install a package with TextMate / the bundle / using the terminal ?
(2) where do I find the textmf directory in SnowLeopard ?
Thanks
Lucy .
I wrote a program in C++ which does some long calculations. For information
purpose it has a "cout" function which tels me about a progress of
evaluation.
I'm used to compile my program via TM with my own boundle-command script
which looks like that:
------------------------------------------------------------
echo "<html><body><pre>"
make | pre
find_name="grep 'NAME=' ./makefile | cut -c 6- "
cmd= `eval $find_name | awk '{print "./"$0}'`
$cmd
echo "</pre></body></html>"
------------------------------------------------------------
My problem is that the standard output (text that "cout" presents) is shown
at once after program is finished (but non during program is running) so I
don't see progress of calculation.
Is there a way for presenting standard output in these case (in real-time)?
--
View this message in context: http://old.nabble.com/Problem-with-real-time-presenting-standard-output-%28…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I'm referring to the reflow comment command in this screencast:
http://blog.macromates.com/2006/customization-screencast/
I have TextMate set to wrap at 72 characters, and currently the command
is not reflowing this text correctly:
/*
* This constructor takes a pointer to a void function that should
* define a set a of transformations to move this cube to its starting
* point in the 3D coordinate system. Transformations include
* translations, scaling and rotation. (Scaling can be performed
* uniformly by using the Cube(float sideLength) constructor.)
*
* Parameters:
* - a function pointer that to a void function with no parameters
*
* Outputs: N/A
*/
When I run the command, bound to ^Q, I get this result:
/*
* This constructor takes a pointer to a void function that should
* define a set a of transformations to move this cube to its starting
* point in the 3D coordinate system. Transformations include
translations,
* scaling and rotation. (Scaling can be performed uniformly by using
* the Cube(float sideLength) constructor.)
*
* Parameters: - a function pointer that to a void function with no
* parameters
*
* Outputs: N/A
*/
(I have hard-wrapped the line in question to indicate that TM is
soft-wrapping here, as the line is longer than 72 characters.)
Here is the command I'm using (copied from the comments on the linked
article):
#!/usr/bin/env ruby
txt = STDIN.read.gsub(%r{\A/|\*/\z}, '')
txt = txt.gsub(/^[ \t]*\*[ \t]*/, '')
txt = %x{ fmt <<< '#{txt.gsub(/'/, "'\\\\''")}' }.chomp
txt = txt.gsub(/[$`\\]/, '\\\\\0')
txt = txt.sub(/(\n(?=\n))?(\n*)\z/, '\1$0\2')
print "/* " + txt.to_a.join(' * ') + " */"
How can I modify this command to reflow correctly at 72 columns?
Thanks in advance,
--
Adam Sharp
www.adam-sharp.net
I'm working on a magento bundle. It is currently on github and getbundles can install it.
so of my work has over lapped with the php completion bundle but some has not.
The php completion bundle won't be able to auto complete for Mage::getSingleton('catalog/product');
Since in magento you use the factory pattern a lot I build my own bundle. What I'm looking for is how many users use magento and what features of a bundle would they like?
The current bundle does the following:
1. Auto complete for classes used in factory methods aka Mage::getSingleton({the classes here});
2. Takes you to a definition of a class
3. Tab trigger for <?php echo $this->__('$1'); ?>$0
The next version will do:
1. Show parent inheritance (80% done)
2. Auto complete for the Mage class (100% done)
3. Take the user to the Magento online class documentation.
Timothy
Hey all,
I'm running the newest versions of both TextMate and WordPress and am
looking to use the blogging plugin to edit/create content on my blog. I have
read the post here:
http://blog.macromates.com/2006/blogging-from-textmate/
And I have posted comments to it with minimal response. I'm wondering if
anyone has got the two to work together and if so, how you did it. Any help
would be greatly appreciated!
Cheers,
Dana W.
Hi TextMate folks.
I've written a little applescript to do what I regularly need to do - open a folder in TextMate if and only if it's not already open, from the command-line. (I have command-line scripts to set up my workspaces for each project for me.) Is there another way to do it? Not that I could see, although it's tricky to keywords-search that one. I kind of feel it should be a command-line option to the "mate" command.
Script is up here:
http://gist.github.com/322512
Comments and criticism appreciated. Please feel free fork it and make your own modifications and improvements if it is useful to you.
Caveats:
I'm no Applescript ninja - in fact this is my first, learn-by-doing foray.It should be clear that I have been working out variable scoping by trial and error. Tidying could happen.
The entire section to bring the window that contains your folder of choice to the front is broken - there seems to be no way to get between window objects and document objects despite what the Applesscript dictionary says, as noted by Alan Watson http://lists.macromates.com/textmate/2009-March/028352.html
If you run it using a path such as "." or ".." instead of an absolute path, textmate will hang. Not quite sure why.
I've assumed you are trying to open a folder rather than a file, and that opening a parent of said folder counts as that folder being already open
Have fun,
Dan
Hey guys,
I was using a bundle(I think) that adds the option "Open link in browser"
(or something like this) to the context menu in a "Plain Text" file, but
last week I was doing some cleanup and accidentally removed it :( Someone
know the name of this bundle?
Thanks in advance :)
--
http://plentz.orghttp://twitter.com/plentz
Hi,
I'm new to textmate (evaluating it) and bibtex and tex, so my question may
be of the newbie variety.
I've got bibdesk working ok, and was able to add citations to my document
using the BibDeskTMCompletions tool. But, when I run Bibtex from the LaTex
bundle menu, I get the following error:
Traceback (most recent call last): File
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/bin/texMate.py",
line 471, in tsDirs = find_TEX_directives() File
"/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/bin/texMate.py",
line 306, in find_TEX_directives startDir = os.path.dirname(texfile) File
"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py",
line 119, in dirname i = p.rfind('/') + 1 AttributeError: 'NoneType' object
has no attribute 'rfind'
I'm guessing it's some problem with an environment variable or something.
Or maybe some python problem? I'm a bit out of my league here, but eager to
learn. Any help would be appreciated!
Thanks,
Derek
Hi
Did anybody succeed in using Textmate for lisp. I get the following error
when I press Apple-key + R:
xcodebuild: Error: the directory /Users/userName does not contain an Xcode
project.
Thanks,
Raj
>Did you check for spaces in path to your graphics file? I had a
>similar problem awhile back that was solved by renaming folders, or
>just moving the pdf to the same directory as the .tex document.
>Kyle H. Ambert
>Fellow, National Library of Medicine
>Oregon Health & Science University
Yes the first thing I did was place the .pdf directly in the folder.
>To set LaTeX preferences in TextMate, press ⌘⌥, or select the menu item “Bundles > LaTeX > Preferences…”
>—Alex
Oh how I know it. I have read all the documentation and I cannot find
anything that tells me exactly what to put in these preferences. In
order to get Textmate to use the same engine that my TeXShop is using.
Anyone else have any ideas??
If I'm editing an open tab in my project, I'd like to be able to
automatically reveal the associated file in the project drawer. Is this
possible?
thanks,
-Morgan
Ok, there is one small feature I need before switching to TextMate from
BBEdit. Is there any way to force everything to be opened in one window? AKA
tabs or a list in the sidebar? My habit is to drag various documents into
the TextMate icon, but having 10+ windows open is a pain.
--
View this message in context: http://old.nabble.com/Forcing-documents-to-open-in-one-window--tp27844492p2…
Sent from the textmate users mailing list archive at Nabble.com.
I'm just getting started with TextMate and want to use it for C++
programming. I'm wondering if people can give me some pointers and tricks on
how to do that (other than the stuff in the C and other bundles, of course.)
Right now, all I'm really using is the syntax highlighting, auto-indent and
brace-matching. Everything else could be done in TextEdit.
One thing I specifically want to do is trigger my projects GNU 'make' script
and then have the output pipped into a TextMate window. Not that hard to
write a plugin for (though if anybody already has one, point me to it.)
However, the tricky part is that I want to link file names in the output to
files in TextMate in case the compiler spits an error at me. That means
either being able to click on something like "./includes/GUI/graphs.cpp:210"
and being taken to that file and line in TM, like a hyperlink, or having TM
put highlights/bookmarks/whatever directly at the line in question. Is this
at all possible?
I've searched Google and this list but I nothing has jumped out at me so far
(though the results are so long for "C++ textmate" that there may be
something buried there I'm not seeing.) If anybody can tell me how they use
TM for writing C++ projects using the GNU compiler tools (g++, make, GDB,
etc.) I'd really appreciate that.
--
-Matt T.
Hi,
I downloaded the zip for the makefile bundle, but I get this errors when
trying to use the bundle. It seems like i'm missing some files in order to
run that bundle effectively, where do I get them?
Error:
/tmp/temp_textmate.HtJz9T:3:in `require': no such file to load --
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor
(LoadError) from /tmp/temp_textmate.HtJz9T:3
Ted.
--
View this message in context: http://old.nabble.com/Error-when-running-bundle-tp27843697p27843697.html
Sent from the textmate users mailing list archive at Nabble.com.
I am switching from using TextMate for all of my programing tasks. The
last (and incredibly frustrating) hang-up I am having is getting it to
compile my LaTeX documents. Whenever I add the command
\includegraphics{filename.pdf} to a file it chokes even thought if I
open the same LaTeX document with TeXShop it compiles perfectly. The
output I get even when I am using verbose is not very helpful, even
though I have been using LaTeX for 7 years or so.
I compile in TexShop with the Latex command and it appears from the
log that it is accessing the "/usr/local/texlive/2009" directory.
Further TeXShop is set with the following settings (I have also
attached a screencap of these settings:
Path settings
(pdf)TeX (default: /usr/texbin)
/usr/texbin
Distiller (ghostscript) (default: /usr/local/bin)
/usr/local/bin
pdfTeX
Tex (default: pdftex)
pdftex --shell-escape
Latex (default: pdflatex)
pdflatex --shell-escape
TeX + dvips + distiller
Tex (default: simpdftex tex)
simpdftex tex --maxpfb
Latex (default: simpdftex latex)
simpdftex latex --maxpfb
I am guessing that Textmate must be calling a different version of
latex that does not like to be fed .pdf files.
The PATH that Textmate recovered the first time I tried to compile a
LaTeX document is:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
Is there a way I can set Textmate to use the same engine that TexShop is using?
Thanks,
Robi
Hi guys,
When I was trying to do some interactive input with Perl in TM, I got some
weird output.
For example, I use this script:
#!/usr/bin/perl -w
$pi = 3.14;
print "What is the radius? ";
chomp($radius = <STDIN>);
$circ = 2 * $pi * $radius;
print "The circumference of a circle of radius $radius is $circ.\n";
When I run the script and input "4", the output is this:
4
What is the radius? The circumference of a circle of radius 4 is 25.12.
I mean, when I input "4", I don't see the msg "What is the radius?".
Shouldn't TM first show this msg and then, as the user, I input "4"?
I know that there is some issue with interactive input in TM
(http://blog.macromates.com/2009/interactive-input/). Before I made the
changes mentioned in that thread, I was even not able to use interactive
input in TM. Now I can, but it just seems weird as mentioned above. And if I
run the script in the Terminal, everything is OK - I first got a msg "What
is the radius?", then I input whatever I want.
Any ideas about this?
Thanks,
Jon
--
View this message in context: http://old.nabble.com/Interactive-input-in-Textmate-%28for-Perl%29-tp278167…
Sent from the textmate users mailing list archive at Nabble.com.
For example, if I run a Java program with ⌘-R or typeset a LaTeX file
with ⌘ -T, I will get some version of the following erro:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb:169:in
`fcntl': Inappropriate ioctl for device (Errno::ENOTTY) from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb:169:in
`run' from
Ideas?
Thank you.
I'm confused about the C++ bundle. I do not have a C++ bundle in my textmate installation. The closest thing I've got is Objective-C++, and extensive searching online does not reveal one. However the tone of all the list discussions of C++ that I've read through looking for a bundle link act like it's a non issue implying it's part of the install. Still I'm ending up with no authoritative link to a bundle. Are my bundles screwed up? Or can someone point me to the current and correct C++ bundle?
Not Make, not Objective-C++, but simply C++. There appears to be a 'C++ Qt', but I strongly hope that is not the current and correct C++ bundle. If it is someone needs a stern talking to.
Thanks,
j