Every time I creates a tex file and compile it it generates me a bunch of
files (.aux etc etc) in the same directory.
Now I know that it's not a bundle's fault, doing it from the command line is
the same, but is there a way to make the pdflatex command put them somewhere
else (a tmp directory)?
--
View this message in context: http://www.nabble.com/Latex-bundle-and-too-many-files-tp23074031p23074031.h…
Sent from the textmate users mailing list archive at Nabble.com.
Thanks, Allan. Worked like a charm!
Regards,
Daniel Royer
On Thu, Apr 16, 2009 at 8:00 AM, Allan Odgaard wrote:
>> [...]
>> I notice in the status bar at the bottom of the editor window (to the
>> right of the Tab Size), there is a "Symbol Popup" menu. So it seems
>> like the information I need is available [...]
>
> It is not, but oft requested. The symbol in the status bar is not
> necessarily the ?current function?, it is just the first thing matched
> via some scope selector (optionally passed through some regexps) above
> the caret.
>
> What you can do is make a command that takes stdin as input and then
> do something like: SYMBOL=$(head -n$TM_LINE_NUMBER|grep ?function
> prototype regexp?|tail -n1). Have the command ?insert as snippet? and
> construct the snippet from the previous.
>
> I am adding an ?expose current symbol? to the to-do, since it seems a
> lot want this and don?t care that it might not be 100% correct (and
> whatever hand-roled solution they make is probably even less
> correct ;) ).
I have two Macs running TextMate 1.5.8. I have some personal bundles
that I want to keep in sync between the two machines. I tried this:
On machine A, modify a bundle and quit the Bundle Editor to save the
bundle.
On machine A, reopen the Bundle Editor and drag the bundle to my
Desktop.
On machine A, scp -r the bundle directory from my Desktop to machine
B, into my Desktop.
On machine B, double-click the bundle. TextMate says "do you want to
update?".
On machine B, I click "yes". It seems to work.
Yet the bundle on machine B doesn't have the changes that I made while
I was on machine A.
Any suggestions appreciated. Note that I have MobileMe, and would
love to cut down on the manual work that the above (unsuccessful)
approach requires.
-- Pete
Not sure if this is a bug or feature. I've found that the text
selection behavior upon double-clicking, then dragging, is way too
"greedy" of characters. Is this something that can be fixed, or
overrridden?
For instance, let's say you double click on the 'doQueryParams' in
this snippet of PHP:
doQueryParams($query, array() );
.... then drag to the right. Let's say that I want to select up to
and including the comma after "$query". Well, I can't - the selection
jumps to the end of "array".
Other editors like SubEthaEdit or TextEdit do what I would expect --
the non-alpha characters are selected individually, so I can select
the comma, the space, and then if I continue on it will select the
whole word 'array', then each parenthesis, etc.
Is it just me that's driven absolutely mad by this? It really slows
me down......
Dan
--
Dan Wood
Karelia Software — Sandvox for the Mac : http://www.karelia.com/
Follow me on Twitter: http://twitter.com/danwoodhttp://twitter.com/karelia
It is the habit of every aggressor nation to claim that it is acting
on the defensive. — Jawaharlal Nehru
Even though I'm #1498 I have to admit I'm quite a bundle newbie. One
of the issues that I recently came across was that the Shoulda Bundle
was not recognizing "context" and "should" blocks within test classes.
This is important, because the symbol navigation is extremely useful
for these.
At first I thought there was maybe a conflict or something else going
on, but when I moved these blocks into the root scope of the file they
worked. I realized that the shoulda language was built on
source.ruby.rails, which meant it wasn't being picked up inside
source.ruby.rails.meta.rails.unit_test or
source.ruby.rails.meta.rails.functional_test.
I solved this problem by adding:
{ include = 'source.ruby.rails.shoulda'; },
to those definitions within the Rails bundle.
However I feel dirty. First, because I'm hacking the Rails bundle to
make another bundle work. This seems like it will make upgrading
complicated since I don't imagine there is any kind of granularity
with language updates. Secondly, it feels wrong for the Rails bundle
to define an include of a language that is descended from the Rails
bundle itself. Apparently TextMate handles this properly because it
works fine, but it was a red flag for me. So I guess my question is
am I doing this wrong? What do the bundle gurus have to say on the
matter?
--
Gabe da Silveira
http://darwinweb.net
The thing that caused the problem was -- "Edit each line in selection."
I was able to edit the file without any problem by just doing a search and
replace. I don't know specifically how edit each line in selection works,
but I suspect that it involves quite a few Allocs, Like one for each line,
possibly quite a few more for each line. I was just putting out a warning
that you shouldn't edit the entire file with "Edit each line in selection".
It could have just been my computer, but I suspect that I was abusing this
wonderful feature into something Allan didn't imagine it to be used to do,
because as an expert in line management he would never have gone down the
path I did. I was just appending ",END_NOTE" to each line.
This happened on a Dual Xeon Core 2 Duo Mac Pro with 1GB of ram ( inherited
from our graphics guy who doesn't want to learn FCP).
In my html files I use root-relative paths such as:
<link rel="stylesheet" href="/css/screen.css" type="text/css" />
The Web Preview does not work even though the path is also relative to
the top level of the project, I have to use paths relative to the
current document.
<link rel="stylesheet" href="css/screen.css" type="text/css" />
Is there some way to get Web Preview to work with root-relative paths
for html development?
-Gianni
Hi. Some questions w.r.t. getting themes to work as I prefer:
Firstly, the manual says [1] that "markup.heading.2.html" can be used
in a language grammar. And then subsequently one may use that as a
selector in a Theme. I have tried to use the mentioned selector in a
theme made entirely from scratch, but whatever color I add for that
selector, nothing happens to the styling of the <h2> tags or anything.
Do I need to update the language grammar for HTML in order to get it to
work or what?
Secondly, Brilliance Black seems to be one of the richest themes
arround, with colors for many languages. It has a HTML section. And
below that it has a "markup" section. The markup selection has e.g.
"markup.heading" and "markup.bold". I assumed that "markup.bold" would
turn <b>text/</b> into bold face. But, no - doesn't happen. I have
misunderstood something?
Thirdly: Ideally, what I would like to see was a theme were the /text/
changed styling, more than the tags/code around the text. But TextMate
appears to only be able to have one color for text, namely that of the
"Foreground" color. Am I right? I hope not. Put on an edge, I would much
rather have a permant color for tags etc, but differing colors for text,
depending of the context. Can TextMate do this? Or may I just forget it
at once?
(I have used TextMate for a 2-3 years, but I only used the installed
themes. And there are many things with it that I have not taken
advantage of.)
[1] http://manual.macromates.com/en/language_grammars
Best regards,
Leif Halvard Silli,
Oslo
Greetings TextMate mailing list.
Forgive me if this is child's play, i searched the list archives
thoroughly before posting.
I am trying (for many hours now) to open a .nib file created in
Interface Builder using the "$DIALOG" command from a shell script. My
general objective is identical to the screencast Allan created in 2006
(http://tinyurl.com/df3m9r).
- Open a .nib file
- Wait for user to close nib or hit a ok button
- pass default parameters to the .nib
- capture user input from the .nib to be used later in the .sh file.
Currently i am trying to accomplish this with:
"$DIALOG" nib --load ~/Desktop/Test2.nib --center --model '{ classPath
= "foo"; }' --parameters '{}'
That usually opens the .nib window, when i close the window all i get
is an integer.
Then it usually stops working all together, no matter how many time i
try and execute the line of code (control - R) nothing happens, i have
tried what Allan suggests in the post "So either press ⌃D to
“close” stdin, or give -p '{}' as argument, and things should work
as expected." And i cant get it to work, if i trash TextMate prefs and
reinstall, it works for a bit more.
I am not yet as familiar with Ruby as i would like to be and i have an
immediate need to implement this within an existing bundle using
shell. The screencast made it look so nice and easy...
Best,
</matthew>
-------------------------------------------
Matthew Richmond, Principal/Designer
The Chopping Block, Inc.
481 Broadway, 3rd Floor, New York, NY 10013
p 212.463.7574
f 917.591.7584
http://choppingblock.comhttp://chopshopstore.com
-------------------------------------------
World Domination Through Graphic Design
-------------------------------------------
Hi,
last time I asked, this wasn't possible and I did not follow the latest
development. So here's my question again:
I have a custom html/php dialect. It contains of regions of code that
is either html markup or php code.
<php>...</php>
and
<htm>...</htm>
Inside a php region, you can use <htm> and inside a markup
region, you can use <php> which leads to recursive a structure
that is very helpful for programming (at least for me) but
harder to colorize, fold or autocomplete correctly.
More complex example (outmost default is html markup):
<html>
<head>
<php>
echo convert($title);
</php>
<style> ..... </style>
</head>
<php> init(); </php>
<body>
Result:
<php>
if($someflag)
<htm>
<table border="0">
<php>
foreach $row ($rows)
{
<htm><tr><td></htm>
echo $row;
<htm></td></tr></htm>
}
</php>
</table>
</htm>
</php>
</body>
</html>
Can I customize Textmate so its html and php modules identify my
regions?
/Andreas Pardeike