> Bundles → Bundle Editor → Show Bundle Editor… → Filter button
>
> You always want the TextMate, Text and Source bundles to be enabled.
Worked like a charm, thank you....
Boysenberry Payne
Habitat LIfe, Inc.
http://www.habitatlife.com/
> From: Michael Sheets <mummer(a)whitefalls.org>
> Date: January 23, 2010 3:10:53 AM MST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Messed up my perl bundle
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> On Jan 23, 2010, at 3:32 AM, Boysenberry Payne wrote:
>
>> I messed up my perl bundle, i.e. it no longer indents after brackets opening brackets, etc.
>
> Bundles → Bundle Editor → Show Bundle Editor… → Filter button
>
> You always want the TextMate, Text and Source bundles to be enabled.
>> From: Boysenberry Payne <boysie(a)boysenberrys.com>
>> Date: January 23, 2010 2:32:44 AM MST
>> To: textmate(a)lists.macromates.com
>> Subject: [TxMt] Messed up my perl bundle
>> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>>
>>
>> Hello,
>>
>> I messed up my perl bundle, i.e. it no longer indents after brackets opening brackets, etc.
>>
>> I did several things like install new Bundles, plugins etc. today and didn't check it until after doing it all, so I'm not really sure what broke it.
>> Anyway, I was hoping there was a way I could restore the perl bundle. I've already deleted both the ~/Library and /Library versions as well as deleted it in TM and restored it via the instructions online.
>> Nothing has fixed the issue. TO tell you the truth I'm not sure the bundle is even broken per se, just that it no longer indents after { etc...
>>
>> Anyway I can fix this?
>>
>> Thanks,
>> Boysenberry Payne
Hello,
I messed up my perl bundle, i.e. it no longer indents after brackets opening brackets, etc.
I did several things like install new Bundles, plugins etc. today and didn't check it until after doing it all, so I'm not really sure what broke it.
Anyway, I was hoping there was a way I could restore the perl bundle. I've already deleted both the ~/Library and /Library versions as well as deleted it in TM and restored it via the instructions online.
Nothing has fixed the issue. TO tell you the truth I'm not sure the bundle is even broken per se, just that it no longer indents after { etc...
Anyway I can fix this?
Thanks,
Boysenberry Payne
Hi. I did notice this before, but it is still there :/
Find dialog. RegExp, a text selected, Option-Find [Sigma] (to count only in the selection) => gives you wrongly the whole matched count, not the count inside the selection.
Thanks
(This message was already forwarded to bibiko(a)eva.mpg.de)
Hello -
I recently upgraded my OS and started having strange problems with the R
bundle. Multiple helper daemons would be spawned every time I typed in a
function name!
The problem code is patched below. I use MacPorts' "R", which does not match
the "/Lib.*" regexp. Instead, it should match "/opt/local/lib/R/bin/exec/R".
Any other patch should work as well.
Without the patch, every time there is an error with the "help" function, a
new "R" is spawned; (see the attached as an example). I had over 20
processes running at once, and was wondering why my fans were on and my
system was slow... :-)
Thanks!
-Andrew.
--
Andrew D. Fernandes, Ph.D. (andrew(a)fernandes.org)
Departments of Biochemistry and Applied Mathematics
The University of Western Ontario, Canada
Mobile Telephone +1 519 614 8106
Index: Bundles/R.tmbundle/Support/bin/startRhelperDaemon.sh
===================================================================
--- Bundles/R.tmbundle/Support/bin/startRhelperDaemon.sh (revision 11908)
+++ Bundles/R.tmbundle/Support/bin/startRhelperDaemon.sh (working copy)
@@ -1,4 +1,4 @@
-RPID=$(ps aw | grep '[0-9] /Lib.*TMRHelperDaemon' | awk '{print $1}' )
+RPID=$(ps aw | egrep '[0-9]
(/Lib.*TMRHelperDaemon)|(/opt/.*TMRHelperDaemon)' | awk '{print $1}' )
#check whether Helper daemon runs if not start it
if [ -z "$RPID" ]; then
WDIR="$TM_BUNDLE_SUPPORT"/bin
Hi
What is the best way to build this engine from TexShop
#!/bin/tcsh
set path= ($path /usr/texbin /usr/local/bin)
set filename = "$1"
set asyname = "${filename:r}.asy"
pdflatex -synctex=1 "$filename"
asy -v "$asyname"
pdflatex -synctex=1 "$filename"
Best regards
Alain Matthes
Hi,
I have this little problem, when I want to compile
with xelatex and with the xdv2pdf driver, I need to
go in the prefs of the LaTeX Bundle.
Remark : xdv2pdf is a good driver with the mac and
dvipdfmx _default driver_ has a problem with transparency)
I need to use xelatex engine with
option : -output-driver="xdv2pdf" -synctex=1
But I work normally with pdflatex and I need
to change all these prefs after each compile
with xelatex
With TexShop, I use
%!TEX TS-program = xelatex-xdv2pdf
How to get this with TM
Thanks
Best Regards
Alain Matthes
Forgive me if this has been beat to death on this list, but is there any
suitable way to develop in python using TextMate? The code collapsing
doesn't work, and the included python bundle does something I consider,
well, wrong by indenting blank lines to maintain the indentation level. This
isn't really a great thing to do.
Any tips?
--
Wells Oliver
wells(a)submute.net
The simplest "program" is two lines long -- the problems are related to matplotlib only:
import matplotlib.pyplot as plt
plt.figure()
I set the environment variable TM_PYTHON to /sw/bin/python
In Terminal, "which ipython" returns /sw/bin/ipython
If I execute both lines in ipython, the matplotlib window pops up, as expected.
While my two-line script is running in TextMate,
ps -Am
returns two (why two?) python processes:
1835 ?? 0:00.83 /sw/bin/python -u /Users/claushaslauer/Desktop/present work/test/mtplTest.py
1812 ?? 0:00.89 /sw/bin/python -u /Users/claushaslauer/Desktop/present work/test/mtplTest.py
sampling those two processes results in essentially identical files, only difference is the number in front of each line. I attached both files, because I can't interpret them.
For matplotlib:
In [3]: matplotlib.__version__
Out[3]: '1.0.svn'
installed via
http://macinscience.org/?page_id=6
Does this point to any issue?
Thanks,
Claus
On 2010-01-10, at 4:35 PM, textmate-request(a)lists.macromates.com wrote:
> Message: 6
> Date: Sun, 10 Jan 2010 15:59:02 +0100
> From: Allan Odgaard <mailinglist(a)textmate.org>
> Subject: [TxMt] Re: still problems with matplotlib
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <4DF5B26D-1A4B-4F45-89E7-94A5C7DF9A17(a)textmate.org>
> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
> delsp=yes
>
> On 10 Jan 2010, at 14:04, Claus wrote:
>
>> I removed the tm_interactive_input.dylib, however TM (python bundle
>> -- run script) is still keeps running for a long time until I "stop
>> task", no error message.
>>
>> Does anybody have other ideas?
>
> Run ps/pstree to see if Python is running.
>
> Use ?sample ?pid?? to sample the python process, that might give an
> idea of why it is stalling.
>
> Try minimize your script to the smallest possible that can reproduce
> the problem.
>
> ------------------------------
Hi there,
There seems to be a bug in the LaTeX bundle's reference/citation
auto-complete for my specific set-up.
I'm fairly sure I've fixed it (though its possible this is not the best /
most generic method) so I'll try to describe my problem / situation:
In my project I have a master .tex document, and several other .tex files
(each with something like the following line as their first line):
%!TEX root = ../thesis.tex
When I attempted to auto-complete references/citations I'd get this error
(output directly in my file at the cursor, not as a pop-up or tooltip):
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in
`initialize': No such file or directory -
/Users/andrew/Documents/Uni/Papers/Writing/Thesis/thesis.tex
(Errno::ENOENT)
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in
`open'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in
`options'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:45:in
`master'
from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:56:in
`get_labels'
from /tmp/temp_textmate.oacqrp:8
File:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb
The file that it claims does not exist definitely exists, but in the error
message that was output in my document, there was a diamond character
immediately after "thesis.tex", visible because i have the "Show Invisibles"
TextMate setting enabled.
I copied the text including the diamond character and pasted it into a
web-based ascii-to-hex converter (http://centricle.com/tools/ascii-hex/) and
it seems to be the character %0A, i.e. the Line Feed or new line character
(\n), suggesting the script is erroneously including the \n as part of the
TEX root filename property.
- I've checked the document in TextMate with Show Invisibles on and cannot
see any extra characters
- I've also tried deleting the line and typing it out again
- I've tried using absolute and relative paths for the root document
property
None of these solved the problem (and none had any detrimental effect after
I'd fixed it as described below).
I've fixed the problem by editing the script:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb
and changing line 42 from:
new_master = (master.parent + Pathname.new(opts['root'])).cleanpath
to:
new_master = (master.parent + Pathname.new(opts['root']*.strip*)).cleanpath
This fix would probably break the functionality of the root file if the full
specified path is required to start or end with a space (e.g. the root file
is called "master.tex "). I don't think quotation marks are allowed here to
account for this somewhat unlikely scenario, but it may well break the
script for someone. Perhaps a slightly better fix would be to remove a
single trailing \n character if it is present (however this is beyond my
Ruby scripting abilities).
Anyway, hope this is of some help and some kind of fix can be put into the
official bundle
cheers,
Andrew