Dear list,
after some initial discussion on the R-SIG-Mac-list I decided to send
my question to this list as well ...:
I encountered a problem in the combination of the SWeave and the LaTeX
bundle: when I start "Sweave, typeset & View", the .Rnw-file is
processed, but the log window shows "Error: PDF file not written to
disk" and the tex-file is not processed.
However, the sweaving was successful, as a valid .tex-file is in the
same folder which can be typesetted by latex without problem.
So, in general it works, I just want to avoid the extra step of
opening the .tex-file and would like to see my pdf directly opened
from SWeave-Bundle.
Some ideas already have been posted on the R-SIG-Mac-list, but they
didn't work for me:
http://article.gmane.org/gmane.comp.lang.r.mac/3953/match=sweave+pdf+file+n…
Did anyone encounter the same problem / any suggestions for solutions?
Best regards,
Felix
Hello. When TM is looking at a file that was opened as a result of a
3rd party ftp application, is there any way to get to the full url
path to the remote server?
In BBedit, I would see sftp://foo@example.com/example.com/files/some_place/test.php
I would like to be able to access that url above, in each file, in
order to make a bundle. The idea is, that if I can get to that, I can
parse it, and inspire TM to open a browser and run the current code I
am working on, at the correct url.
Currently, I have a comment line at the top of a file, which is read
and parsed, and then passed to open in a bundle, which will open in
Safari for me. It sort of works around some of the issues I have with
the refresh running browsers, as it only refreshes the one page.
I would love to be able to not have to write the comment url, and have
it be more automatic. The only path I can see to access in TM now, is
one that points back to a tmp location, which is local, and not remote.
--
Scott * If you contact me off list replace talklists@ with scott@ *
Recently I changed the keyboard shortcut for the Go To Fixture, Go To... etc
commands in the Ruby On Rails bundle.
I picked command-tilda as it's easy and not used by Text Mate.
Turns out Mac OS X uses it launch Front Row however.
At that point, those commands simply *disappeared* from the Ruby On Rails
bundle.
I've tried using the Bundles > Bundle Editor > Reload Bundles command but it
does not bring them back.
At this point, I'm considering:
# Deleting and reinstalling TextMate
# Manually recreating the missing commands, presumably by copy-pasting code
like this
(http://svn.textmate.org/trunk/Bundles/Ruby%20on%20Rails.tmbundle/Commands/G…)
into the Bundle Editor
Both seem doable but time-consuming and with no guarantee of success.
Any suggestions for a quicker fix?
Many thanks in advance,
Steven.
--
View this message in context: http://www.nabble.com/Restoring-a-Bundle-becausing-of-vanishing-commands-tp…
Sent from the textmate users mailing list archive at Nabble.com.
This is probably a stupid question, but how do I
revert/undo a change that I made to a Theme?
For example, I opened the Preferences menu, then went to
"Fonts and Colors", and messed around with shading, etc.
I clicked on "Selection", because I wanted to darken the color
of selected text. However, I did something to mess it up.
There's no "Cancel" button or "Undo" menu item, so what do
I do if I don't want to save my changes to the colors?
I suspect that the best idea would be to copy the color
theme before editing, but that seems sort of kludgy.
Thanks,
--Nate
I am having a new problem with a very simple thing that used to work:
>>> In TextMate, I have a test file test.rb
require 'rubygems'
require 'shoulda'
>>> After making sure that the textmate recognizes this as a Ruby source file, I do:
command-R
>>> I get this output:
LoadError: no such file to load — shoulda
method gem_original_require in custom_require.rb at line 27
method require in custom_require.rb at line 27
at top level in untitled.rb at line 2
copy output
Program exited with code #1 after 0.68 seconds.
>> Now, I go to the shell and do:
ruby test.rb
>> And it works like a champ. Checking environment:
$ echo $TM_RUBY
/opt/local/bin/ruby
$ which ruby
/opt/local/bin/ruby
$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.2
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [powerpc-darwin9]
- INSTALLATION DIRECTORY: /opt/local/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /opt/local/bin/ruby
- EXECUTABLE DIRECTORY: /opt/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- powerpc-darwin-9
- GEM PATHS:
- /opt/local/lib/ruby/gems/1.8
- /Users/pitosalas/.gem/ruby/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org/", "http://gems.github.com"]
- REMOTE SOURCES:
- http://gems.rubyforge.org/
- http://gems.github.com
>> You can see I suspect something with environment variables. I have been using Textmate this way forever without a problem. I am now logging into a new account on the same computer. I even re-installed TextMate.
I am stumped. I hope someone sees what I am missing :)
Thanks,
Pito
Hi,
I noticed a problem with non-antialiased "programming" fonts being rendered
in a strange way in my TextMate 1.5.8 (1498). Some letters will look wrong
and blend with neighbouring characters.
Example screenshot for Consolas (11pt) with highlighted problem zones, note
the distorted dot on the i and the blending e and {:
http://www.quicksnapper.com/ballaschk/image/consolas-11pt/
Example screenshot for Pragmata (11pt) with highlighted problem zones, note
the distorted "g", "w" and "s":
http://www.quicksnapper.com/ballaschk/image/pragmata-11pt/
Monaco looks great, but makes it too hard for me to differentiate between
certain characters:
http://www.quicksnapper.com/ballaschk/image/monaco-9pt
I did not test with Profont or other small-size optimized fonts, but will do
soon. Do you experience the same problems? Any hints how to correct it?
Cheers
Martin
--
View this message in context: http://www.nabble.com/Font-rendering-with-antialiasing-turned-off-tp2315196…
Sent from the textmate users mailing list archive at Nabble.com.
Every time I creates a tex file and compile it it generates me a bunch of
files (.aux etc etc) in the same directory.
Now I know that it's not a bundle's fault, doing it from the command line is
the same, but is there a way to make the pdflatex command put them somewhere
else (a tmp directory)?
--
View this message in context: http://www.nabble.com/Latex-bundle-and-too-many-files-tp23074031p23074031.h…
Sent from the textmate users mailing list archive at Nabble.com.
Thanks, Allan. Worked like a charm!
Regards,
Daniel Royer
On Thu, Apr 16, 2009 at 8:00 AM, Allan Odgaard wrote:
>> [...]
>> I notice in the status bar at the bottom of the editor window (to the
>> right of the Tab Size), there is a "Symbol Popup" menu. So it seems
>> like the information I need is available [...]
>
> It is not, but oft requested. The symbol in the status bar is not
> necessarily the ?current function?, it is just the first thing matched
> via some scope selector (optionally passed through some regexps) above
> the caret.
>
> What you can do is make a command that takes stdin as input and then
> do something like: SYMBOL=$(head -n$TM_LINE_NUMBER|grep ?function
> prototype regexp?|tail -n1). Have the command ?insert as snippet? and
> construct the snippet from the previous.
>
> I am adding an ?expose current symbol? to the to-do, since it seems a
> lot want this and don?t care that it might not be 100% correct (and
> whatever hand-roled solution they make is probably even less
> correct ;) ).
I have two Macs running TextMate 1.5.8. I have some personal bundles
that I want to keep in sync between the two machines. I tried this:
On machine A, modify a bundle and quit the Bundle Editor to save the
bundle.
On machine A, reopen the Bundle Editor and drag the bundle to my
Desktop.
On machine A, scp -r the bundle directory from my Desktop to machine
B, into my Desktop.
On machine B, double-click the bundle. TextMate says "do you want to
update?".
On machine B, I click "yes". It seems to work.
Yet the bundle on machine B doesn't have the changes that I made while
I was on machine A.
Any suggestions appreciated. Note that I have MobileMe, and would
love to cut down on the manual work that the above (unsuccessful)
approach requires.
-- Pete
Not sure if this is a bug or feature. I've found that the text
selection behavior upon double-clicking, then dragging, is way too
"greedy" of characters. Is this something that can be fixed, or
overrridden?
For instance, let's say you double click on the 'doQueryParams' in
this snippet of PHP:
doQueryParams($query, array() );
.... then drag to the right. Let's say that I want to select up to
and including the comma after "$query". Well, I can't - the selection
jumps to the end of "array".
Other editors like SubEthaEdit or TextEdit do what I would expect --
the non-alpha characters are selected individually, so I can select
the comma, the space, and then if I continue on it will select the
whole word 'array', then each parenthesis, etc.
Is it just me that's driven absolutely mad by this? It really slows
me down......
Dan
--
Dan Wood
Karelia Software — Sandvox for the Mac : http://www.karelia.com/
Follow me on Twitter: http://twitter.com/danwoodhttp://twitter.com/karelia
It is the habit of every aggressor nation to claim that it is acting
on the defensive. — Jawaharlal Nehru