How do I get the "Documentation for current word" to work.
Currently I get the following error:
Traceback (most recent call last): File "", line 8, in File "/Library/Application Support/TextMate/Support/lib/dialog.py", line 12, in dialog = os.environ["DIALOG"] File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/UserDict.py", line 22, in __getitem__ raise KeyError(key) KeyError: 'DIALOG'
UserDict.py does exist.
Thanks,
Christopher
With the latex bundle, I can put a %!TEX root = directive in each file, or esle use TM_LATEX_MASTER so whichever file I am editing, I can still compile the whole document.
How do I do this in other contexts, e.g. with a python project?
(I have tried search engines but could not come up with the right query to find the answer).
Thanks,
Christopher
Help needed. Since a couple days, all my ruby
macros calling TextMate::UI.menu( )
produce the following error:
sh: : command not found
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:182:in
`load': Cannot parse a NULL or zero-length data (OSX::PropertyListError)
from /Applications/TextMate.app/Contents/SharedSupport
/Support/lib/ui.rb:182:in `menu'
from /Applications/TextMate.app/Contents/SharedSupport
/Support/lib/ui.rb:177:in `popen'
from /Applications/TextMate.app/Contents/SharedSupport
/Support/lib/ui.rb:177:in `menu'
from /tmp/temp_textmate.wMVbb2:17
I am not able to read inside Support/lib/osx/plist.bundle
since this is a binary file. Can't remember any big changes
in my setup (I moved to Snow Lep a few weeks ago, but
I seem to recall menus worked fine before Xmas).
Any idea or pointers? is Xmas to blame?
Thank you (and best wishes to everyone)
Piero
Is there a command to validate Ruby and Removing trailing whitespace?
I want to improve Command-S for Ruby development. I want to do
both of the commands at the same time.
Wil
Dear TextMate users,
I work with textmate 1.5.8 (1505) and Skim 1.3.3 (51) under Mac OS X 10.6.2 to typeset latex documents. I would like to use pdfsync for jumping "back and forth". I use \usepackage{pdfsync} in the preamble, set Skim to sync with textmate via Skim Preferences => Sync => PDF-TeX Sync support (preset: TextMate; Command: mate; Arguments: -I %line "%file"), and---of course---Skim is chosen as pdfviewer in TextMate. Now I should have shift-command-click for jumping from pdf to the code, and control-option-command-o for the other direction.
I use a main document main.tex which contains some latex code, as well as other chapters included with \input{chapter01}, \input{chapter02} etc.
I can easily go from the pdf file to the code, no matter where I am in the pdf. However, going from the code to the pdf does only work within the main document, not from one of the chapters. Although the pdf file is already open, it does not jump anywhere. Is this a known issue?
I also tried to check the "check for file changes" box in Skim, and used \include commands instead of \input to include the chapters---just played around, but it doesn't help.
Cheers,
marius
Dear TextMate users,
I would like to customize the way in which "Typeset & View (PDF)" works. Under Bundles => Bundle Editor => Edit Commands, I added the line "rm -rf *.toc" to the "Typeset & View (PDF)"-code. However, this did not work. I realized that this is a ruby script (although I have never worked with ruby) and changed my code to "puts `rm -rf *.toc`". Now the .tex document is compiled, but the command does not seem to be executed. How can I add unix shell commands to "Typeset & View (PDF)" to be executed on command+R?
Many thanks,
Marius
Here is the content of "Typeset & View (PDF)":
#!/usr/bin/env ruby
# coding: utf-8
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/process"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/htmloutput"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/save_current_document"
require ENV["TM_SUPPORT_PATH"] + "/lib/tm/require_cmd"
# To enable the typesetting of unsaved documents, you must change the “Save” setting of
# this command to “Current File” and add the variable TM_LATEX_AUTOSAVE to TextMate's
# Shell Variables preferences. Be warned that your document must be encoded as UTF-8 if
# you excercise this option — becauseTextMate.save_current_document cannot know the file
# encoding you prefer.
TextMate.save_current_document unless ENV["TM_LATEX_AUTOSAVE"].nil?
TextMate.require_cmd("kpsewhich")
texMate = ENV["TM_BUNDLE_SUPPORT"] + "/bin/texMate.py"
engine_version = TextMate::Process.run(texMate, "version")
TextMate::HTMLOutput.show(:title => "Typesetting “#{ENV["TM_DISPLAYNAME"] || File.basename(ENV["TM_FILEPATH"])}”…", :sub_title => engine_version) do |io|
TextMate::Process.run(texMate, 'latex', '1', :interactive_input => false) do |line|
io << line
end
end
::Process.exit($?.exitstatus)
Dear TextMate Users,
I think I found a bug in LaTeX syntax highlight
Consider, for example:
\[
\begin{array}{l}
\;\{
\end{array}
\]
Lorem ...
In the above snippet of text the text after the math environment (i.e., \]) is in a math scope. The problem seems to be that the first line after \begin{array} starts with a tex command (i.e., \) and it contains a \{
(easy solution: remember to indent the first line of an array environment; I haven't had time to look at the latex grammar).
All the best
Guido
--
Guido Governatori
http://www.governatori.net/Textmate
in other words automate the process of automatically starting a new line after 80 characters.
I am sure there must be a setting somewhere .....
Thanks,
Christopher
I'm fairly new to mailing lists and was wondering what the standard is
for forming replies. I generally try to follow the reply direction that
the current thread is following but was wondering if there was a standard.
Do I form a reply at the bottom or the top?
also.
Do I include the immediate parent thing I'm replying to or the whole
history?
I knew this once, but can't find it now and it's driving me nuts. When I create a new bundle item it goes into "Steve King's Bundle" by default. I want to change which is the default bundle. What's the magic?
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com