Or here's a simpler, if less pretty, way of doing that taken from the
Sweave manual:
echo "library(\"utils\"); Sweave(\"$TM_FILEPATH\")" | R --no-save --
no-restore
I prefer all the nice HTML you get from using tmR.rb though.
Alan et all,
Don't know how practical, but I thought I would put it out there -
I do a lot of converting of Words docs to html. JT's tidy MS Word
command is a godsend, but there are things that I need to search and
replace for -- things like empty p tags, apostrophies, quotes,
emdshes, etc
I never have (yet) qotten my head around grep/stdn etc, so I end up
using search/replace.
My question is whether it would be feasible to convert search/replace
macros to their command equivalents, which I could then just append on
to msword tidy?
--
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
I have been trying to create a snippet that can transform the text at one of the tab stops but am having difficulty, I have consulted the hlp system and it describes how to transform a tab stop when using mirror typing, but I don?t want to have a mirror, I simply want to force one of the tab stops to be uppercase, no matter what character I type, almost as though I switched caps lock on when entering that tab stop and off again after leaving it.
Does anyone know if this is possible? And if so how?
Many thanks
Chris
i would like to be able to perform a simple browser-like back/forward
through the files that i'm viewing/editing. since my normal usage is
to be working with many files simultaneously and i'm using the
project drawer to jump around, i'm always losing track of where i
was. it would be a HUGE time saver to have a "back" command that
could cycle through the last few files that i've loaded into the editor.
note that i've tried using the prev/next file tab commands, but that
just doesn't cut it as the tab placement is completely random based
on the way i work and there are usually a couple dozen of them.
does anything like this exist?
thx.
-scott
Hey all,
if i do, in a ruby file :
#!/usr/bin/env ruby
require 'plist'
plist=Plist.parse_xml(my_info_plist)
within TextMate i get :
NameError: uninitialized constant Plist
altought this script is running well from terminal doing a :
> ruby essai.rb
the ruby used is the same (/opt/local/bin/ruby)
i did setup within textmate some enverironnement variables :
TM_RUBY => /opt/local/bin/ruby
RUBYOPT => -rrubygems
GEM_HOME => /opt/local/lib/ruby/gems/1.8
they all correspond to what i get in the Terminal ie :
> which ruby
/opt/local/bin/ruby
> echo $RUBYOPT
-rrubygems
> echo $GEM_HOME
/opt/local/lib/ruby/gems/1.8
the, i don't understand where the prob comes from...
Hi,
is it possible to change the subversion bundle to allow the diff
actions to take the selected folder in the project drawer as its target?
Thanks in advance,
--
Pedro Melo
JID: melo(a)simplicidade.org
So: I notice that there isn't a Velocity (VTL) bundle available, and
it's listed as something people are interested in. I also can't see
one in the Subversion repository.
As a result: I'm interested in one, and I'm working on one. So far
(after 1-2 hours work) it covers syntax highlighting for keywords in
Velocity lines, as well as single-line comments; there's also some
basic snippets for commonly used methods (set, cparse, parse, if,
foreach). It also inherits all the HTML highlighting/functionality,
obviously.
If anyone else is interested in this bundle, I'd be very grateful for
feature requests and suggestions on what syntax highlighting should
cover. I'd also be interested to know what it *shouldn't* do.
At some point I'll see if I can get an SVN login and put it into the repository.
Anyhow, thought this might be of some interest.
t.
Thanks to Chris, Torsten, Allan and Thomas for the awesome new
subversion bundle.
I do have a few minor feature requests for your consideration:
- Add Commit button directly to the Status window so commits can be
done straight after reviewing the changes
- Add propedit svn:externals command to menu (on selected file) and
allow the externals editing in a subversion window
- Add svn:ignore command to menu (on selected file)
- In the status window, allow setting svn:ignore via shortcut on ?-
files (similar to the Add link)
Any chance you find any of this worth implementing?
Thanks again for your great work.
Sebastian
Hello,
I'm having some problems with the blogging bundle in TextMate. I've
run 'Setup Blogs' and configured it properly. I hesitate to post the
configuration here for public consumption, but if I will email it
directly if need be.
When I try to post or fetch posts, I get this error:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:9:in
`expand_path': couldn't find HOME environment -- expanding
`~/Library/Preferences/com.macromates.textmate.blogging.txt'
(ArgumentError)
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:9
from /tmp/temp_textmate.3tWil3:2:in `require'
from /tmp/temp_textmate.3tWil3:2
Any help would be appreciated.
-Zach