Hi.
I'm new to textmate (although I did at least buy a license for it),
and have one of those questions that probably comes up a lot. In my
defense, I did first skim through the beta-book from Pragmatic
Programmers on "Power Editting" with TextMate, and I did try a number
of searches on both the wiki and some of the mailing lists archives.
I haven't found any mention of what I wanted to find, but maybe I just
wasn't picking the right search terms. So, apologies if this is one
of those hot-button topics which people are tired of hearing of...
In any case, what I want to have is a combination of hard tabs and
soft tabs, and I can't see how to get what I want out of TextMate.
What I want is my tab-intent to be a soft-tab (using blanks) at 4
spaces, but I also want hard-tabs (using the actual tab character) to
be used for 8 spaces. So, if I tab once I want four spaces, if I tab
twice then I want a single tab character, and with three tabs I want a
tab-character followed by four spaces. I can get this behavior out of
XCode, and it would be very very useful to me if I could get the same
behavior out of TextMate.
In XCode, I get this behavior via the "Indentation" preferences, by
turning on "Tab key inserts tab, not spaces", and setting tab width=8
and indent width=4. Apologies if I'm missing some obvious setting in
TextMate.
Thanks for any suggestions. Other than this one oddity, TextMate
looks like it could be very useful and productive for me -- once I can
master all that it can do! :-)
--
Garance Alistair Drosehn = drosihn(a)gmail.com
Senior Systems Programmer
Rensselaer Polytechnic Institute; Troy, NY; USA
Is there a way to search within a single file and have all matches be
highlighted? Or as an alternative, have the results show in a window like
the search-in-project feature does?
Thanks,
Ernest
--
View this message in context: http://www.nabble.com/Highlighting-all-matches-in-a-search-tf3145124.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
I am using extensively the new label completion macro
which is really very good and fast. I have a problem though:
all my equation labels have the form \label{eq:labelname}
and the macro chokes on them. If I type
labelname
then invoke the opt-esc shortcut and chose 1 i.e.
"label based on current word", I get
\\${1:eqref}{eq:labelname}
Clearly the colon is the problem. Any workaround,
apart from changing my label style (which is one
of the standard ones, however, used e.g. by Auctex)?
Thanks,
Piero
Just updated the LaTeX bundle (revision 6490) and I am getting the
following error when I use the Build Citation command after choosing
a citation command (such as `\cite{}`, say) from the list:
/Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
69:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of
fileparse_bibfile'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
194:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filecall'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
163:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileeach'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
162:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileeach_pair'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
161:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileeach_pair'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
154:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of
fileeach_with_index'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
153:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of
fileeach_with_index'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
153:in /bin/bash: -c: line 1: unexpected EOF while looking for
matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filecite_scan'
from /Library/Application Support/TextMate/Support/lib/LaTeXUtils.rb:
23:in
All the best, Mark
i've managed to screw up some of the default text-mate bundles.
is there an easy way to revert to the default shipping items?
the blog implies that diffs from the defaults are kept in a specific
place, and removing these would revert. but that didnt seem to be the
case for me...
tx,
/dc
-------------------------------------------
David "DC" Collier
mailto:dc@pikkle.com
+81 (0)80 6521 9559
skype: callto://d3ntaku
-------------------------------------------
Pikkle 株式会社
http://www.pikkle.com
-------------------------------------------
i had to remove the OS-X included broken version of Ruby, and now get
this error message when using certain commands like comment out block
in textmate :
env: ruby: No such file or directory
so i assume TM is piping the text thru a ruby script to do these operations.
so, how do i tell textmate where to look for Ruby?
all systems are go in the shell ::
dc@bb > which ruby
/usr/local/bin/ruby
dc@bb > ruby --version
ruby 1.8.5 (2006-08-25) [i686-darwin8.6.2]
for now i did a hack to symlink from the apple default location ( usr/bin )
to where i have ruby185 installed, but this doesnt seem optimal:
dc@bb /usr/bin > sudo ln -s /usr/local/bin/ruby ruby
I do have a .bash_login
which textmate -should- source to create a shell environment before
any scripts are run?
>> Instead TextMate runs a custom script (named bash_init.sh located
in $TM_SUPPORT_PATH/lib) before executing the actual shell command(s).
This custom script contains the following code: <<
thanks for any tips.
/dc
-------------------------------------------
David "DC" Collier
mailto:dc@pikkle.com
+81 (0)80 6521 9559
skype: callto://d3ntaku
-------------------------------------------
Pikkle 株式会社
http://www.pikkle.com
-------------------------------------------
Is anyone interested in a language grammar for the DOT language?
I have created a decent starting point and am looking for suggestions
as to what is lacking so far.
Elio Grieco
Here's what I want to do:
- select a function name
- hit hotkey to jump to the next place that selected piece of text is
used
the way I have to do it now is
1. select text
2. cmd+e
3. cmd+g
I just want steps 2 and 3 to become a single step. I was just hoping
I missed the hotkey somewhere.
Hi there
I hope someone can help me out.
I wanted to use TextMate for blogging to my Weblogs. One that is important
for me, since i am an artist, is that i can post to MySpace easily. How can
i achieve this?
Thanks for your help!
--
View this message in context: http://www.nabble.com/Blogging-to-MySpace-tf3121719.html#a8649255
Sent from the textmate users mailing list archive at Nabble.com.
I have released a combination of TextMate commands and a Wordpress
plugin for Wordpress 2.1 that allows for better handling of tags when
blogging from TextMate. [1]
The plugin, UTW-RPC, overrides a few functions in the xmlrpc.php
file, implementing Robin Lu’s hack[2] for Ecto and Ultimate Tag
Warrior. This automatically will make the Keywords header function
with TextMate and allow the Keywords: field to insert and display
Ultimate Tag Warrior tags from posts. (It will also provide the same
functionality for all other blogging clients that recognize the
mt_keywords header).
The plugin also adds a hook, metaweblog.getTags, that the TextMate
commands use to retrieve the tags from your blog and provide various
functions with. The commands are rudimentary at this point and are
provided as proof of concept. I could use some serious help with
implementing a fuzzy search on the autotag command.
Thanks,
Brett
[1]http://blog.circlesixdesign.com/2007/01/26/utw-rpc-10/
[2]http://www.robinlu.com/blog/archives/57
Hi all. I'm trying to set a $TM_ variable in new template to get the
project name (without filepath and extension) but I cannot find a way
to do so. I searched through many messages in this list but I cannot
find any answer to my question.
Setting ${TM_PROJECT_FILEPATH} in the template file configurator,
creating the new template it will output:
/Users/webrevol/Desktop/test.tmproj
Instead of:
/Users/webrevol/Desktop/test.tmproj
how can I get only the filename without extension?
test
Anybody? Many thanks in advance.
…when I can’t post to the list anymore.
Messages kept bouncing the past days (took them about three days,
either). Forced me to resubscribe. So consider this a “test” and
apologies for it.
Soryu.
Please ignore this mail. I’m having trouble posting to the list from
this email address. Hope this is resolved now. If not, you won’t even
see this, so why are you complaining, anyway? ;)
Soryu.
hi,
I am wondering if anyone has developed something to support named bookmarks,
e.g. within a project context.
I found Haris' blog post on a way to support global bookmarking:
<
http://skiadas.dcostanet.net/afterthought/2006/06/09/global-textmate-bookma…
>
Thanks-- that is a useful start! The HTML/link interface works well. I was
thinking of messing with it further to support naming the bookmarks that are
written to the file, and maybe associating them with a project name.
(However, since I've not used Ruby and am SUPPOSED to be writing a paper at
the moment it might be a while until I get to it.)
Has anyone else done something like this already? Apologies if I missed it,
nothing was obvious in the bundle list etc.
-Amy
On 1/25/07, Sean Schertell <sean(a)datafly.net> wrote:
> Another great version control system is Mercurial (also called "hg").
> It's also similar to CVS, SVN but lighter-weight and arguably more
> reliable.
>
> The OpenSolaris project and many other major projects have switched
> over to Mercurial full-time so it's not really a totally left-field
> system, and it's gaining traction fast.
>
> Definitely worth a look:
> http://www.selenic.com/mercurial/wiki/
>
> There's even a TM bundle for it :-)
>
> Sean
>
Yes, Mercurial is definitely worth a look.
One of its advantage over CVS or svn is that it is a distributed
system, that means you can work and commit locally before pushing to
the remote repository. It's easier to use locally too, as the
repository and the working copy are in the same place, you can have
everything in one folder.
After installing Mercurial and the bundle, open a folder in TM, hit
ctrl + shift + M and choose "init" then "AddRemove" to add all the
files (eventually create a .hgignore file before to exclude some
files) then "commit" and BOOM ;), your folder is under revision
control.
I made the Mercurial bundle as it is now. I plan to work more on it
when I have the time, but I think it's already really usable now.
Please, give me feedback if you use it. I plan to make a
tutorial/screencast about it one day too.
--
FredB
I'm trying to write a macro or command (not sure which will be
better) for doing a word count on LaTeX documents. The basic task is
simple enough: I want to run the command "ps2ascii [file.pdf] | wc"
on file.tex (where file.tex is the current file I'm working on) (I've
tested ps2ascii and it works fine for the types of documents I'll be
writing).
However, I also want to strip the footnotes from my word count. To
do so, I've defined the footnotes with a custom command that I can
redefine as empty:
\newcommand{\fn}[1]{\footnote{#1}}
% \renewcommand{\fn}[1]{}
So, the whole task I need to do is:
1) Uncomment the \renewcommand line
2) Re-run LaTex
3) Run ps2ascii | wc on the generated .pdf
4) Display the output of that command as a ToolTip
5) Re-comment the \renewcommand line (so the file is back in its
original state)
Unfortunately, I don't know how to string these things together, nor
how to get the argument for the ps2ascii command from the current
filename variable TM_FILENAME (i.e., how to substitute .pdf
for .tex). I can add unique comments to the end of the \renewcommand
line so it can be picked out by a regex search, if that helps.
Suggestions? I'm also open to other ideas for getting the same end
result, if there's an easier way.
Colin Hahn
»Geben Sie mir Kaffee, dann mache ich Phänomenologie daraus.«
"Give me my coffee so that I can make phenomenology out of it." --
Edmund Husserl
While writing a latex document using the array package, I noticed that
the line
\newcolumntype{R}{>{$}r<{$}}
confuses TextMate into displaying all following lines as if they were in
math mode.
Any chance there's an easy fix?
Chris
Hello all,
I am trying to find information in regards of how to copy and paste text in
a new line, for example:
before snippet:
myText
after snippet:
myText
theText = myText
currently I am able to create a snippet that will copy the selected word and
create a new line like this:
theText = $TM_SELECTED_TEXT
but of course this replaces the selected text so I did the following
$TM_SELECTED_TEXT
theText = $TM_SELECTED_TEXT
and this works great if there is only one line of text but lets say I need
to select a certain word in the middle of a pharragraph then i get the
following
before snippet:
first word theText second word
after snippet:
first word theText theText = theText second word
as you can tell the snippet inserts the comman din the middle of the
sentence, is there a way to avoid that?
TIA
Helmut
Attached is jpg of what Markdown looks like in Preview
(markdown1.jpg) and what the same file looks like in Print Preview
(markdown2.jpg).
Excuse my ignorance.
Why does the Print Preview change the Markdown Preview fonts? I
prefer the markdown Preview look.
Is there a way to have the Print Preview print exactly what is viewed
in the the Markdown Preview?
Thank you.
Can anyone advise on how best to do interprocess communication with
TextMate:
I'd like to be able to write a script (or whatever) that will tell
TextMate to select a particular line in the front most document.
AppleScript would be the perfect fit here, but I get the feeling this
isn't possible with TextMate's current scriptability. Am I wrong?
Any other ideas on how to achieve this effect?
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
> Yeah, that's because folding patterns aren't currently
> sophisticated enough to
> allow folding for markdown lists, sections (between headings),
> quotations, etc.
> Hopefully this will be different in TextMate 2.0. We'll have to
> see how Allan
> decides to make folding work. If it's based on scope, I hope we'll
> be able to
> fold all of the above.
>
> If you want to have some other folding mechanism, you could make
> the folding
> pattern more complicated, but it would require mirrored beginning
> and ending
> markers of some sort.
Would it be possible to set it up so that two returns mark the end of
a section to be folded? I ask be cause I'm in the habit of using two
returns anyway to visually signal the end of a heading and if it were
possible to set this up via the Bundle editor, my life would be good.
Example:
# Heading
Some text here.
* Maybe a list.
More text here.
# Another Heading.
Hello everybody,
I just wanted to share this experience, to find out if someone else
can report this TextMate behaviour.
In a LateX-document I want to write the following
\emph{delay}
what comes out 90% of the time is something like this:
\emph{ldeay}.
At first I thought I just cannot control what my fingers are doing,
but having tried out \emph{de}
while watching on my fingers (getting \emph{ed}) I thought it might
be something related to
TextMate or my setup.
This is what I type:
cmd-i, d,e
This is what I use:
pbook 12" 1GHz
Mac OS X 10.4.8
TextMate Version 1.5.4 (1349)
Can someone report similar behaviour?
Can someone help?
Thanks
Christoph
~~~~~
Christoph Biela
cbiela(a)gmail.com
(I just joined this list, so I can't properly reply to the original message)...
In the earlier thread about MacFUSE and sshfs, Michael Reece mentioned
that his files get written with a "Dec 31 1969" modification time.
I've seen the same problem. I've only seen this problem when using
sshfs with TextMate. If I touch the file outside of TM, the timestamp
is updated properly.
sshfs works fantastic with TextMate otherwise, so I hope there's a
solution to this.
Kevin
Hi,
It's been bugging me for a while: "Shift Right" will leave all lines
consisting only of whitespace completely blank, even removing
existing whitespace.
That really bugged me, so I tried to write my own "Shift Right"
command to replace the built-in one. But it seems that the lines my
code gets are already stripped of 'trailing whitespace'.
Any idea how I can tell TM to leave my whitespace alone?
Thanks
Gerd
Hi all,
I have the following document preamble, and I want to compile in
PDFLaTeX, but TM keeps falling back to XeTeXk, and I can't figure out
why. Any suggestions?
-N
% !TEX TS-program = pdflatex
% untitled
\documentclass[12pt,english]{article}
\usepackage{babel}
\usepackage{pdfsync}
\usepackage{amsmath, amsthm, amssymb}
%\usepackage{palatino,eulervm}
\usepackage{fullpage}
\usepackage{setspace}
\usepackage{fancyhdr}
% Surround parts of graphics with box
\usepackage{boxedminipage}
% This is now the recommended way for checking for PDFLaTeX:
\usepackage{ifpdf}
%\newif\ifpdf
%\ifx\pdfoutput\undefined
%\pdffalse % we are not running PDFLaTeX
%\else
%\pdfoutput=1 % we are running PDFLaTeX
%\pdftrue
%\fi
\ifpdf
\usepackage[pdftex]{graphicx} \else
\usepackage{graphicx} \fi
%% LaTeX Preamble - Common packages
\usepackage[pdftex,colorlinks,breaklinks,bookmarks]{hyperref} % PDF
hyperlinks, with coloured links
\definecolor{dullmagenta}{rgb}{0.4,0,0.4} % #660066
\definecolor{darkblue}{rgb}{0,0,0.4}
\hypersetup{linkcolor=red,citecolor=blue,filecolor=dullmagenta,urlcolor=darkblue}
% coloured links
% \hypersetup{linkcolor=black,citecolor=black,filecolor=black,urlcolor=black}
% black links, for printed output
%\usepackage{epstopdf} % to include .eps graphics files with pdfLaTeX
\usepackage{natbib}
\newtheorem{hypothesis}{Hypothesis}
\newcommand{\superscript}[1]{\ensuremath{^\textrm{#1}}}
\newcommand{\subscript}[1]{\ensuremath{_\textrm{#1}}}
--
----------
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'm working on an action to allow me to quickly open a url in textmate:
res=$(CocoaDialog inputbox --title "Open URL" \
--informative-text "URL:" \
--button1 "Okay" --button2 "Cancel")
[[ $(head -n1 <<<"$res") == "2" ]] && exit_discard
res=$(tail -n1 <<<"$res")
/usr/bin/env ruby -e "require 'net/http';require 'uri';Net::HTTP.get_print
URI.parse('$res')" | mate
Basically, I'm using ruby to grab the page and output the content to stdout,
then piping that to TextMate. If i call this from the command line, it
works perfectly. problem is, if i call this as an command from within
textmate, it completely freezed the app. The page does open, but tm becomes
completely unresponsive and I have to quit and restart. any ideas what I'm
doing wrong?
thanks
-dave
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.
Hi there,
Taking a dummy example string like:
KIBRA
C/T
T/T
C/C
Questions
1/ Using the keyboard, how do I make a zero-width column selection at the
last position for each of the bottom three lines? The manual suggests that
holding option-shift while moving (arrow) from the top to the bottom lines
should do it, but this doesn't create the right selection for me, and when I
push option, the selection is not converted to a zero-width column cursor
(nothing happens).
2. Can I type at the end of each line (given that the lines end on different
columns)?
_______________
''The people shall not be deprived or abridged of their right to speak, to
write, or to publish their sentiments; and the freedom of the press, as one
of the great bulwarks of liberty, shall be inviolable.''
James Madison
Annals of Congress 434 (1789).
Hello!
My TextMate has been malfunctioning lately and I've been unable to repair it.
I've tried reinstallning and purging all settings I could find, but no
difference.
Here's what doesn't work:
* Creating a new file in the project drawer (nothing happens)
* All of the popup windows (for HTML validation etc) are totally blank
Any ideas on how to troubleshoot this?
Thankful for any help,
--
Christoffer Sawicki
http://vemod.net/
If anybody is used to the // {{ and // }} folding in vim and wants the same
in TextMate you can use the following language config to do similar things
with Ruby.
#begin ten
=begin
This is inline documentation
=end
def ten
10
end
#end
The following will create a fold between #begin and #end as well as add a
fold for =begin/=end comments.
Add the following two lines to your Ruby language file in the
foldingStartMarker section . . .
|begin
|=begin # line 1
|[#]begin # line 2
|for|while|until
and these two to your foldingEndMarker section . . .
| ^ \s*+ [}\]] \s*+ ([#].*)? $
| [#] .*? \(end\) \s*+ $ # Sune's special marker
|^=end$ # line 1
|[#]end$ # line 2
)';
Hope this is helpful.
'njoy,
Mark
--
Cropp's Law:
The amount of work done varies inversly with the time spent in the
office.
Hello everybody.
I added some functionality to my cocoa-completion command. It will now
show context based completion suggestions when the type of the reciever
can be deduced. If it can not find a method based on class, then it will
revert back to the old behaviour giving you all possible candidates. The
command currently only gives context sensitive information for AppKit and
Foundation.
Here are the two cases that give context-sensitive suggestions: (^ is the
caret) hit alt-Esc as usual.
[NSString someClassMethod^]
[[object pathWithComponents:myArray]
instanceAndClassMethodsThatWorksOnAString^]
Due to a bug (that crashes TextMate) that I have not managed to track down
I have restricted the functionality, so that one always have to type
atleast one char before completions are available.
The command uses methods from rubycocoa
(http://rubycocoa.sourceforge.net/), so be certain to have that installed
and that it can be reached from the standard ruby interpreter (or change
the she-bang line in the command).
If you like this version of the completion command, then please tell me
and I will switch the one in svn to this.
Joachim Mårtensson
I have recently switched to a mac. And I tried re-installing ruby from the
default 1.8.2. To 1.8.4. I followed the install instructions from
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger.
Everything from those instructions seems to install fine. But now textmate
doesn't know where ruby is..
it's weird.. if I run ruby from the command line or irb it works fine.. But
textmate compains about not finding it. (when using the Subversion bundle).
Textmate says it's searching all these different directories (one happens to
actally have ruby in it). but Textmat still can';t find it..
on other thing I noticed.. is that if i do a >>whereis ruby<< it doesnt show
anything.. I'm thinking that's the problem but how do I fix it..
any ideas?
thanks all.
I've recently installed the CTags bundle and can't get it work
correctly. I first installed the bundle, downloaded, built, and
installed Exuberant CTags (into /usr/local/bin). When I ask the
bundle to update all tags, I get a "ctags timed out" message and it
fails to find any tags (i.e., look up of a tag fails).
Any suggestions?
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
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
Hi all,
I've only recently started to use TextMate, and I'm doing what you
all did in your first week... implementing the Emacs commands I can't
live without :-)
I noticed that there is no Emacs kill-sentence support, so I
implemented it:-
http://fommil.me.uk/Emacs%20Sentence.zip
Including the commands to cut from the cursor to the end of the
current sentence, and navigate back/forward sentences.
Emacs defines a sentence (with one space after the fullstop) as
[.?!][]\"')]*\\($\\|\t\\| \\)[ \t\n]*
but I edited that to use extended regexes and count colons. Emacs
also cheats and uses a bunch of other special tests for paragraphs
without a fullstop etc, so I included that too
[.?!:;][\]"')]*\s+?|$\s*?$|\Z
which is unfortunately hard-coded into all the macros as I didn't
know how to create a bundle-wide constant.
There is a little bug which means if you navigate back on the first
sentence in the first line of a file, you will be off by one. This is
such a small bug that I can't be bothered to fix it, although I'm
open to suggestions for fixes.
I bound navigation to alt-left/right (as I use ctrl-left/right for
word navigation) and kill-sentence as alt-k (same as Emacs). shift-
alt-right will work as expected, but I do not know what to do about
shift-alt-left; I'd like to hear any hints on how to get that to work.
cheers,
Sam
--
http://fommil.me.uk
Yes! Thats it...but what about the other Tags? Like Code, Quote, Img
and so on? I think you really should add this feature to your bundle!
I like the thing that the Bundle takes the text for the URL from the
pasteboard! Good Job.
> BTW, you better follow Jacobs' advice about "Edit in TextMate" than
> "paste the text back".
I know that i can do it this way, but as i mentioned earlier i'm
working as a writer for a board so i have to write some quite big
posts BEFORE i upload them. You know i have to do some research and
so on. I already know that Edit in TextMate is a really good feature
- believe me. But sometimes i have to write in TextMate, save it on
harddisk and then just paste it back in the browser. Writing these
Posts with TextMate is just more fun, than this little stupid editor
which comes with the Browser Software like vBulletin and phpBB.