El 10/07/2007, a las 14:00, textmate-request(a)lists.macromates.com
escribió:
> tell application "TextMate"
> set w to window index 2
> set visible of w to false
> set visible of w to true
> end tell
it works like a charm. Thanks a lot. It will be for me a very
frequent shortcut.
- Juan FC.
Since upgrading to the latest version yesterday, the Convert Tabs To Spaces
menu option doesn't always work. I click on it and my text doesn't change.
But what I noticed later was a copy of my file's text had been appended to
the end of the file. More failures made more copies of the content.
Strange, I'm trying to reproduce the problem now and it's not occurring. It
works correctly every time.
This is with version 1.5.6 (1405).
THanks,
Ernest
--
View this message in context: http://www.nabble.com/Convert-Tabs-to-Spaces-is-unreliable-tf4059276.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
I found a question on this posed in the dev mailing list, but am posting in
the user mailing list, because it is now a user issue :-)
Any luck with this... I see the release notes mention using the keychain to
store passwords, but I'm not sure how to go about doing this...
Brad Miller wrote:
>
> I've been trying to get the new browser to work. But I get the following
> error:
>
> ERROR 1045 (28000): Access denied for user 'bmiller'@'localhost' (using
> password: NO)
>
> It looks like I should be prompted for a password? There is no place to
> enter one in the configuration dialog. I've searched my keychain and
> cannot find one. Is there some variable I should be setting to tell the
> SQL
> bundle that I want to use a password?
>
> Brad
>
> --
> Brad Miller
> Assistant Professor, Computer Science
> Luther College
>
> On 7/7/07, Ciarán Walsh <ciawal(a)gmail.com> wrote:
>>
>> Switching in new SQL bundle from WIP branch
>>
>> Changed:
>> D branches/WIP/Bundles/SQL.tmbundle/
>> A trunk/Bundles/SQL.tmbundle/
--
View this message in context: http://www.nabble.com/sql-bundle-and-the-keychain--tf4043562.html#a11486125
Sent from the textmate users mailing list archive at Nabble.com.
Hey Kim,
Actually I was able to fix the problem by going to:
Bundles -> Bundle Editor -> Reload Bundles
This fixed multiple problems for me:
1) TODO Bundle
2) Markdown Preview
3) My Personal Bundle Snippets
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
Based on a recent post, I have found easy to switch between the two
front-most windows,
osascript -e '
tell application "TextMate"
set index of window 2 to 1
end tell
' &>/dev/null &
(binded to numeric(0), making it really fast two use it!!, I use the
little finger)
but it doesn't work as desired since, although it exchanges the
windows order, it doesn't exchange the active one, leaving the window
behind the new front-most one active :(
Has anyone know some solution?
Thanks.
-- Juan FC
Hi there.
GetBundle is a great helper for installing and maintaining bundles!
A suggestion to its maintainer: would it be possible to add a "revert bundle
command"? I imagine that this could simply throw a dialog of all loaded
bundles and then delete the delta folder.
A really nice (but major, I imagine) would be a "merge" command which took a
bundle file on the desktop and merged its changes into an existing bundle,
on an item by item basis, prompting for conflicts.
I would use this for managing changes where I edit my own private bundles on
several machines and wish to get them all back into sync (I never figured
out subversion well enough to do it using SVN).
Some time ago, someone posted a message about a runtime error with bundles.
The problem was never resolved in the mailing list, but perhaps it was
outside the list...
I'm seeing the same problem. Whenever I try to execute a python script
within TextMate using <command>r, I see this error:
csh: setenv: Too many arguments. /bin/bash: line 2: : command not found
My default shell for my terminal sessions is tcsh, not bash. If that's any
help...
The very same script executes fine in a terminal window. If I execute from
TextMate using the Bundle -> Run Script (terminal), it works fine. If I just
execute the script in a terminal window, it works fine. Open the script in
BBEdit, and execute via the #! menu and it works fine.
Similarly, perl scripts return the same dumb error, yet work fine elsewhere.
I updated all my bundles with subversion, per the help file. I added
/Library/Application Support/TextMate/
and
/Library/Application Support/TextMate/Bundles
like the instructions indicated, and then added the bundles I expect to use.
Perhaps someone can tell me the error I've made.
Until then, back to BBEdit...
TextMate version 1.5.6, Mac OS X 10.4.10, MacBook Pro.
--
Richard Brosnahan
Editor in Chief
Broz News
http://broznews.org
I have never let my schooling interfere with my education.
Mark Twain, author
Hi,
I often find myself wanting to open a currently selected tab in a new
window (without having to track down the actual file in the file
drawer), so that I can look at it in parallel with another tab. Is
there a shortcut to do it? I can't find anything like that.
Any hints would be greatly appreciated.
Tench
hello :)
I've a problem when I compile with the TextMate command, often I've
a good result but when I compile the same document with texshop or with
kile on ubuntu I 've some errors. Texhsop and Kile stops the
compilation but not TextMate....
But the errors are real and I think that for the Textmate'command these
errors are only warnings.
Is it possible to modify this ?
Thanks Alain (sorry for my bad english)
Thanks, Alan, but I guess I was a bit unclear. I was hoping it would
look for the TODOs in just the files in the current project file, and
not all the files in the TM_PROJECT_DIRECTORY and down.
For example, if I have a project /Users/uner/Development/
exampleProj.tmproj with two files
/Users/uner/Development/vob/examples/example.cpp
/Users/uner/Development/vob/examples/tests/test.cpp
If I pick one of these files, type "echo $TM_PROJECT_DIRECTORY" and
do a ^R, I get "/Users/uner/Development/vob/examples", and that's the
folder the TODO bundle starts scanning from (i.e. it does /Users/uner/
Development/vob/examples/ and all subdirectories).
I'd really like it to just scan example.cpp and test.cpp.
Is there a way to do this, or do you have a suggestion for some code
I can copy from another bundle to see if I can hack this together
myself?
On Jul 8, 2007, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
> From: Allan Odgaard <throw-away-1(a)macromates.com>
> Date: July 8, 2007 1:24:51 AM CDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] TODO Search Path/Recursion
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
> On 8. Jul 2007, at 06:04, Eric Uner wrote:
>
>> [...]
>> 1) Get the bundle to just show me the list it came up with last
>> time and only refresh when I need it to, or better yet,
> Could be done, but I don’t think many would prefer this behavior.
>> 2) Get it to only search the files in the current project?
> That should be the default -- try check the value of the
> TM_PROJECT_DIRECTORY variable from within your project.
> You can also set TM_TODO_IGNORE to exclude certain files/folders.
> On 8. Jul 2007, at 06:04, Eric Uner wrote:
>> [...]
>> 1) Get the bundle to just show me the list it came up with last
>> time and only refresh when I need it to, or better yet,
> Could be done, but I don’t think many would prefer this behavior.
>> 2) Get it to only search the files in the current project?
> That should be the default -- try check the value of the
> TM_PROJECT_DIRECTORY variable from within your project.
> You can also set TM_TODO_IGNORE to exclude certain files/folders.
Hi all,
(I'm posting this here because this section of the Textmate wiki:
"Use the mailing list...For everything related to bundle items, since
a lot of the stuff is done by other TM users (who for the most part
are subscribed to this list)")
I just upgraded to the newest version of Textmate (1.5.6 (1405)), now
when I hit the key combo (ctrl-shift-t), I get the error message:
/Users/jdoe/Applications/TextMate.app/Contents/SharedSupport/Bundles/
TODO.tmbundle/Support/lib/settings.rb:62:in `markers': undefined
method `+' for nil:NilClass (NoMethodError) from /Users/jdoe/
Applications/TextMate.app/Contents/SharedSupport/Bundles/
TODO.tmbundle/Support/todo.rb:32
I have not made any changes to the new "Preferences" section of the
TODO Bundle.
Does anyone have any suggestions on how I can correct this?
----
BrianH
binarynomad(a)gmail.com
Dear all, Having troubles getting Skim 0.5 to work with the Latex Watch
bundle. The compiled PDF is not updated on saving the source LaTeX. PDF sync
back and forwards works perfectly. Is anyone else having this problem?
Regards,
Mark P
Maybe a dumb question, but when/where do I enter my password for the
new SQL bundle in 1.5.6? I get a "Access Denied... using Password NO"
error.
Thanks
I have installed the "Edit in Textmate" bundle, with apparent success,
except that when I invoke the function, either through the hotkey
combination or by selecting the item from the edit menu in Safari,
nothing happens. I simply get the OS X warning sound.
Looking in the console I see the following:
2007-07-07 01:17:38.606 TextMate[9345] Can't open input server
/Users/chris/Library/InputManagers/Edit in TextMate
Not sure what this is all about, since this link does actually exist,
and links to the folder in
/Applications/TextMate.app/Contents/Resources.
Any idea how to get this working?
Thanks in advance.
http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.4.dmg
Changes since 2.3:
- Warn if PostScript mode is used with a non-default previewer.
- Expand the help file a little.
- With TeXShop, use open_for_externaleditor on the .tex file, to work
around an encoding-related bug in TeXShop.
- Add a refresh command for Skim, which works in Skim 0.5 and later.
This is just as well, since the automatic file-change checking is broken
in Skim 0.5!
Robin
Hi all,
I'm errors of the following persuasion when using the new todo
bundle. A new window pops up and the progress spinner runs for a bit.
The script then bails with this output:
/tmp/temp_textmate.jnhxMD:64:in `initialize': No such file or
directory - /Applications/TextMate.app/Contents/SharedSupport/Bundles/
TODO.tmbundle/Support/template.rhtml (Errno::ENOENT) from /tmp/
temp_textmate.jnhxMD:64:in `open' from /tmp/temp_textmate.jnhxMD:64
I see there's no "template.rhtml" file in my TODO bundle's Support
folder (only template_SOMETHING.rhtml)
I'm using:
* the just updated version of textmate (Version 1.5.6 (1401));
* macports ruby (1.8.6);
I updated my Bundles and Support directory from subversion and got
this problem. I then blew out the bundle from my subversion checkout
to force textmate to use the TODO bundle from TextMate's own bundles,
still the same thing.
What am I doing wrong?
Thanks,
-steve
The other problem i solved with creating a symlink..
But i wonder how to store the MySQL password. I couldn't find anything
in the bundle documentation and there isn't a input field
Did i miss something ?
Regards J.
Hello,
is it possible to somehow add own values to the wrap column menue?
I'm often using 72 as wrap column for writing emails, and adding this to
the menue as a user defined value would be really nice.
Thanks,
Eike
The new TODO bundle looks great, but searching through the NFS links
and all the tags and dirs etc. involved in my projects each time I
want to see the list is impractical. I may as well grep -r half my hard
drive. :-)
Before I start hacking away at the Ruby, is there some easy way I
am missing to either:
1) Get the bundle to just show me the list it came up with last
time and only refresh when I need it to, or better yet,
2) Get it to only search the files in the current project?
Thanks,
Eric
Hi,
In a snippet with a mirror, how do you allow a mirror to be followed
immediately by a number without that number being interpreted as a part of
the mirror value?
i.e., make it that $11 is interpreted as <contents of group 1><digit 1>
$11 is interpreted as match 11
$1\1 (and \\1 and \\\\1) all let the slashes flow right through rather than
consuming them as escapes.
Any clues or is this a limitation in snippets?
Tim
____________________
Famous lauded but completely wrong judgements:
When Oliver Wendell Holmes defined the class of speech which was not
protected by the first amendment as being the class of speech which includes
shouting "fire" in crowded theatre when there was none, he did so in a case
where he was justifying the jailing of Yiddish protestors against the draft
in WWI.
It is of course most critical to protect speech exactly when there is debate
over whether there is a "fire" (incitement to imminent violence) or not, and
that is what Holmes failed utterly to do.
I decided to write a modified version of a MultiMarkdown command, and
because I'm better at Ruby than I am at bash, I wrote my version of the
command in Ruby. It's working!
However, in order to pass the incoming text thru MultiMarkdown.pl, I open a
subprocess. I am not very savvy at subprocesses, so I have a couple of
questions:
(1) Is there an elegant way? Right now I'm using IO.popen, which has the
virtue that I understand what I'm doing, even though it's wordy.
(2) More important: we do not seem to be picking up the paths automatically,
so I have to construct (from ENV) a full path to where MultiMarkdown.pl sits
inside the support bundle. Is there a trick for handling this? The original
bash version just automagically "sees" MultiMarkdown.pl and SmartyPants.pl;
is there some way my Ruby script can automagically see them too?
Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
Hi,
First off, a big thank you to whomever wrote the Hyperlink Helper! What a
great little bundle! I think you have helped the world, as this will make
more pages incorporate referencing for claims, and help wikipedia become the
top link for information and make links more semantically (in the Tim
Berners Lee sense of semantic link) valid
Buglet for you:
Select the text "Cronbach's alpha"
"Lookup selection on wikipedia and link" -->
Received exception:bad URI(is not URI?):
http://en.wikipedia.org/wiki/Cronbach\'s_alpha
<a href="" title=""></a>
In a plain text document it returns the following
Received exception:bad URI(is not URI?):
http://en.wikipedia.org/wiki/Cronbach\'s_alpha
(this language is not supported, see for more info)
> On 4. Jul 2007, at 23:12, Max Lein wrote:
>
> > The problem with TextMate is that it essentially forces people to
> > use UTF8.
>
> Yes, and as I tried to explain, there is good reason it does that.
There are usually `good' reasons not to as well. For all I love about
TextMate, it's a bit pushy here ;-)
> > I have yet to find a way how to teach TextMate that my default
> > encoding is Latin1 (even though this is the default encoding which
> > I have set in the prefs): as long as a TeX file doesn't contain any
> > special characters, it will automatically assume they are UTF8
files
> > (ignoring my preference and -- if existant -- the metadata
connected
> > to that file).
>
> When checking “use for existing files” it will respect your
> preference. However, I fixed the problem for next build, so when
files
> with ASCII encoding can’t remain as ASCII, it will first try your
> preferred encoding (even when the “use for existing files” is not
> checked).
Well, my web pages use UTF8 ... so this option doesn't really solve the
problem. (I am aware of said option, but it just shifts my problem.) As
I said, an encoding per project option would be greatly appreciated (I'm
not sure I understand the last part of your reply correctly and whether
TextMate 2.0 would effectively resolve this issue).
> >> [...]
> >
> > However, going UTF8 is sometimes just not an option [...]
>
> Maybe not, but the bundle commands (which was the topic of this
> thread) can’t be expected to work with your files, when those
> are not UTF-8. I.e. go with Latin-1 and use special characters,
> and you should be prepared to see no or garbled output from script
> runners (which show script output), diff commands (showing changes in
> your files), build commands (which quote parts of your source), log
> commands (showing SCM log entries), various validation/completion/
> pretty-printing commands, a.s.o.
You clearly have the perspective of someone who codes (which is fine by
me, just an observation), but I haven't noticed any garbled output while
working with Latin1. That's probably due to the simple fact that I just
use a very specific subset of TextMate's commands. For me, a one-time
warning would be acceptable.
> > I frequently exchange files with people who work on Windows,
> > Linux or Solaris and the standard encoding they use is usually
> > Latin1. Yes, there are ways how to use UTF8 on other OS, but have
> > you ever tried to convince someone to switch to UTF8 who still
> > writes his papers in Plain TeX?
>
> Would plain TeX not be ASCII? :)
... but my contribution isn't. The encoding is `hardcoded' into
LaTeX (it's a simple command), so when the chapters are merged, we'd
get into trouble (not necessarily with Plain TeX people of which
there are admittedly very, very few left, but with all of my active
co-workers). (We usually split our work into sections which are then
compiled. Obviously any other wants to be able to compile the TeX code
on his system without fiddling for half an hour. I've seen it happen
often enough.)
> > Instead of blindly arguing for people to convert to UTF8 (which
> > is what I would use if I got to choose), you should accept that
> > people (= customers) want to and sometimes need to work with other
> > encodings as well.
>
> In what you replied to I gave a technical explanation of why it
> is highly infeasible to support other than UTF-8 for the various
> commands, which was the topic raised. Me accepting that some can’t
> use UTF-8 doesn’t really change that.
Well, I understand the reasons you gave, but people who use LaTeX need
just functionality, most of which is provided by the LaTeX (or Beamer)
bundle. I think if people consciously change the encoding to something
other than UTF8, they have a good reason for doing so. Give them a
warning (once) that some commands may not work would be acceptable to
me. I haven't heard of people in my field using diff on their TeX source
files, for instance. I've also never had any problems with TextMate's
built-in commands that produced no or garbled output.
I can certainly understand if you'd rather fix other problems than
these. But I think there are certain fields when this is just an
essential feature and the people would even be willing to live with a
smaller feature set.
> > I'm still longing for an `encoding per project' option which
> > TextMate would stick to no matter what. And also an error message
> > that tells me that I cannot save my .tex file in Latin1 because
> > there are some (invisible) characters that prevent it from doing so
> > (right now, it'll just revert to UTF8 without telling me).
>
> I have commented on this a few times in the past; the lack of a
> warning is indeed very unfortunate, and it comes from the code that
> does this “bumping” of encoding not having access to the UI. A
> mistake 2.0 will be without -- and as for encoding per project, I
> can’t recall exactly how much I have said here, but 2.0 does move
> a lot of things to be more folder-oriented and has another approach
> to dealing with encodings, basically offloading this to customizable
> import/export hooks, so non-UTF-8 users should be able to get
whatever
> they want.
That's very good news (although the first time I hear of those new
features). I hope that you don't have to set these encoding hooks
globally (not 100 % sure what you mean by that), as I mentioned, I use
UTF8 whenever I can (e. g. for the websites I maintain) and Latin1
*when I have to*. Hence different projects, different encodings and
a per project encoding seems like the best option to me. (I usually
create a project for my papers (LaTeX) since LaTeX is very noisy and
creates a phletora of files I almost surely don't need.) :-)
Max
UC Berkeley
Department of Physics
Is it possible to create a "palette" using tm_dialog? From a ruby
shell I can create a dialog that reads in a list and then lets me
load a nib asynchronously, clicking add multiple times. It then
returns all of the added choices when I close the nib. There are two
issues I'm working through:
1. When I run the same code from within a command, the dialog (nib)
freezes and takes no input until I cancel the command. I'm using the
wait_for_command loop from the dialog.rb code. I then manually close
the nib from the terminal. Is there something I'm missing?
2. I'd like to be able to keep the "palette" open and insert
snippets (or tags in this case) as I go, rather than upon window
close. I'd like to use this for both the Autotag bundle and the
Wordpress bundle, keeping a palette of Tags/Wordpress snippets open
and insertable at any time. Any way to do this?
Thanks,
Brett
Suppose you’re a person with a bad short-term memory doing test-
driven design. (You’d be me.) You’d want to have both the test source
and corresponding product code source visible at the same time. You'd
probably also like to to spend screen real estate to show a couple of
other files as well.
To this novice user, TextMate doesn’t seem like it wants you to be
doing that. For example, apple-t doesn’t remember visits to separate
windows, so when I want to visit “that file I was just in”, I have to
remember whether it was in a tab or a window and use either apple-t
or apple-`. But the reason I want separate windows is I have no
memory for such things.
However, I’m early enough in the Emacs->TextMate switch that I’m sure
I’m missing many things. How do you use TextMate on big screens?
-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog
if I create an image and save it to a folder that has been opened in the
project pane, how do I get TextMate to recognise the new files?
the files are on a shared network folder, could this be part of the problem?
(I'm using TM on a Mac mini, with a WAMP set up for my development on a
different box on the LAN)
currently I have to "add existing files"
is there a better way to "refresh" the files and folders in the project
that I've missed?
if all the files were on a Mac would TM recognise new files in project
folders automatically?
TIA
--
Join me: http://wiki.workalone.co.uk/
Engage me: http://www.boldfish.co.uk/portfolio/
>> I understand the problem now. However, how come TextMate can
>> detect what encoding was used for a file, and the scanner can not ?
>
> TextMate can *not* detect the encoding of your files. If you use
> UTF- n encoding, there is a 99.9999…% chance that it will get it
> right, but *any* other encoding, and TM’s guess is based on a
> frequency table and how well your file corresponds to this
> distribution when interpreted in the various encodings.
The problem with TextMate is that it essentially forces people to use
UTF8. I have yet to find a way how to teach TextMate that my default
encoding is Latin1 (even though this is the default encoding which I
have set in the prefs): as long as a TeX file doesn't contain any
special characters, it will automatically assume they are UTF8 files
(ignoring my preference and -- if existant -- the metadata connected
to that file).
> So anything else than mandating UTF-8 will make things break, and
> there is no technical solution to this problem. Sure, you can have
> things work “good enough” for some w/o going 100% UTF-8, and you
> can maybe fix some of the stuff that breaks when you are not using
> UTF-8, but you can never fix it all, so IMO it’s really not worth
> trying to support more than UTF-8, UTF-8 is the solution to the
> encoding problems of the past.
However, going UTF8 is sometimes just not an option. I frequently
exchange files with people who work on Windows, Linux or Solaris and
the standard encoding they use is usually Latin1. Yes, there are ways
how to use UTF8 on other OS, but have you ever tried to convince
someone to switch to UTF8 who still writes his papers in Plain TeX?
Instead of blindly arguing for people to convert to UTF8 (which is
what I would use if I got to choose), you should accept that people
(= customers) want to and sometimes need to work with other encodings
as well.
I'm still longing for an `encoding per project' option which TextMate
would stick to no matter what. And also an error message that tells
me that I cannot save my .tex file in Latin1 because there are some
(invisible) characters that prevent it from doing so (right now,
it'll just revert to UTF8 without telling me).
Max
UC Berkeley
Department of Physics
I'm having a bit of trouble trying to work out if it's possible to
have compound regular expressions in a snippet.
Basically, I want to replace all spaces in a tab-stop with hyphens,
whilst also lowercasing the whole string -- two things I can happily
do separately:
${1/.*/\L$0/}
${1/ /-/\g}
but can't seem to work out if it's possible to do both at the same
time. I've tried replacing the tab-stop in one expression with the
output from another:
${${1/ /-/\g}/.*/\L$0/}
but it doesn't work. I know it's possible if I create an intermediate
tab-stop like this:
${2:${1/.*/\L$0/}}
${2/ /-/\g}
but I don't want to do this as I have no use for the intermediate value.
Any help would be greatly appreciated! Thanks in advance.
Jordan
Hi,
I don't know how feasible this would be but at the moment theres no
easy way to get a diff from the commit window of what you are about
to commit, I end up clicking on the diff button for each of the files
I'm committing separately to check the commit.
Could there be a button (next to 'Cancel' & 'Commit') which shows a
diff of all the selected files.
Thanks
---
Jeremy Wilkins
Hi,
I use Version 1.5.5 (1368) on Intel MacBookPro 10.4.10 and have the
following problem:
if I want to open an 400 KB large xml or html file, TM needs over 10
minutes to open it.
Is this normal?
How can I increase the loading speed?
Thanks,
ALex.
A broken regular expression in the Blogging bundle prevents passwords
from being recognised when they're embedded in the endpoint URL.
Attached patch fixes.
Robin
Hi Tobias,
thanks, it worked.
ALex.
2007/7/5, Tobias Jung <newsgr(a)tobiasjung.net>:
> At 12:44 Uhr +0200 05.07.2007, Alex Greif wrote:
> > ist there a tool like tidy for pure XML documents? currently I have a
> > very large XML document without linebreaks.
> > I would use the tool to format the xml nicely and then open it in TM.
>
> Try this:
>
> tidy -o destiny.xml -iq -wrap 70 --tab-size 4 --indent-spaces 4
> --input-xml 1 --output-xml 1 source.xml
>
> Hope this helps!
> Regards,
> Tobias
>
> ______________________________________________________________________
> 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
>
Hi,
ist there a tool like tidy for pure XML documents? currently I have a
very large XML document without linebreaks.
I would use the tool to format the xml nicely and then open it in TM.
thanks,
ALex.
2007/7/5, Tobias Jung <newsgr(a)tobiasjung.net>:
> At 12:03 Uhr -0400 03.07.2007, Thomas Aylott (subtleGradient) wrote:
> > I regularly have to deal with html documents that have been
> > stripped of all newlines.
>
> Well, maybe this isn't the kind of solution you're looking for, but...
> Wouldn't it be better to use the "tidy" tool on these files _before_
> opening them in TextMate? After all, it isnt't fun to work with "no
> linebreaks" HTML files anyway.
>
> Using the following command line in the Terminal should give you a
> cleanly formatted file and leave most of the HTML code itself
> untouched:
>
> tidy -o destiny.html -iq -wrap 70 --tab-size 4 --indent-spaces 4 source.html
>
> Kind regards,
> Tobias
>
>
> ______________________________________________________________________
> 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
>
Perhaps the answer is already somewhere -- if so, please point me in the
right direction.
I've just decided to completely switch from Xcode to TextMate. I've
imported a WebObjects project and everything was great, until I tried to
open the .html file inside a .wo bundle.
Is there a way that I can import the project and have TextMate make the
.wo a folder, showing the .html and .wod files inside?
--
-------------------------------------
Dana Kashubeck
Systems Manager
Riemer Reporting Service Inc.
http://www.riemer.com
Phone: 440-835-2477 x. 125
Fax: 440-835-4594
-------------------------------------
Hello,
I'm writing my master thesis with TextMate and the LaTeX bundle, and I
encountered two problems.
First, I want to compile it using latex, and not pdftex. So, I set the
variable TM_LATEX_COMPILER to latex. However, this only is not enough. I
checked the Typeset & View script and I had to add this in order to make
it work :
if [ "$TEX" == "latex" ]; then
TEX_PSTRICKS=1
fi
after the line
TEX=${TM_LATEX_COMPILER:-$DEF_TEX}
Second, I write it in French. There are a lot of accents (é,è,à,ù,ï,ë,
and so on) in French, and sometimes, there is one in a
chapter/section/subsection title. The accents go into the label to.
Creating the chapter/section/subsection works fine with the accents.
However, when I try to refer to them and use \ref{sub followed by
Alt-Esc to use the auto-completion, I can select the sections with
accents in the labels, but when I do select a section with an accent,
instead of writing the label, it deletes everything inside the \ref{}. I
see two solution to this :
- Change the autocompletion script so that it can take accents.
- Change the chapter/section/subsection/... commands so that they
replace accents by regular letters (éèë by e, ...) in the labels.
However, I don't know how to do any of them.
Does anyone have a workaround this ? Or is it possible that someone
correct this in the bundle ?
Thanks,
Maxime Boissonneault
maxime.boissonneault(a)usherbrooke.ca
Textmate 1.5.5 (1383)
Subversion -> Status, then clicking the Commit button results in this:
/Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:17:in `require': No such file to load -- /Applications/_txt/TextMate.app/Contents/SharedSupport/Support/lib/io (LoadError)
from /Library/Application Support/TextMate/Bundles/Subversion.tmbundle/Support/svn_commit.rb:17
Eh?
Quinn
Does anyone besides me find it ironic that the Bundle Editor window where we
edit TM commands is not, itself, a TM window? Thus, while writing e.g. a
Ruby command, we don't get any syntax coloring, delimiter pairing, etc...
m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
Help needed. I have \usepackage{pdfsync} in my preambles, I set my
viewer as TeXShop or Skim in TextMate's shell variables or for the
project, but command-click gives no result.
Should add set other variables such as TM_LATEX_MASTER? and what value?
Or edit the command "show in PDF Viewer"?
Thanks for the help. I just thought I had to go back to editing in
TeXShop (because of the pdfsynching), but I couldn't bring myself to
edit in TeXShop anymore, I'm already hooked on TextMate, after just a
couple days...
--Gildas Hamel
I'm hoping someone can help me figure out why I can't bring up bundle
help items using Ctrl-H anymore. This key combination is now deleting
instead. I've deleted all my preferences and support files and
re-installed, but I'm still out of luck on this.
Any help would be appreciated.
Dylan
dear all,
I just moved to a new machine (from PPC to macintel) and now "typeset
& view" doesn't work. more precisely: compilation of the file is fine
but preview doesn't work. instead i get a spinning ball in the upper
left corner and a paper icon in the middle of the html-window.
on the command line ps2pdf, pdfview etc. do work. if I remove *.dvi,
*.ps, *.pdf in the working directory, TM initiates their recreation,
so this isn't the problem. it sems to me that, for some reason, TM
can't access the previewer.
i re-installed TM, to no avail. same if i create another user account
and try it there.
TM, cutting edge.
any hints?
best,
christoph
hi,
is there any way in textmate to type i.e. ' without completing it with
another ' ?
sometimes it's convinient to have closing apostrophe and sometimes it's
pretty annoying.
thanks,
mikie
Does anyone know if it is possible to set TextMate to blog to a
SimplePHP blog (http://sourceforge.net/projects/sphpblog/)? I chose
SPHPBlog a while back because of the ease of its installation, but
perhaps this same ease precludes using TM for editing posts to it?
Thanks for any help,
--Gildas Hamel
Hi again!
I just have seen that the LaTeX-Beamer-grammar is missing. Did I got
that from some other source or is it just integrated into the LaTeX-
bundle nowadays (I have an actual svn-checkout)
Niels
Hi!
I'm pretty sure that I asked that a long time ago but I can't find
anything about it in my mail-archive.
I have several templates in my template folder
conference-ornate-20min.de.tex
conference-ornate-20min.en.tex
generic-ornate-15min-45min.de.tex
generic-ornate-15min-45min.en.tex
speaker_introduction-ornate-2min.de.tex
speaker_introduction-ornate-2min.en.tex
template.tex
The first six files are standard-files from the beamer-package.
All files with en.tex and the template.tex-files are working fine.
The de.tex-file give me, after using the temp-command, only an empty
file.
Any idea what the problem could be?
Niels
Dear All,
Each time I attempt to convert a Markdown document to Latex through the
Markdown Bundle (MultiMarkdown selection) I receive this error -
-:3: parser error : Extra content at the end of the document
Any ideas. I have the latest bundle checked out and the latest support
folder,
Regards,
Mark P
ObTopic: I mean to do this in TextMate.
Suppose I were writing a LaTeX document and wanted to include Unicode
literals like ⌘ and ⇧. Is there a way to do that? The returns from
Google searches produce only packages that allow other encodings to
stand for character combinations TeX already knows.
— F
Hello Ladies and Gentlemen,
Is there a way to substitute an accented character by its non-
accented equivalent with a regular expression?
I'm asking because the LaTeX snippets for sectioning (cha, sec, sub,
subs, ...) automatically generate the label associated with a newly
created environment, but unfortunately the regexp used for this keeps
the characters accented.
Beacause of this, it requires to correct manually the label in order
for LaTeX to accept it for compilation.
Is it fixable?
Xavier Cambar