Hello all
I am new to Textmate and this list but so far really impressed by the
program and the people posting here. My background is in molecular
biology and I will mostly use TM for text (MultiMarkdown is appealing
to me) not so much code.
Although I am slowly making my way through the manual I have not found
anything that would allow me to compare two textfiles and highlight
changes between them. "Diff" is not what I am loooking for because it
is based on lines. Writing manuscripts I don't use carriage returns so
a single difference in a paragraph will highlight the whole thing not
just the difference only.
FileMerge (in the Apple developer tools) is much closer and also
visually intuitive, but getting long in the teeth and having
difficulties with UTF-8.
Is there a Textmate bundle that will do this kind of comparison for me?
My sincere apologies if this question has been answered already,
Christoph
My workplace has standardized (a long time ago) on CVS for version
control. I'm used to using Subverison with svnX and a bit of command
line tomfoolery and haven't used CVS very much.
After much searching and demoing of applications I have come to the
conclusion that all of the graphical CVS clients for OS X out there
either a) are ancient, or b) are written in Java and are slow and
resource-hungry.
I've noticed that TextMate has CVS support, so I'm wondering if
anyone here has any tips on using the CVS plugin?
Neil
---
hushBOOM design
Web design, development & hosting -- Writing & Editing
http://www.hushboom.com/
In Ruby mode, I'd been using cmd-R to run my trivial little scripts,
but recently I came back to them and cmd-R no longer works. It
simply pops up an HTML window that displays the shell error message,
'/usr/local/bin/ruby: no such file or directory.' Running scripts
directly from Terminal still works, and my Ruby is in fact in /usr/
local/bin, so I'm basically stumped. What did I unwittingly change?
Thanks,
--p.
I've bough TextMate now after using the trial version - and the short
keys when writing rhtml or plain ruby don't work any more. I can't
get <%= %> by pressing ^Z or anything like that.
Down at the bottom I've selected HTML (Rails), Ruby on Rails, Ruby,
and even just plain HTML, but it don't work with any one of them. I
suppose that HTML (Rails) is the one I want.
Any ideas?
Mikael
Thanks. You're a tad over my head here, but I looked in the
application contents and a couple of files that might be what you're
speaking of, but I don't really have Ruby knowledge. I'm just using
textmate to do work in Tex and R, mostly.
Anyway, in Contents/ShardSupport/Support/bin, there's a file called
LatexLabelCompletion.rb. Perhaps this is it?
My TeX install is at /us/local/gwTeX/bin/power-pc-current/. It's a
fairly standard installation, in that I haven't made any modifications
to the MacTeX installation, so it's pretty as-is.
-Nathan
>I believe that the ruby script that fetches the path to your LaTeX tools is:
$TM_SUPPORT_PATH/Support/lib/LaTeXUtils.rb
If you look at this script, it has a function for fetching the location of the
LaTeX binaries called `tex_path`, which tries several different ways of getting
>to your TeX install, and should usually work. I'm not sure why you'd
be getting
>this error, as the script should only try to use kpswitch once it has found it
in the `tex_path` function. That is, the `tex_path` function explicitly tests
for the availability of kpswitch, so if it's not there, it shouldn't be getting
used later on.
>Maybe you can share some more details about your install.
>I can't really offer too much advice, because I have pretty much nothing to do
with the TeX bundle. Hopefully Haris will come back from wherever he's been
hiding, or someone else will step in with a solution.
Jacob Rus,
Harvard College
--
----------
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University
Resident Tutor
John Winthrop House, Harvard University
napaxton(a)fas.harvard.edu
http://www.fas.harvard.edu/~napaxton
=======================================================================================================
When you have to stay eight years away from California, you live in a
perpetual state of homesickness.
- Ronald Reagan
The most courageous act is still to think for yourself. Aloud.
-Coco Chanel
=======================================================================================================
I keep a bunch of markdown-formatted text files on my iDisk. I use
folding extensively in them, like this:
Some words{
* Text that is folded.
}
To the best of my knowledge, curly braces are the only way to fold in Markdown.
Sometimes I've been opening a file and seeing that the folding goes
from the top brace to some random point *inside* the folded text,
instead of to the closing brace or anything that could possibly be
construed as a folding marker.
I'm pretty sure that this is because when I create the file with one
TextMate on my iMac, edit it while away on my Macbook, and then open
up the changed file again on my iMac later (all the syncing and such
has happened in the meantime), somehow the metadata hasn't come along
with it. So when I open the file, I have the data on one but the
saved folding info for the old version, still. So the top brace folds
to the line number of where the closing brace *used to be*.
Now, the way I use my iDisk (and the whole reason why I use it at all
instead of Strongspace) is that it keeps a local copy on both my
Macbook and my iMac, as well as on Apple's servers. So to TextMate,
my iDisk probably looks local, and looks like it supports the extended
attributes, but maybe that stuff is lost in transit through the
network iDIsk. Either a ._something file is being skipped, or
something is causing extended attributes to be lost.
Is anyone else familiar with this kind of folding weirdness? Can any
one think of a solution besides turning extended attributes off? (For
example, if it is indeed that extended attributes are being lost, is
there a way to just force TextMate to always use ._something files?
Presumably, this would sync fine.)
Thanks,
j
I had the same problem, but resolved it by deleting the
~/Library/Application Support/TextMate/Support directory (without
trashing any installed bundles or the application itself, Rev 1349)
> Blogging worked with no modifications, so I would toss your TM, toss
> your Application Support/TextMate folders in both ~/Library and /
> Library (or save to desktop) and try again.
>Also make sure you Check For Updates in Prefs and get the cutting
> edge version
--
Mark James Adams
Drosophila Genetic Resource Center
Kyoto Institute of Technology
<http://www.dgrc.kit.ac.jp>
Hi there all,
I'm using TM 1.5.4, OS X 10.4.8 and I am typing up a LaTeX document. When I
go to insert a label or reference, I type "\ref{}" and then hit option-esc
to bring up the list of labels for refs and figures. I can select one of
the items that pops up, but then TM inserts inside the brackets:
sh: line 1: /usr/local/teTeX/bin/i386-apple-darwin8.6.1/kpsewhich: No such
file or directory
fig:BeliefReX
So the figure label is there, but so is an error from the lookup procedure.
I know that I don't have this directory because that's not where
i-Installer/MacTeX puts an installation anymore. What's causing the error
message, and how do I get rid of it?
Thanks.
--
----------
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University
Resident Tutor
John Winthrop House, Harvard University
napaxton(a)fas.harvard.edu
http://www.fas.harvard.edu/~napaxton<http://www.fas.harvard.edu/%7Enapaxton>
=======================================================================================================
When you have to stay eight years away from California, you live in a
perpetual state of homesickness.
- Ronald Reagan
The most courageous act is still to think for yourself. Aloud.
-Coco Chanel
=======================================================================================================
--
----------
Nathan A. Paxton
Ph.D. Candidate
Dept. of Government, Harvard University
Resident Tutor
John Winthrop House, Harvard University
napaxton(a)fas.harvard.edu
http://www.fas.harvard.edu/~napaxton
=======================================================================================================
When you have to stay eight years away from California, you live in a
perpetual state of homesickness.
- Ronald Reagan
The most courageous act is still to think for yourself. Aloud.
-Coco Chanel
=======================================================================================================
wondering whether I'm misunderstanding the script Generate References
from the wonderful Markdown2Book.
my problem of building markdown.references while using the scripts
that came with this nice tool is maybe best described with the sample
I found here:
http://lists.macromates.com/pipermail/textmate/2006-February/008160.html
In my idea I could just:
- download this sample called `manual`
- start up a new project
- put all files from the folder `manual` in it
and start writing and it would create a reference for pages I would
add. For example adding a page:
040_my_test
would create a markdown.reference if I start referring to this page
like [see][myTest] and run the script `Generate`.
Or would I need to put: [myTest]: 040_my_test.html
in the markdown.reference file myself?
If I do it that way it works but I do need to add the `040_` in front?
Is this the correct way to do this?
Or should the `Generate` script choose the titles of a page as a
reference itself.
tia,
Gert
I am having a problem with the HTML bundle.
When I use the tag triggers to insert an element with a self closing tag (like <input />) or drag in an image (<img />) it does not put it in the XHTML format, even though the doctype is XHTML strict.
In the bundle editor (using the <input> example) it says:
<input type="${1:text/submit/hidden/button}" name="${2:some_name}" value="$3"${4: id="${5:$2}"}${TM_XHTML}>
Now I assume that this: ${TM_XHTML} is some kind of variable which decides whether to put the XHTML bit it. But it doesn't seem to work.
Any help would be much appreciated.