I installed os-x 10.5 last weekend. Since then, when using TextMate
1436 and LatexWatch, I observe the following behavior: the pdf preview
window, in TeXShop, doesn't gain focus and refresh until I click on it:
it then refreshes . If I switch to Skim as previewer, no refresh even
with clicking on the Skim window to give it focus. I had been using
both for several months, without any problem whatsoever.
Here is the console line I get regarding TeXShop as previewer:
10/29/07 10:03:11 AM TextMate[177] loadPlugIn: Dialog plug-in with same
bundle identifier (com.macromates.dialog_plug-in) already loaded
With Skim, I get the following window message:
Unable to read notes for ~/Documents/Work/Writing/Journal/2007/July.pdf,
but a Skim notes file with the same name was found. Do you want Skim to
read the notes from this file?
I click OK, but Skim doesn't refresh, though I have "check for file
change" preference on (and have restarted everything). Here is the
console reading concerning Skim:
10/29/07 10:24:14 AM TextMate[888] loadPlugIn: Dialog plug-in with same
bundle identifier (com.macromates.dialog_plug-in) already loaded
10/29/07 10:24:26 AM Skim[926] .sdef error: Operation could not be
completed. (NSXMLParserErrorDomain error 1549.)
10/29/07 10:24:26 AM Skim[926] line number: 2
I have sent as detailed a description I could to Apple Software/Support
but thought I could get some help from the LateX people on TextMate.
--Gildas Hamel
My Mac Mini is configured to use Skim as the PDF viewer called from
Textmate's LaTeX bundle, however I still view compiled .PDF files inside
Textmate. I need help configuring Textmate so that it will automatically
launch Skim.
Intel Mac Mini
OS X: 10.4.10
Textmate version: 1.5.7 (1436)
I have the following Textmate environment variables set in
Preferences->Advanced->Shell Variables:
TM_LATEX_ERRLVL 1
TM_LATEX_COMPILER latexmk.pl
TM_LATEX_VIEWER Skim
Skim Version: 0.9.3 (v15)
Skim has Prefereces->Sync "Check for file changes" checked and the Preset
set to "Textmate".
I am using fink's LaTeX distribution.
Skim works. It is my default .PDF viewer in Finder. I can use it to open
and view .PDF files.
If I successfully compile a LaTeX document in Textmate using apple-R, the
compiled .PDF file appears in the "Typeset and View" window owned by
Textmate instead of a Skim process.
I have another computer, a Mac Book, that as far as I can tell is configured
identically. On this machine, Textmate launches Skim as its .PDF viewer as
expected.
I'm out of ideas on how to debug this. Any suggestions?
Thanks for any help.
--
Bill McNeill
http://staff.washington.edu/billmcn/index.shtml
I've noticed some ctrl-key snippet wierdness in the Ruby Bundle.
Until the latest update, the ctrl-{ snippet to toggle blocks between
{} and do;end forms either didn't work at all, or worked
intermittently. I believe that this broke with the previous
cutting-edge update some weeks ago. I just checked for updates, and
I'm running 1436 as well, although the latest version mentioned when I
view the release notes is 1435.
Since Matt reported the problem with version 1436, I tried the snippet
just now, and here is how this line of ruby code:
a.each { | f| f }
evolves after a sequence of pressing ctrl-{ with the cursor after
either the { or do as appropriate.
a.each do |
f| f
end
a.each { |; f| f }
a.each do |;
f| f
end
a.each { |;; f| f }
On 10/29/07, Matt Freels <matt(a)furtherin.net> wrote:
> I just ran into a problem where after the recent update (version
> 1436), all of TM's shortcuts involving the ctrl key broke.
>
> All of the emacs-like keybindings seem to still work, though.
>
> I've tried resetting all of the preferences i could think of
> including a new user account.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Since the last update, my HTML colors are messed up if I have some
php at the top of the page, everything else after that is treated as
"embedded source" from the "fonts & color" pref pan.
If I just put: <?php ?> on top, it's fine, but if I put something like:
<?php require_once('_php/some_file.php'); ?>
The everything under is just a big chunk of the same color... Anyone
else got that? And found a way to fix it... Any suggestion much
appreciated.
Thanks!
- Yann
.........................................
Yann Bettremieux
minimal design LLC
244 Fifth Avenue
Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: yann(a)minimaldesign.net
site: http://minimaldesign.net
The information in this email may be confidential and/or legally
privileged. This email is intended to be reviewed by only the
individual or organization named above. If you are not the intended
recipient or an authorized representative of the intended recipient,
you are hereby notified that any review, dissemination or copying of
this email and its attachments, if any, or the information contained
herein is prohibited. If you have received this email in error,
please immediately notify the sender by return email and delete this
email from your system.
dvlogic wrote:
> You can use the matlab bundle from the SVN repository. Octave is
> mostly compatible with the matlab syntax.
I didn't know there was such a bundle. Thanks for telling me. But
where do I find it? I did find one from a few months ago (June) by
kjosmoen, but this didn't seem to be on SVN - whereever that is located
- and I don't know if it's the most recent.
Regarding your other questions, I don't know the answers unfortunately.
- Dushan
On 26 Oct 2007, at 01:07, DushanM wrote:
>> I'm using TextMate to write some script files for the computational
>> program Octave. These are text files, but TextMate insists on ad-
>> ding formatting that I don't want. How do I turn this automatic
>> formatting off?
Ciarn Walsh wrote:
> What kind of formatting are you talking about? Perhaps you mean
> indentation? You should make sure you have the language set to Plain
> Text by using the popup menu on the bottom of the window.
Thank you, that's just what I needed. I didn't know where the switch
was :)
> Even better, of course, would be to write a grammar for Octave ;)
Yes, that sounds like a good idea, but I'm too new to TextMate, and
to Octave, to know how to do that. Maybe later as I learn more...
- Dushan
Hi Steve,
> Anyway, that's just a long way of saying that I don't think it's TM's
> fault, but rather a design flaw in Spaces that I hope Apple will
soon fix.
Thanks for the quick reply and for explaining that, I'm glad it's not
TextMate.
I've used 3rd party virtual desktops for a few years, and I've never
seen that behavior before. As you say, I hope Apple fixes it soon.
Cheers,
- d
I'm using TextMate to write some script files for the computational
program Octave. These are text files, but TextMate insists on adding
formatting that I don't want. How do I turn this automatic formatting
off?
- Dushan
PS, I had sent this same msg almost a week ago, but never saw it appear
in the digest. But in the 'From:' I had forgotten to switch it from
<not.for(a)public.display> to my real email address. Could this be the
explanation?
I'm wondering if anyone else is using TextMate with Leopard Spaces and
seeing weird behavior.
If I open up a document window in TextMate in Space 1 and leave it
there, all is well and there's no problem. If I move the window to
Space 2, when I Save the document stays on Space 2 (like it should),
but the view switches back to Space 1. The same thing happens when hit
Command-F to find: the document stays on Space 2 while the view
switches back to Space 1.
If I close TextMate, switch to Space 2, then open a document,
everything stays on Space 2 and all is well. If I then move the
document window to Space 1, I get the same problems with switching
Spaces.
Is this a quirk with my setup or is anyone else seeing this?
- d
When I try to run a rake file that's not on the top
level of my project directories it refuses with this error:
RakeMate v2.0.0 running on Ruby v1.8.6 (/usr/local/bin/ruby)
>>> /Users/boysie/habitat/as/Rakefile
Could not locate a Rakefile in /Users/boysie/habitat/as.
my rake file is actually called rakefile.rb and is in /Users/boysie/
habitat/as/sprouts/HabitatClient/project.
But I benefit from having access to the files outside of the project
subdirectory so
I made the project bigger than just the sprout project folder.
Anyway to get it to find the rake file properly?
thanks,
Boysenberry
As a recent adopter of Textmate I've had a great time improving
productivity. But, today I was asked to update and relaunch. Dutifully, I
closed my files and clicked yes. The program reopened and I opened my latex
document, updated some text and hit apple R to run latex. This is the error
I've received:
/bin/bash: line 80: latexErrWarnHtml.py: command not found Error: PDF file
not written to disk
Apologies, but I have no idea what's happened here. Can someone help me get
Latex back (okay the file, and everything else, still runs fine on Texshop,
but I don't want to go back to editing there)?
Thanks in advance
Ben
--
Dr. Ben Wooliscroft
Senior Lecturer and Marketing Department Masters of Commerce director
Marketing Department
University of Otago
PO Box 56
Dunedin
New Zealand
Ph. 64(3) 479 8445
Fax. 64(3) 479 8172
Hello. This is mostly unrelated, but I know you can all offer advice
on this matter.
I've been on this list for ten days, and since then I've received
~275 messages. The majority of them are unimportant to me, but some
of them are. I need to figure out how to filter incoming messages, soon.
What methods do you people use to sort TextMate mail?
-Jeremy S.
Hi!
I have something like this:
cur.execute("""
select svc.post.id_post,
svc.post.id_post_zone,
svc.post.post_name as post_name,
svc.post_zone.zone_name as zone_name,
svc.post.id_post_type,
svc.post_type.post_type_name,
svc.post_type.post_color
from svc.post inner join svc.post_zone on svc.post.id_post_zone =
svc.post_zone.id_post_zone
inner join svc.post_type on svc.post_type.id_post_type = svc.post.id_post_type
where svc.post.id_post = :id
""",
{'id':post}
)
And want to do something with that sql text if its sql (colorize or
Command-R it via SQLDeveloper etc.). But scope for that string is
"source.python ... string.quoted.double.block.python"
Is it possible to fine tune scope selector? Any advice?
I'm getting the message "interpreter failed: No such file or directory" when
I try to use bundle commands that are written in Ruby, including commenting,
HTML's "Convert selection to entities" and so on.
I've verified that /usr/bin/env and /usr/bin/ruby are functioning properly
outside of Textmate, and that the paths within the bundle scripts are
correct (mostly using /usr/bin/env ruby).
I've also tried adding a ~/.MacOSX/environment.plist file with my PATH
information, but that doesn't seem to have any effect either (did make sure
to log out.
I also deleted the Textmate.app package and downloaded the latest version;
no joy.
Any other ideas on how to get this working again? It just stopped sometime
yesterday morning and it's driving me nuts!
-chris
--
Chris Yates
The Island Packet/The Beaufort Gazette
Minor question/request,
When working with templates or new files to have Textmate
automatically adjust the default file name used when hitting SAVE to
something other than "untitled"?
For example, if I create a BASH template, and one of my fields is the
file/program name, I wanted to be able to either:
1) hit "apple-s" and have Textmate pull a possible default filename
from the area/field I had defined.
or
2) select text; hit "apple-s"; and have the text selection become
the default filename
#####################################################################
# Program: ${1:filename.sh} <---THIS IS WHAT IM TRYING TO AUTO-
CAPTURE TO THE SAVE DIALOG
#####################################################################
# Version: ${2:0.1}
# Date: ${3:`date`}
# Author: ${4:John Doe (jdoe(a)email.com)
#
# Notes:
# $5
#
#
#####################################################################
... <insert lots of code here> ...
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
I had TextMate set up to download "Cutting edge" and it just
downloaded a new upgrade the other day. Before the download, I had
everything working just fine with TeXniscope, but after I installed
the upgrade, whenever I compile a LaTeX file in TextMate, it doesn't
open TeXniscope. TeXniscope does update the PDF file (or open it if
it's not already open) but it doesn't bring that file into focus like
it did before. Even if I type Cmd-Opt-Ctrl-O nothing happens. In
the typesetting dialog that comes up, there's a button that says
"Preferences" and I have the "Show pdf automatically" option enabled,
but it still doesn't bring TeXniscope into focus. Any ideas?
Keith
hello:)
I would like in this snippet
${TM_SELECTED_TEXT/(\s*).*/$1/m}\begin{${1:environment}}
${TM_SELECTED_TEXT/(.+)|\n\z/(?1:\t$0)/g}
${TM_SELECTED_TEXT/(\s*).*/$1/m}\end{${1:environment}}
remove the \t and instead use white space,
How to do that?
Regards Alain
Sorry if this is well-trod ground, but I couldn't find anything in
the archives...
I'd like to see TextMate automatically detect the presence of a
project file inside a folder which is being opened and use the
project file instead of making a fresh, unsaved project from the folder.
This is especially problematic when opening items from the command
line. If I cd into a parent directory and see a directory which I'd
like to open in TM, I must type "mate <dirname>" if there is no
project file available, but if there is a project file, I must type
"open <dirname>/<projname>". That is, I must use a different command
depending on whether a project file is present or not.
Furthermore, I must either remember whether I have created a project
for a given directory, or take the time to manually check for one via
ls. I'd much rather be able to take the same action every time and
let TextMate do the right thing.
Of course, the matter gets complicated if there is more than one
project file in a particular folder. Perhaps in that case TM can
prefer the one named to match the enclosing folder, ask the user, or
just fall back to existing behavior.
Does anybody have other thoughts on this?
Thanks!
--mkb
Ahoy Allan.
I know you get bugged about this plenty, but…
Now that Leopard is going to be out on Friday, when do you think
you'll be releasing the first pre-alpha build of TextMate 2?
I think you've talked about tm2 stuff before, but I'm not sure if
there has ever been anything concrete mentioned about timing.
I made a quick wiki page where we can collect all TM2 info.
http://macromates.com/wiki/Main/TextMate2
—Thomas Aylott – subtleGradient—
Hi,
I just saw that there is a tiny bug in the JavaScript function goTo
(id) in markdown_to_help.rb.
If you click at an item in the TOC it jumps to that anker but with a
wrong offset, meaning the beginning of the anker is hidden caused by
the TextMate header image.
To solve that problem easily I would suggest to do the following if
one predicts that the first image in the html source code is
"header.png":
markdown_to_help.rb:
old:
68: function goTo (id) {
69: document.body.scrollTop = document.getElementById(id).offsetTop
+ 8;
70: }
new:
old:
68: function goTo (id) {
69: document.body.scrollTop = document.getElementById(id).offsetTop
- document.images[0].height - 1;
70: }
Cheers,
--Hans
I've been using TextMate for Rails development for several months now,
and am a big fan.
I have recently noticed one annoying bug, which is effecting my
TextMate, and my collegue's who is working on the same projects.
When I use the RoR bundle functions for Database migrations to, for
example, rename/rename column Textmate inserts this strange string into
the document.
]0; ]0; ]0; ]0; ]0; ]0; ]0;
]0; ]0; ]0; ]0; ]0; ]0; ]0;
rename_column :table_name, :column_name, :new_column_name
I've noticed this string popping up in other places (like at the top of
a printout), but the migration issue is the most annoying. Also this
problem is recent. I have done the same operations without encountering
the bug in the past.
Has anyone else encountered this problem? I can't find any reference to
it online.
Thanks
Sam
hello :)
I'm waiting for the Leopard DVD ( 2 days ) and I would like to know if
Leopard changes some characteristics of TM 1.5.6 like speed
in some actions
Regards Alain
Hi,
I just uploaded the new version 0.903
Download:
http://email.eva.mpg.de/~bibiko/downloads/textmate/TMTools.tmplugin.zip
Help:
http://email.eva.mpg.de/~bibiko/downloads/textmate/tmtoolshelp.html
"$TMTOOLS" help me
Changes:
added: get contentOfWindow
added: get/set smartTyping
added: get allBundles
added: get uuidFor
added: get defaultBundle
added: get allBundleItems
added: do checkUUID
added: get bundlePathsForUUID
Regarding to the issue of generating dynamic commands (esp. snippets)
I attached an example bundle "SCRATCH SNIPPETS" which contains one
command: "Create New Scratch Snippet".
This command takes a selection which contains the snippet (last
line := tab trigger = name of the new snippet) and installs a new
snippet into the "SCRATCH SNIPPETS" bundle (scope is set to the
current one automatically, but this can be changed easily). After
doing that the new snippet is ready for usage.
Of course, one can also create commands, macros, etc. dynamically ;)
[This bundle requires TMTOOLS release 0903!]
A demo movie is here: http://www.bibiko.de/TMscratchSnippet.mov (1.2MB)
Have fun,
Hans
Today I tried to use the nice Markdown Bundle, I
drag-and-dropped an html file on an open window
and here is what I got:
Traceback (most recent call last):
File "/Library/Application Support/TextMate/Bundles/Markdown.tmbundle
/Support/bin/html2text.py",
line 395, in <module>
html2text_file(data)
File "/Library/Application Support/TextMate/Bundles/Markdown.tmbundle
/Support/bin/html2text.py",
line 379, in html2text_file
h.feed(html)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib
/python2.5/sgmllib.py", line 99, in feed
self.goahead(0)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib
/python2.5/sgmllib.py", line 188, in
goahead
self.handle_entityref(name)
File "/Library/Application
Support/TextMate/Bundles/Markdown.tmbundle/Support/bin/html2text.py",
line 168, in handle_entityref
self.o(entityref(c))
File "/Library/Application
Support/TextMate/Bundles/Markdown.tmbundle/Support/bin/html2text.py",
line 368, in o
self.out(data)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc0'
in position 0: ordinal not in range(128)
Regards,
Piero