Hi,
a quick question.
Is there any bundle which can be used as a kind of GUI for SQLite
databases?
If not, is there a free Mac GUI available?
Thanks,
--Hans
I *am* writing my current book in TextMate. I won't claim that my way
of doing it is *the* way, only the way that I am doing it.
First, let me say that you'd be a fool not to look at Scrivener. It's
a great app. I just about bought it myself, but I had
(1) already spent enough money on trail of the word processing grail
and
(2) begun to imagine myself enough of a geek to go it on my own (e.g.,
I already had a way to play QT files from within textmate)
I did, however, copy some ideas from Scrivener, as you'll see in the
layout of my project folder:
(For those who don't want the JPG:
/boats
/fieldwork
/outputs
/research
/~mss
)
As you can see, the book is about boats -- crawfish boats in south
Louisiana (if you want to see a picture, there's one on the front page
of my website: http://johnlaudun.org/) -- and it's a nonfiction work
with different enough, to my mind, kinds of research that I have it
broken out into simply research and fieldwork. The tilde (~) puts
things at the top of Finder windows, but the bottom of TextMate
project drawers. (I don't care, as long as the part where I'm doing
writing is easy to find. I use MSS, for manuscript, instead of draft,
ymmv.)
Most of the mss texts, as you can see, are in Markdown, but that's
really MultiMarkdown. I haven't begun to experiment with footnotes
just yet -- I'm still early enough in the drafting process that I can
play with reference schema -- and Fletcher's footnote implementation
is tenuous. (I'm taking a look at Maruku right now, to see if there's
anything to learn there.)
I have heard the siren call of LaTeX several times now over the years,
but I just can't bring myself to do it. I like being able to share my
plain text files with non-markup-aware clients and colleagues and that
I can then generate RTF files out of them, which is all publishers
want. (Most will also take Word documents, but an increasing number
are going back to RTF, precisely because of having to deal with Word's
noting system is such a pain.)
So there are writers who write with TextMate -- check out the
impressive ScreenMate some time! -- but I don't know if there's any
consensus. I, for one, wish I could go from MMD texts to RTF or PDF
with headers and/or footers, but I haven't found a convenient way yet
-- and I keep forgetting to see if I can get Prince working on my MBP.
I hope that helps.
john
In the editor, I can do ctrl-tab to move the focus to the Project Drawer. But
what shortcut can I use to move it back to the editor? Pressing tab 3 times
does the trick, but it doesn't seem very optimal. Any suggestion?
Alex
-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
--
View this message in context: http://www.nabble.com/Keyboard-shortcut-for-moving-the-focus-the-Project-Dr…
Sent from the textmate users mailing list archive at Nabble.com.
Hey,
a short while back I went looking for a TextMate plugin for ack but
the advertised link was dead so I based one off GrepInProject++
(instead of doing something sensible like contact the plugin's author
about the dead link...).
Anyhow, my own take on "Ack in project" can be found at:
http://github.com/protocool/ack-tmbundle/tree/master
It does nifty stuff like remember your last 10 searches, allows you to
choose word, literal or case insensitive search as well as configure
options like whether you want to show context lines, follow symlinks
and ignore .ackrc (you can define a .ackrc in your project directory
too).
I've still got a few things I'd like to improve with it but it's in
daily use (on Tiger, will test Leopard shortly).
Regards,
Trevor
--
--
Trevor Squires
http://somethinglearned.com
Hi,
I often have some Project Folders with multiple HTML files.
I need a Shell Script to concatenate them all together into one single
file, to use in a command.
Possibly to strip also Header and Body Tags.
File names have consistent naming convention.
Any Ideas ?
regards, marios
Dear all,
there's a new bundle called "Unicode" in the review trunk. It is meant
to be a place where we can gather any kind of scripts, commands, etc.
which are related to general Unicode issue, meaning non-ASCII. This
should also a place where we can gather scripts related to specific
languages like Japanese, Chinese, Greek etc.
This bundle is the first stage. How do we separate this bundle is a
future task.
Thus, if there is someone who already has such scripts or is willing
to support, please let us/me know.
Up to now there are the following stuff in:
- Normalize according canonical (de)composition of accented characters
- Delete Diacritics: façadë έ だ => facade ε た
- Convert to a similar Unicode Character: type the letter 'c' to get a
list of "cçćĉċčƈ¢ɕʗḉ⒞ⓒc¢"
- Convert to Greek Character: type 'n' to get "ν"
- Show Unicode Name: select some letters to get a list of the Unicode
names like LATIN SMALL LETTER A
I have many other scripts, but I need some time to polish them up.
To get this bundle, simply use the Subversion Bundle's checkout
http://macromates.com/svn/Bundles/trunk/Review/Bundles/Unicode.tmbundle
save this to the Desktop or whatever.
I know, to deal with non-ASCII scripts in TM 1.x is a bit tricky, but
TM 2.0 will come ;)
Cheers,
--Hans
can anyone tell me why the perl bundle treats the letter 's' oddly
when it is used as a hash index? for example the statements
$OPT{w} = 'a';
$OPT{s} = 'a';
are highlighted differently. what's up?
tia,
tom
Im trying to write a document where I use eps images for
illustrations, this works fine with the usual command + r function,
but does not work with the watch document(I get an error about
unsupported image files). Is there an easy way to fix this?
I know that autocompletion exists in many bundles but requires you to
push ecsape to get it up, is there a way to do the following with a
bundle?
Lets assume I am editing a PHP document and type "s", the bundle (or
even better, TM2 ;)) looks up a list of function names and then
outputs after the s, the first keyword in the list that starts with
"s". However, that extra text is left as selected, if the user
continues to type then they will overwrite the text (and it will alter
it's guess accordingly) but if the user hits the relevant key, it
leaves the selected text in place and puts the caret (I think that's
the name) at the end of the word.
If it's not possible in a bundle, is there any chance of seeing
something like it in TM2?
Thanks
Teifion
––––––––––––––––––
http://woarl.com/blog
Hello,
I would like to implement auto-completion with alt-esc, in the same
way as it works with HTML.
<a n[ALT+ESC]> --->generates---> <a name="">
but having a slightly different syntax:
\commandname[options1][options2]
where I would like to be able to type
\commandname
[{here's the caret, I press ALT-ESC}]
[]
and then I would get a list of options, specific for the first
argument after \commandname and specific for the first bracket (second
bracket has a different set of commands).
A sample usage:
\definecolor[orangered][r=.9,g=.5,b=0]
or
\setupcolors[state=start] % could be state=stop
In the first case, I want to hit alt-esc in the second pair of
bracket, and I want TextMate to offer me the options "r=", "g=", "b=",
"c=", "m=", "y=", "k=" (and maybe to give me hint that a number
between 0 and 1 has to follow).
In the second case I want to hit alt-esc in the first pair of brackets
and I want TextMate to offer me a list of options "state=" and
"conversion=", and if I choose state=, I want to hit alt-esc again and
TextMate should offer me a list of two options "start" and "stop".
I know how to write a ruby script that would get command name or
current line as the argument, and would return a list of available
options, but I don't know what exactly my script needs to return, and
I don't know how & where to plug it in.
I've seen this in html:
#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
print TextmateCodeCompletion.new(
#[%{class=""}, %{id=""}, %{style=""}, %{<img src="/images/"}, %{<img
border="0"}, ],
TextmateCompletionsText.new(ENV['TM_COMPLETIONS'],{:split=>','}).to_ary,
STDIN.read,
{:scope=>:html_attributes}
).to_snippet
but it's not really clear to me how to experiment with it outside of
html. Moreover, the library codecompletion might not be able to handle
too complex cases. (I don't really know, I only fear that.)
I'm willing to do it for plain TeX + LaTeX + ConTeXt (I'm currently
extracting TeX primitives & ConTeXt commands with options, for LaTeX
it would work the same way once I get some list of commands), but I
need some pointers where to start first.
Thanks a lot,
Mojca
Hi,
is there some documentation on how to use TextMate::UI?
I'm trying to create a small dialog asking for a string with two
extra check boxes.
Thanks in advance,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo(a)simplicidade.org
Use XMPP!
Hi,
sorry for breaking the rules! I lost the thread.
>> On 6 Feb 2008, at 22:26, Alexander John Ross wrote:
>>
>>> • Add Unicode support to PyMate / ScriptMate.
>>>
>>> Changed:
>>> U trunk/Bundles/Python.tmbundle/Support/PyMate/pymate.rb
>>> U trunk/Bundles/Python.tmbundle/Support/PyMate/tmhooks.py
>>> U trunk/Support/lib/scriptmate.rb
>>
>>
>> I got this ticket http://macromates.com/ticket/show?
>> ticket_id=502C2FDD
>> and after some experiments I think the problem is that PyMate does
>> not
>> pick up on the encoding provided by the user.
>>
>> For example a script like this will error:
>>
>> # coding: utf-8
>> print("æble")
I do not know whether this helps to solve the problem, but I just
figured out that 'print' is the problem. If I'm using
'sys.__stdout__.write' instead it works.
#!/usr/bin/env python
# encoding: utf-8
import sys
import os
a = u"æble"
sys.__stdout__.write( a.encode("raw_unicode_escape") )
Cheers,
--Hans
Hi there, thanks to the list I've managed to get my AS2 projects
publishing out of textmate great using MTASC, now I'm trying to do
the same with my AS3 projects.
I would like to compile my AS3 SWFs direct from Textmate. At the
moment I am only building a single SWF as you would get if you
published from Flash.
I would like to be able to build my graphic assets in Flash then
write my code in Textmate and compile from Textmate and view my SWF
and trace using Xtrace.
Could someone give me some pointers on how to do this, all of the
AS3 / Flex bundles seem to want to create a whole Flex application
not just the single SWF.
If someone could also point me in the direction of a step-by step
tutorial for creating Flex Apps in textmate that would be super-handy
too as I would also like to learn this at some point.
Thanks guys :)
--------------------------------------------------------------------------
Alistair Colling
Interactive Developer
FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above.
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
Hi,
I'm working with some ColdFusion code and am trying to get the syntax
highlighting to treat code inside <cfscript> tags the same as it treats
code inside <script> tags, like javascript and such... it's not
immediately clear how I might accomplish this...?
Any suggestions are appreciated.
thanks,
Eben
This is a long shot, but does anyone have a bundle for RenderMan RIB
files that they've worked up? Mostly syntax hilighting would be a
great start. I just wanted to check before I start in on my own.
Thanks.
Dan
Am trying the latest 1.5.7 version and am getting the following crash
when attempting to use the 'mate' CLI utility.
2008-05-30 18:35:27.487 mate[1659:10b] An uncaught exception was raised
2008-05-30 18:35:27.488 mate[1659:10b] [NOTE: this exception
originated in the server.]
*** Object does not implement or has different method signature
2008-05-30 18:35:27.490 mate[1659:10b] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '[NOTE: this
exception originated in the server.]
*** Object does not implement or has different method signature'
2008-05-30 18:35:27.492 mate[1659:10b] Stack: (
2477355339,
2526257403,
2477354097,
2454304598,
2454302457,
2477377962,
2477378066,
10507,
14446,
9754,
9525
)
Trace/BPT trap
Have been able to use mate in the past with 1.5.6 on Leopard 10.5.2
but just noticed this crash since upgrading to 10.5.3.
Anyone else noticed anything ?
--
Boris
I'd like to set-up a command to import text from an external txt/html/
js to a current project but have had no luck finding any tips on how
to go about this. Is it possible?
I think it would be really handy to have for example a command that
pulled in the latest swfobject.js from my SVN repositories. I'm sure
this could be useful for lots of other workflow timesavers too.
Hello,
I've always dreamed about a text editor that will show unicode to me
in a slightly more suitable form than what I'm used to. Like a double-
width em-dash (assuming fixed width fonts are being used) -- or even a
double-width en-dash and a triple-width em-dash -- and visual
differentiation between the various invisible characters like no-break
space, zero-width joiner, and the half dozen or so extra unicode
glyphs that aren't displayed very well in code.
While TextMate's "Show Invisibles" does indeed show no-break space,
(most of?) the others remain invisible. And em-dash is rather hard to
distinguish from en-dash :)
Has anyone else ever thought such things before? Certainly I think
greater editing support for such unicode glyphs would encourage their
use (which, at present, seems rather uncommon).
Will
hi all,
i'm a long time textmate fan and want to start using it with the
openframeworks c++ lib (http://www.openframeworks.cc)
the xcode plugin compiles the example projects fine, but at the end gives me
this error:
Executable doesn't exist:
/Users/nay/Documents/openframeworks_05/apps/sketches/moviePlayerExample/build/Release/./openFrameworks.app/Contents/MacOS/openFrameworks
it runs fine in xcode, but the path here should actually be:
/Users/nay/Documents/openframeworks_05/apps/sketches/moviePlayerExample/./openFrameworks.app/Contents/MacOS/openFrameworks
the directory seems to be correctly set in xcode under executables as
/Users/nay/Documents/openframeworks_05/apps/sketches/moviePlayerExample
which is where the app gets put
it looks like it has something to do with the 'active build config' being
misread, which is 'Release' in this case.
any help hugely appreciated.
cheers,
nay.
Dear dialog.py developer,
I'm not a python programmer but I'm just learning ;)
I believe that dialog.py's method "menu" fails if I call it with a
list of strings which is encode in UTF-8 (i.e. the string contains
non-ASCII characters)
What I did:
...
suggestions = list(list(unicode(grepout.read(), "UTF-8"))[2:])
...
suggestions contains a list of Unicode characters. Fine.
suggestions[3] etc. can I insert in TM's document perfectly.
But:
result = dialog.menu(suggestions)
fails.
Did I something wrong or is this an issue of dialog.py?
Many thanks in advance,
--Hans
Greetings -- when looking around to assemble a transcribing system for
Mac, I've found a very cool solution at O'Reilly's Digital Media, by
David Battino:
http://digitalmedia.oreilly.com/2005/03/09/transcriber.html
It consists of AppleScripts for Tex-Edit Plus, a speech-capable editor
also supporting AppleScript. The scripts to rewind and replay are
provided in the article, names ending in function keys like _F10 --
that's how Tex-Edit assigns keys to them.
What does it take to adapt them to TextMate -- where's I put them, etc.?
Cheers,
Alexy
Hi,
maybe I'm doing something wrong, but I have the Support/ directory up-
to-date, and the Textile.rb is missing from the bin/ directory.
But the Preview command in the Textile bundle uses it.
Any ideas?
Thanks,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo(a)simplicidade.org
Use XMPP!
Hello,
is there a way in Textmate during editing a file to open a "helper"
window (something like in the subversion bundle when i hit
shift+ctrl+a) where the exact menu entries
of all commands are listed which are available for the current language.
I mean to display the same menu which appears when I go to Bundles >
LaTeX (for example) so that I can browse with the arrow keys through
the commands.
Bye,
Martin
I recall this being discussed before but searching for the phrase
"comments" on Google matches pretty much every blog out there, so no
joy.
I wish to modify the commenting style in the AS3 bundle from this:
/*
* Comment in here, everything left aligned, huge tab in there!
*/
To this:
/*
* Comment in here, one space before, not a tab after
* Final line leaves all *'s nicely lined up
*/
I have tried searching through the AS3 bundle for anything relating to
comments but I must be looking in the wrong places. It'll be some
tiny tweak to a regex, I hope. Can anyone point me in the right
direction?
Many thanks!
Gaby
--
Uganda Maximum - Enemy of the English Thrust
http://www.playr.co.uk/
For editing xml, I'm really missing a clickable outliner of the xml document
that lets me easily jump to different nodes. I know TextMate isn't an IDE
but I would love this functionality (it's in jedit as well as part of the
sidekick plugin.) Here's a screen shot of Eclipse's outline view of an xml
document http://img.skitch.com/20080528-f34dyh22e7sm7j7h218ymaqtxm.jpg
It doesn't look like xmlMate bundle has this kind of functionality. Does it
exist in some other bundle out there?
Thanks
--
Rick
Hi,
I do not know if this request is a general one, but in the past it
often happens to me that I want to get the content of a tooltip in
order to do something with it. A simple example is the output of
"Statistics of Doc/Sel". Sometimes I want to insert that info into my
document.
[The same for the HTML tooltip (?)]
Is there a way to provide such a functionality? Now I do the
following: Change the command's output behaviour to "Create New Doc",
invoke the command again, and reset the command's output behaviour.
But this is a bit annoying.
Of course, to find a proper key/mouse event could be a bit tricky. All
key events are bound to text document except for ESC. Thus my question
is: Does anyone have an idea?
Cheers,
--Hans
I have a page of text edited in Text Mate. I want to know the number of
characters in a specific paragraph (by highlighting that paragraph). Is this
possible in Text Mate and if yes, how?
Thanks in advance.
Hiya, I've started compiling using MTASC from Textmate using the
'Build with MTASC' option. I'm using the XTraceTest.as file (at the
bottom) and it compiles great.
What I can't figure out is how to target the Stage from my class, if
I have movieclips on there that I want to target for example. I can
target the _root but this isn't ideal.
Any suggestions much appreciated
Cheers :)
Ali
import com.mab.util.debug;
class XTraceTest extends MovieClip{
static function main() {
debug.waitForSocketConnection = true;
debug.initSocket("127.0.0.1");
debug.trace("Yo, whaz upppppp:?");
debug.trace("This is a really really really really really really
really really really really really long string");
debug.trace("[DEBUG] This is a debug string");
debug.trace("[WARN] This is a warning");
debug.trace("[NORMAL] This is a normal formatter string");
debug.trace("[CRITICAL] This is a critical warning");
for(var a = 0; a < 10; a++) {//say hi 10 times
debug.trace("Hi server! " + a);
}
var testOb = {question:"Are you cool?", response:"Of course!"};
debug.dumpObject(testOb);
}
}
--------------------------------------------------------------------------
Alistair Colling
Interactive Developer
FPP Brand Communications (Newcastle upon Tyne)
The Courtyard
Dinsdale Place
Sandyford
Newcastle upon Tyne NE2 1BD
Telephone: +44 (0)191 261 6662
Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed.
It may contain privileged and confidential information. If you are not the intended recipient, you should not
copy, distribute or take any action in reliance on it. If you have received this transmission in error, please
notify the sender at the e-mail address above.
FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD.
Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
Hi,
I've been playing around recently with developing a different
technique for sectioning in LaTeX; put simply, instead of writing
\section{}
...
\subsection{}
...
\subsection{}
...
\subsubsection{}
...
you write
\begin{sect}{}
...
\begin{sect}{}
...
\end{sect}
\begin{sect}{}
...
\begin{sect}{}
...
\end{sect}
\end{sect}
\end{sect}
I'm not 100% convinced that this is an easier way to write than
LaTeX's absolute method as opposed to this sort of relative one, but
I'm willing to give it a try for my thesis to see how it works out.
The advantages are that folding is more easily supported :) and that
it's much easier to move sections around without having to search/
replace all of the \\(sub){0,2}section commands.
But here's the thing...I know it would take you guys orders of
magnitude less time than it would take me to adjust the LaTeX bundle
to integrate this structure into it. (Starred sections look like
\begin{sect*}{} and optional ToC section titles are with \begin{sect}
[toctitle]{...}.)
All I'm really missing is the nice outlining features. Is this an easy
change to make to the bundle?
Many thanks,
Will Robertson
Hi
I'm just starting using TextMate and at the same time starting to learn
Flex/ActionScript 3. I've got a project that I was previously working on in
FlexBuilder, and I have managed to get that to build and run through
TextMate. I can open mxml files and make changes absolutely fine there, but
if I go into a .as file and try to make any sort of alteration then TextMate
hangs and I have to Force Quit.
Anyone seen this before, or have an idea?
Cheers
L
--
View this message in context: http://www.nabble.com/TextMate-hangs-when-editing-an-ActionScript3-file-tp1…
Sent from the textmate users mailing list archive at Nabble.com.
Hi list,
I have just installed the Mercurial Bundle, and I have a little
problem. Let's say I have a project, and 2 files have been edited
since the last commit. When I check it at the command line, I see the
two "M" markers for the 2 files.
But inside textmate, it is like the "hg status" command only applies
to the file I am currently viewing, so I only get the "M" for the file
I am viewing. And if I am viewing a file that hasn't ben changed, I
don't see anything at all.
Is there some special setup that I might have missed?
I have saved my project as "a project" in textmate. I open it using
project.tmproj file. I saw from the help, that if the file doesn't
belong to a project, it is checked alone. Is it a problem if my
project files are actually a symlink to a another repository that
lives in /var/www?
Best regards,
Hi,
The syntax coloring in phpmate when I use it to look up PHP documentation is
very hard to read for me (bright red on black, etc) and I was wondering if
there's a way to change it (it'd be great if it could match my syntax
coloring) or at least remove it
Thanks,
Nick
Hi textmates,
A while ago I was asking about mixing R and markdown in a similar way Sweave uses LaTeX to document R codes. It turns out the "brew" package (https://stat.ethz.ch/pipermail/r-packages/2007/000327.html) can make this very easy: any text outside markers in the document is unprocessed by R and returned unchanged, while R code chunks inside some special tags is run by R (creating graphics, etc...). This combined with Multimarkdown provides a very powerful workflow (by-passing the latex syntax and long compilation time I find overly intruding in Sweave).
Obviously, I'd love to have a custom syntax highlighting to go with this new approach. It would be heavily based on Sweave's bundle, with only a few differences:
1) Multimarkdown is to be used as the normal text syntax (conditional syntax highlighting and commands)
2) the "@" and "<< >>" delimiters are now replaced by "<%"
( 3) instead of calling latex, the perl script for multimardown could be used )
I've tried to tweak the Sweave bundle, but I don't really understand the code to be honest: i think i was too naive in thinking that changing sweave to "breweave" and text.tex.latex to text.html.markdown.multimarkdown everywhere could work.
Is there some sort of guidelines I should follow to modify the Sweave bundle? Would this be fairly doable by a novice in Ruby and TM macros?
Best regards,
baptiste
__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail
I am a new registered user to textmate.
I realize that textmate implements automatic pairing of delimiters such as
parentheses. However, this does not prevent you from removing one of the
paired parentheses etc during the editing process. In vi, I would use ³%²
to toggle between open and close delimiters to debug syntax. I can¹t find a
similar feature in textmate.
I wonder if someone has written a macro to implement this. or am I missing a
feature? Is this specific to a bundle? I am using the R and C bundles.
thanks!
peter r
Hi,
I run TM 1.5.7 (1464) on 10.5.2 ppc.
I'm a keyboard person. If I open the standard Find Dialog and I would
like to choose a previous used Find pattern, I press ARROW-DOWN to
open the history list; then I go to my desired pattern; and finally to
select it I press ENTER or RETURN. But pressing ENTER/RETURN not only
selects my pattern but also starts the Find/Replace process, which can
be a bit annoying caused by the issue that I didn't choose my replace
pattern yet.
Is there a way in TM 1 or TM 2 to get rid of the "tiny problem"?
Meaning, if the history list is open ENTER/RETURN _only_ selects the
list item?
Many thanks,
Hans
Hi!
I have a strange problem lately when I compile tex-files (actually I
can't say how "new" the problem is because I didn't compile a tex-file
for a longer time now):
When I compile a file with a bibliograpy the cite-fields won't get
filled out. Let's say I have a bib-item with the bibkey test:2007sf
(authors last name test, year 2007) and I write for example \cite[p.
45]{test:2007sf} it will compile to (?, p. 45). In the log-file stands
that the item cannot be found in the bbl-file. Looking into the
bbl-file the item is there. Even several recompiles won't work.
But if I compile the file with TeXShop everything works as expected. A
re-compile with TextMate will then also compile as expected. If I
introduce new items via \cite the same problem as before occurs.
I use TM 1.5.7 (1464) and update my bundles regularly via svn. The
TeX-distributions I am using are gwTeX and TeXLive 2007 and I use
Latexmk.pl for compiling my files with TM which uses pdflatex (but
with latex the same problem occurs).
Any ideas what's happening here?
Niels
The "Change Current" command in the LaTeX Bundle seems to always select the
outermost environment rather than the innermost. For example, if the caret is
on the line with the equation in the following:
\begin{enumerate}
\item
\begin{equation}
f(x) = x
\end{equation}
\end{enumerate}
I would expect that hitting Control-Option-E would let me change the equation
environment to something else, but instead it selects the enumerate
environment. Is there a way to change this? Thanks for any help!
-Daniel
I am new to TextMate, and am using it for LaTeX, and finding it loads of fun. I
can't seem to get cite completion to work, however. If I put the caret inside a
\cite{} command, along with some text, and press escape, it does complete the
citation and cycle through my bibtex database. But if I press option-esc, it
gives me an error message in a tooltip. (The error declares that it cannot find
my bibtex database.) I'm expecting it to give me a menu of citation choices.
I have a standard MacTeX setup, running on a MacBook under OS 10.5.2. My bibtex
database is found in ~/Library/texmf/bibtex/bib.
Any suggestions? Thanks in advance.
Kyle
I have to develop with someone else's styleguide and it requires to
break every line at 80 characters.
Is it possible to get any visual clue where r.g. 80 columns are?(I
mean a vertical line like most texteditors have... not the column
number on the bottom)
Would be nice to have that feature, since the "right margin indicator"
as is present in textmate is pretty useless I think.
It only shows where the window is larger than the rightmost column
fully visible?(What is it for anyway?)
Maybe I am just missing something...
Thomas
How can I comment out a region (selection) of code? In other words, select
several lines of code, right click (or key combo) and comment out that
section (adding the correct lang comment tag).
Thanks
Stephen cox
--
View this message in context: http://www.nabble.com/Add-a-comment-region-tp17397875p17397875.html
Sent from the textmate users mailing list archive at Nabble.com.
As I set up Reformat Comment commands for the languages I use most
frequently (LaTeX and R), it occurred to me that maybe there's a way
to make a single call to rubywrap more generic, so that we don't need
a command per bundle. This is the result:
#!/usr/bin/env ruby
$LOAD_PATH << "#{ENV["TM_SUPPORT_PATH"]}/lib"
require "escape"
scope = ENV["TM_SCOPE"]
case scope
when /comment\.(block|line)\.number-sign\./
cstring = "# "
when /comment\.(block|line)\.percentage\./
cstring = "% "
end
flags = ""
flags += " -p \"#{cstring}\" "
flags += " --retabify" if ENV["TM_SOFT_TABS"] == "NO"
text =`echo -n "#{e_as(STDIN.read).gsub(/[$`]/, '\\\\\0')}" | ruby "#
{ENV["TM_SUPPORT_PATH"]}/bin/rubywrap.rb" #{flags}`
print e_sn(text)
The parameters are the same as the current command, with the
exception of scope, which I set to "comment.line, comment.block".
I also added a gsub to the command because it was eating latex math
and R symbols ($). There's probably a better solution to that. This
seems to work for me, and should be extended easily by adding lines
to the case statement for other languages. One advantage is that by
specifying the comment character based on the scope, it ought to work
for anything; it catches comments for both bash and perl, for
instance, without any extra effort. I think it's kind of cool.
-Alan
Hi all,
I have made some changes to the way that scripts are run. To
accommodate this I had to update the Ruby and Python bundles to be
compatible (it's a change for the better).
If you update either of these bundles, you are going to have to update
Support as well if you want the Run (⌘R) commands to work.
I do apologise for any inconvenience, but it is for the best.
LD.
Hello,
I'm relatively new to TextMate.
When I try and launch textmate from the terminal (via 'mate'), textmate
hangs.
Interestingly, if textmate is already open, this doesn't occur.
Eventually I have to force quite textmate. I am running Leopard (10.5.2) on
an Intel Core 2 Due iMac.
Anyone else have this problem?
Thanks.
Steve
Hello,
I just want to ask if anybody can confirm TM taking the 564MB physical
(1.3GB VM) with this simple test:
$ otool -tv /Applications/TextMate.app/Contents/MacOS/TextMate > /tmp/
tm.s
/tmp/tm.s is ~11MB
Close TM, and run:
$ mate /tmp/tm.s
Open Activity Monitor and check TM memory usage.
It means if I open 3 such files I'm out of my RAM. This is really
nothing good. I'd accept 1:5 filesize/mem usage ratio, but 1:50 is
kind too much.
Would it be any better in TM 2.0? I hope we can try some beta soon.
Regards,
--
Adam Strzelecki |: nanoant.com :|
Hi again,
I have added process.rb to Support/lib. It has a single method,
TextMate::Process.run() that can be used to gracefully handle opening
processes and capturing their output. I would encourage everyone to
use it if you are scripting processes. Especially if you want the
process to take advantage of the interactive input features which
should be released sometime in the near future. If processes are
opened with this method, then they should benefit from any other
features that are added for dealing with processes over time.
There is a blurb in the file on how to use it. Would be interested to
hear any comments you might have on it.
Just to clarify the implication of this…
In the next release of TM on (once the bundles have been updated to
use TextMate::Process.open()) whenever a process requests input, a
dialog will be presented to the user giving them a chance to enter
input. The classic use case for this is the Subversion bundle. No more
never ending commits while svn is waiting for you to enter your
credentials.
LD.
Hi
trying to have a dynamic dict inside TM, I have build the next command
dict "$TM_CURRENT_WORD" | enscript -Whtml -E -e --color -p -
with Input: sel text or word, output html
but I only get a window with the message:
enscript: malformed argument `html' for option -W, --option: no comma
found
while the same command in Terminal do fine
dict word | enscript -Whtml -E -e --color -p -
But if you put
dict "$TM_CURRENT_WORD" | enscript --language=html -E -e --color -p -
it works perfectly! I feel curious about it.
Juan Falgueras Cano
Profesor Titular de la Universidad de Málaga
Hi,
Anyone seen Chandler McWilliams, creator of the Processing bundle?
I've a patch attached for the Run command. It basically works the way
you think it should now.
Cheers,
yong
Hi, I’m trying to use ${5:helper text} variable in my regular expression
later in the code:
${5/(e)|(.*)/(?1:\te.preventDefault\(\);\n)(?2:)/}})
What I do here? I check if $5 equals "e" and if it does, I append
".preventDefault();" to my "e". But I’d like to write something like this:
${5/($5)|(.*)/(?1:\t$5.preventDefault\(\);\n)(?2:)/}})
Which simply means I’d like users to be able to change "e" into, for example
"event".
My whole snippet, for better understanding:
bind('${1:event name}'${2:, ${3:passed object}}, function(${4:e}) {
${0:$TM_SELECTED_TEXT}
${4/(e)|(.*)/(?1:\t\/$4.preventDefault\(\);\n)(?2:)/}})
--
View this message in context: http://www.nabble.com/Snippet%E2%80%99s-%24variables-in-RegExp-tp17302873p1…
Sent from the textmate users mailing list archive at Nabble.com.