Hi,
Would it be possible to have scope show up for the current position in
the status bar, along with line, column and language? IMO it would
probably make theming etc a lot easier.
Max
hello, is it just me, or is the Python bundle broken?
- I deleted ~/Library/Application\ Support/TextMate
- I deleted the Bundles directory inside TextMate.app
- I checked out svn/Bundles/trunk at /Library/Application\ Support/ and
created a symbolic link 'TextMate' to 'trunk' (it was the only way to
get the bundles recognize)
now, python source files are uncolored, eventhough the files are
correctyl recognized as Python code.
any ideas?
tom
p.s. thanks for the ^m command for markdown, whoever that was!
--
Tom Lazar, http://tomster.org
I like the new changes to the pdflatex command. However, for it to work
on my system I had to go back to Apple's apache rather then the apache
2 WebServerXKit I installed. So I made a nominal change to the html
path and include it here if anyone is interested:
# If PDF file is non-empty and apache is running, redirect.
if [ -s ${tmp}.pdf ] && [[ $(ps -xca|grep httpd) ]]; then
cp "$tmp.pdf" /usr/local/apache2/htdocs/web_kit_workaround.pdf
chmod 666 /usr/local/apache2/htdocs/web_kit_workaround.pdf
echo
"<script>window.location='http://localhost/web_kit_workaround.pdf'</
script>"
elif [ -s ${tmp}.pdf ]; then
echo "<strong>Error: Apache not running (we can no longer redirect
to file://localhost/...)</strong>"
else
echo "<strong>Error: PDF file not written to disk</strong>"
fi
Otherwise, beta6 is working great in LaTeX
Robert
My textmate freezes on startup! No idea why... except I was using it
last night when it started behaving strangely... clicking on the buffer
tabs wouldn't do anything unless I clicked on the topmost 2 or 3 pixels
of the tabs.
Things started getting generally screwy, so I saved the project and
restarted textmate... and she hasn't launched successfully since.
Any ideas?
Cheers,
jL
Certainly, this might an odd request, but is there some way to delete
line breaks (\n) in a text document? Or, only when there are two in a
row (double spacing)? I'm trying to clean up some large files and it
would be easy if I could plunk our large sections and take out the
double returns.
Thanks, v
I posted this to the wiki, I think it was missed, and I thought it
might be good to bring up here anyway for fuller discussion.
It would be great to have the option of buying a noncommercial or
student license for TextMate. I bring this up because I would benefit
(qualifying for both myself), but also I think that this is something
you should consider because it might bring in more total revenue via
added registrations you would otherwise not get.
Hi,
I recently played around with The Remembrance Agent
(http://www.remem.org/) and Carbon Emacs. Remem (as it's commonly
called) is a pretty nifty associative memory prompter originally
designed to work with wearable computing devices, with an Emacs
frontend. The idea is that it scans the text you type continuously and
suggests related files from a database you've specified. As the core
of the system consists of two non-Emacs-related binaries, I was
wondering if it would be possible to duplicate the Emacs frontend in
TextMate? Given TextMate's HTML display capabilities, it would be nice
to have a little window at the bottom of the screen with clickable
links to files that are related to whatever I'm working on at the
moment.
This is the kind of thing you're unlikely to see in a word processor,
and would effectively duplicate a lot of the functionality of
DevonThink (http://www.devon-technologies.com/products/devonthink.php).
People have been raving about associative memory apps for years, but
they haven't really come into their own yet. TextMate might be a fun
playground to try it out.
Speaking of things which Emacs has but TextMate doesn't at the moment,
how about abbrevs? I'd like to be able to replace common misspelled
words (the for teh and so on) automatically, and under Emacs I have a
big abbrev file that does this. Could one do this e.g. with input
patterns?
Just brainstorming here, thanks for your patience...
- Hannu Rajaniemi
Working with Mark Smith an a context bundle I am trying to get the same
html output as generated with the latex bundle but I am having troubles
calling the PDF into the browser.
Here is what I have, a hack of the LaTeX bundle:
# PDF ConTeXt
# Save Current File
# Input=Entire Document
# Output=Show as HTML
# this requires pdflatex Web2C 7.5.3
# Below are the instructions for the html output of the texexec run
command
cat <<EOF
<html><head><style>
* { color: #998; }
a { color: #000; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
</style></head><body><pre>
EOF
# below is the name for the temp file called by texexec
tmp=`mktemp /tmp/texexecpdf_XXXXXXXX`
# If TM_LATEX_MASTER not set use TM_FILEPATH
[ -z "$TM_LATEX_MASTER" ] &&
export TM_LATEX_MASTER="$TM_FILEPATH"
# Here is the actual command followed by the perl script to find the
output.
cd `dirname "$TM_LATEX_MASTER"`
texexec --pdf --nonstop /tmp\ `basename ${tmp}` `basename
"$TM_LATEX_MASTER"` \
| perl -pe '$| = 1; s/^(\/.*?):(\d+):\s*(.*)$/<a
href="txmt:\/\/open?url=file:\/\/$1&line=$2">$3<\/a>/'
# If PDF file exists and not empty, display it. This is were I loose it!
[ -s ${tmp}.pdf ] && echo '</pre><meta http-equiv="Refresh"
content="0;URL=file:///'${tmp}'.pdf">'
{ sleep 30; rm ${tmp} ${tmp}.*; } </dev/null >/dev/null 2>&1 &
The command runs fine and displays the log file as it should, but does
not load the PDF. At the end of the context log, the output that
texexec registers is:
Output written on c_position_authority.pdf (1 page, 7354 bytes).
This is the name I gave to the original file, not texexecpdf.xxxxxxxx.
Should it be?
Transcript written on c_position_authority.log.
return code : 0
run time : 2 seconds
sorting and checking : running texutil
TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : c_position_authority.tui
output file : c_position_authority.tuo
I am using Web2c 7.5.4
Any suggestions?
Thanks
Robert