Is there an official version of the footnotes plugin which works with
rails 2.0.2?
The latest version of the footnotes plugin doesn't seem to work at all
with Rails 2.0.x. There was a 3rd party patch published at
http://pastie.caboo.se/125311 but this no longer seems to apply
cleanly.
There's also a footnotes-edge plugin mentioned on teh rails wiki
http://wiki.rubyonrails.org/rails/pages/Textmate+Footnotes+Plugin
This seems to have part of the caboo.se patch applied, I had to
manually change the
vendor/plugins/footnotes/templates/rescues/template_error.rhtml file
based on the patch, and things seem to be working for me now.
But I was wondering what the official status is.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
I would like to compile a *plain* tex document which includes some postscript
(.eps) figures. The problem is that if I choose tex (or etex) as the engine
the dvi file is correctly generated, but its not automatically converted to
pdf, nor the dvi file is sent by the viewer (Skim). This is no problem with
*latex* files containing eps figures, since in that case the command
"Typeset & View (PDF)" converts the .dvi file to .ps (by running dvips) and
the resulting .ps file to .pdf (with ps2pdf), and opens the .pdf file. Is
there an easy way to get TextMate to automatically run dvips and ps2pdf in
succession when the engine is tex or etex, instead of latex?
Cheers,
Artemio
--
View this message in context: http://www.nabble.com/compiling-*plain*-tex-documents-with-postscript-figur…
Sent from the textmate users mailing list archive at Nabble.com.
Here's a little hack that TextMate-using Perl fans may find useful:
http://use.perl.org/~AndyArmstrong/journal/35429
It makes TextMate follow the current Perl debugger file and line so
you can easily see where you are in a program you're debugging by
flipping to TextMate.
--
Andy Armstrong, Hexten
Hello Mathew,
You can find the command by opening your Bundle Editor (Bundles>Bundle
Editor>Show Bundle Editor or by ⌃⌥⌘B)
and navigate to SQL>Database Browser there just change the command
from:
db_browser.rb
to:
db_browser.rb --rows 50
This should work.
Regards,
Alex
On Jan 19, 2008, at 12:12 AM, mathew wrote:
> thank you alex,
> but i don't actually understand how to do that,
> i'm not familiar with how the bundles work
>
> can you please explain to me what you mean?
>
> thank you for your help
>
> mathew
>
> On 19/01/2008, at 2:32 AM, Alex Podaras wrote:
>
>> Hello Mathew,
>>
>> I haven' t tried the following but it should work,
>> try changing the command for Database Browser to something like:
>>
>> db_browser.rb --rows 50
>>
>> this will probably solve your problem.
>>
>> Regards,
>> Alex
>>
>> On Jan 18, 2008, at 3:55 PM, mathew wrote:
>>
>>> Hello,
>>>
>>> when i use the sql bundle to create a mysql view
>>> such as the following:
>>>
>>> CREATE VIEW cp_qry_offset AS
>>> select
>>> O.offset_id,
>>> O.account_id,
>>> O.calculation_id
>>> O.quantity,
>>> O.type,
>>>
>>> T.description as type_description
>>>
>>> from cp_offset O
>>>
>>> join cp_offset_type T
>>> on O.type = T.type_id
>>>
>>>
>>> for reasons unknown to me, but suspiciously related to the sql
>>> bundle's
>>> habit of returning 10 rows of a
>>> select at a time in the database browser,
>>> it seems the bundle is appending:
>>>
>>> limit 0,10
>>>
>>> to the view definition.
>>>
>>> which means i then have to edit the view with another
>>> tool to remove this limit before it will work
>>>
>>> do you know why that is happening?
>>>
>>> i'm guessing its related to this in db_browser.rb in the sql bundle,
>>> but i don't know how to change it
>>>
>>> if not query=~ /\bLIMIT\b/i and run_query =~ /\s*SELECT/i
>>> run_query << ' LIMIT %d OFFSET %d' % [@page_size, offset]
>>> @limited = false
>>> end
>>>
>>> can anyone help?
>>>
>>> thanks
>>> mathew
>>>
>>>
>>> ______________________________________________________________________
>>> For new threads USE THIS: textmate(a)lists.macromates.com
>>> (threading gets destroyed and the universe will collapse if you
>>> don't)
>>> http://lists.macromates.com/mailman/listinfo/textmate
>>
Hello,
when i use the sql bundle to create a mysql view
such as the following:
CREATE VIEW cp_qry_offset AS
select
O.offset_id,
O.account_id,
O.calculation_id
O.quantity,
O.type,
T.description as type_description
from cp_offset O
join cp_offset_type T
on O.type = T.type_id
for reasons unknown to me, but suspiciously related to the sql bundle's
habit of returning 10 rows of a
select at a time in the database browser,
it seems the bundle is appending:
limit 0,10
to the view definition.
which means i then have to edit the view with another
tool to remove this limit before it will work
do you know why that is happening?
i'm guessing its related to this in db_browser.rb in the sql bundle,
but i don't know how to change it
if not query=~ /\bLIMIT\b/i and run_query =~ /\s*SELECT/i
run_query << ' LIMIT %d OFFSET %d' % [@page_size, offset]
@limited = false
end
can anyone help?
thanks
mathew
Though I have been successful at getting the blogging bundle to work
in Tiger, when I try to run it in Leopard and fetch a post I get the
following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/timeout.rb:54:in `open': execution expired (Timeout::Error)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:564:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/timeout.rb:56:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/timeout.rb:76:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:564:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:557:in `do_start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:546:in `start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:1044:in `request'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:1001:in `post2'
... 9 levels...
from /Library/Application Support/TextMate/Support/lib/ui.rb:17:in
`dialog'
from /Library/Application Support/TextMate/Support/lib/progress.rb:
42:in `call_with_progress'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:551:in `fetch'
from /tmp/temp_textmate.b0oDWV:3
has anyone been able to get the blogging bundle to work in Leopard?
My System:
OS X v. 10.5.1
iMac Intel Core Duo
ruby 1.8.6
wordpress 2.3
Any insight you can provide will be greatly appreciated.
Tony
Hi,
if one invokes a tmcommand which is displaying something and
afterwards one invokes an other tmcommand which displays an inline
menu, the tooltip is still visible.
One should trigger that command which hides the tooltip if ANY key is
pressed. (Or?)
Here's a screenshot showing that:
Or is there a way to get rid of it?
Thanks,
Hans
I want to edit .muttrc, the Mutt MUA configuration file, with TextMate.
It's a simple plain text file, so no syntax highlighting, and that's a
big issue.
There's a specific bundle for UNIX configuration files?
Any suggestion?
Thank you very much
Corrado
is there a way to sync the project drawer with the current file? e.g. if i'm
viewing foo/bar/baz.html, then the project drawer would snap open with that
file selected if the folder hierarchy was collapsed. currently i can view
a file with all folders collapsed.
--
View this message in context: http://www.nabble.com/sync-project-drawer-with-current-file--tp14842687p148…
Sent from the textmate users mailing list archive at Nabble.com.
The attached patch fixes a couple of bugs (one of which could put the
system into an infinite loop under some circumstances), and adds some
documentation.
I hope someone can apply it to the repository, assuming it looks okay.
Robin
I am running Version 1.0.2 (v20) of Skim, Version 1.5.7 (1455) of
TextMate, Leopard (10.5.1). I could give you a file if you want, but
all you need to do is have two distinct .tex files with the exact same
name and in different directories on your computer. Have both of them
open in TextMate. Compile one and it will show up in Skim. Compile
the other and it will think that you're trying to update the first
file that you compiled because they have the same name.
Keith
Hi,
Just purchased TextMate and really like it. (I'm a long time BBedit
user.)
One thing I'm having difficulty with is navigating around the auto-
paired characters.
I understand the key shortcut to exit the pair and jump to a new line,
but sometimes that isn't what I want.
For example:
In HTML:
<img src="picture.jpg" width="20" height ="20">
When I'm don't typing the picture.jpg, I then need to jump past the
closing quote so that I can continue typing the rest of the tag.
There isn't an easy way that I can find, so I have to take my hands
off the keyboard and press the right arrow key. It seems really
inconvenient.
Is there some key combo that just jumps to outside the quote or
"closing auto-paired" character??
Thanks,
-N
Hi,
In the Fortran bundle, there doesn't appear to be any support for
comment lines beginning with an asterisk, only for comments beginning
with C or c. I have tried to add this in to the language but I am
quite unfamiliar with how to do this properly and am I not very
familiar with regular expressions. I tried adding the following in
the bundle editor (using comment.line.c.fortran as an example) but it
still does not recognize lines beginning in * as comments. Any help
would be appreciated.
{ name = 'comment.line.asterisk.fortran';
begin = '^[*]';
end = '$\n?';
beginCaptures = { 0 = { name =
'punctuation.definition.comment.fortran'; }; };
patterns = ( { match = '\\\s*\n'; } );
},
Thanks,
Stefan
Hi folks,
I have been experimenting Scala lang a bit, and it auto open the source in
PlainText mode with TM, which is fine for me at the moment. But the source
keep having RedDot underlines on many words that made it very hard to read!
How can I disable this?
Thanks,
Zemian
Especially when coding python, I would like TextMate to auto detect if
the current file is using space over tabs.
When using libs from different projects, it's tiresome to remember to
check and switch everytime you jump between files (editing in
different repos)
Instead of detecting this, I would relly like TM to remember my
selection,
Now, if I switch to Soft Tabs, jump back to my Tabbed file I need to
change every time (global setting)
any magic tricks!?
best
/d
I've been trying to use the TODO bundle with a very large project
containing a bunch of external/imported code which I don't control. In
this project, Show TODO Items... takes a veritable eternity to run
because of the volume of code it must scan. My project, however, is
set to filter out a significant amount of this within TextMate, but
these filters are being ignored by the bundle.
Upon investigation, it seems the issue is the core textmate.rb support
library whose ProjectFileFilter (used by each_text_file) reads the
TextMate prefs for its file/dir filters, rather than getting them from
the current project first. Indeed, there doesn't seem to be any
reference to the current project filters in the TM_* environment
variables or in textmate.rb.
It would be great to see this filters respected by some of these core
library commands where it seems they really should be taking effect.
So, I have noticed that when I have multiple files open each with the
same name (but in different directories) and I compile one and then
another, TextMate doesn't seem to be telling Skim that they are
actually different files. I never had this problem before. I posted
before about how one time I upgraded and I noticed that my compiled
PDF no longer came to focus upon compiling, and at the same upgrade
this problem started. I start compile one file and it opens the PDF,
but when I try to compile another file with the same name it doesn't
open the new PDF because it just thinks that it's the same PDF I
already have open. Are these two symptoms connected? Has anyone
found out why the change in functionality? And/or how to revert it?
I almost wish I could downgrade, but I tried the SVN thing that
someone said to try and it didn't work for me.
Keith
Hi guys,
I downloaded the jQuery bundle from the repository, however, I'm not happy
with a few things, and need to make local corrections.
One of those things is the default scope it gives it (source.js.jquery).
Since jQuery is available in every JS file I am editing, is there a way to
mass edit the entire bundles scope to be source.js ?
Every time I've manually gone through the bundle and edited the scope, every
time I restart, it's back to being source.js.jquery.
Is there a way to mass edit the bundle scope, AND have it stick?
Thanks guys,
--
View this message in context: http://www.nabble.com/Mass-editing-the-bundle-scope-tp14695883p14695883.html
Sent from the textmate users mailing list archive at Nabble.com.
I have a problem with LaTeX Watch. If I save a file with changes, it
endlessly reloads the .pdf until I quit Skim.
I set TM_LATEX_WATCH_DEBUG=1 but saw no messages in the console.
I agree; it would be best to always end up at the end
of the panel, so you can rerun if needed after making changes.
Thx for the great Latex Bundle and the Latex Watch, etc.,
M.P.
>
> Message: 4
> Date: Sun, 6 Jan 2008 17:43:52 +0000 (UTC)
> From: Chris <listservs(a)mac.com>
> Subject: [TxMt] Typeset and View issue
> To: textmate(a)lists.macromates.com
> Message-ID: <loom.20080106T174059-278(a)post.gmane.org>
> Content-Type: text/plain; charset=us-ascii
>
> When compiling LaTeX documents, the Typeset and
> View pane works properly when invoked from by running
> the compile command from the contextual menu, or by
> using the hotkey combination. However, when commands
> are run by clicking the buttons provided at the bottom
> of the T&V panel at the end of a completed command
> (e.g. re-run latex, run bibtex), the panel does not
> scroll down automagically to follow the most recent
> output. This makes it hard to follow.
Hi there,
I'm starting using textmate for a existing actionscript 2.0 project.
I compile with flash but want touse the validate sxntax feature of the
bundle.
I modified the yaml file but still I just get errors about classes not
found.
can anyone point me in the right direction how to specify the classpaths?
thanks
joerg
--
View this message in context: http://www.nabble.com/actionscript-classpath-tp14664374p14664374.html
Sent from the textmate users mailing list archive at Nabble.com.