Hi,
in 1.5.5 and 1.5.6 is a bug in the "Find in Project" Dialog. Here is
how you can reproduce it:
- open a project
- open "Find in Project"
- set "Find:" to aaa.bbb
- set "Replace:" to ccc.ddd
- activate an other TM window (e.g. the project window)
- re-activate the "Find in Project" dialog
- doubleclick bbb from the "Find:"
- copy
- doubleclick ddd in the "Replace:"
- paste
bug: a blank is inserted before the pasted bbb in the "Replace:" field
cheers,
Alex.
Attached is a patch file containing the changes between the CVS
version of the Latex bundle and my version. They are as follows:
1a. Improve the parsing of %!TEX lines, so that it conforms to the
behaviour of TeXShop. Previously it was too strict about the format;
in particular it demanded a single space following the = sign, rather
than arbitrary whitespace. (Oddly, a single space before the = sign
*is* required.)
1b. Do not ignore "file not found" errors in options.rb. (Why was this done?)
2a. The second group of changes concerns the error handling in the
'Typeset & View' command. Previously, detection of errors depended on
parsing the output of the TeX command. However, it is difficult or
impossible to do this reliably, because of the variety of forms that
error messages can take. The new code also looks at the exit value of
the tex process.
2b. While working on the latexErrWarn.py script, I noticed that the
code detecting the -v (verbose) option was broken. I have fixed it;
but, to conform to existing behaviour, this option is no longer passed
to the script.
3. Allow per-file setting (in a %!TEX line) to override the global
$TM_LATEX_PROGRAM setting. For backwards compatibility reasons, an
exception is made for latexmk. There is a new option
$TM_LATEX_COMPILER which does over-ride everything; this should be the
recommended way of using frameworks like latexmk in the future.
Eventually the latexmk exception should be removed.
Robin
A new version of Latex Watch is available, which fixes a number of
bugs. It's available here:
http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.5.dmg
Latex Watch takes a lot of the hassle out of using Latex, by quickly
updating the document preview whenever you save a change to your
source file. It saves you having to manually recompile all the time,
and it's also quite a bit faster too. See the included help file for
more details.
Changes since 2.4:
- Delete .watcher_pid file on exit. (I think this was broken by 2.3.)
- Fix bug introduced in 2.4 that broke TeXShop updating.
- Use a sanitised name for the .foo.* files, because format names containing
spaces don't seem to work (so we would fail for filenames with spaces in).
- Change into the working directory, rather than using the full path, to
avoid problems caused by special characters in the name of some ancestor
directory.
- Quote Applescript strings, so that filenames containing special characters
(backslash and double quote) will not cause Applescript errors. (They do
still cause problems with PDFSync in Skim: see
https://sourceforge.net/tracker/?func=detail&atid=941981&aid=1753415&group_…)
- Catch the obscure case where the filename ends in ".tex\n", which
would previously cause mysterious-looking problems.
- Remove the 'hide extension' attribute on the .tex file, if TeXShop is
used as the viewer, otherwise updating will fail for interesting reasons
that I won't go into here.
Robin
Hi,
Since the last update I'm having problems with the ActionScript
bundle and XTrace. All my debugging code now gets printed out in the
flash movie rather than in the XTrace window as it used to before.
I think I've done all the necessary steps:
1. Add my folder in the security settings in Flash
2. Fire up XTrace
3. Add the trace argument to mtasc.yaml
Firstly nothing displayed in the preview window. The .swf file ran
fine in a browser but not under TextMate. I modified the build
script (point c below) to represent the file as a proper URL rather
than a file:// path and this worked, but I still don't get any debug
out, nor do I get a security warning.
I made a few tweaks to the mtasc build script:
a. Add the command it used to build the swf as a comment in
underneath the HTML
b. Allow for the 'app' yaml statement to be an array of files rather
than a single file
c. Allow me to prefix a location to the swf file, such that the
output HTML is:
http://localhost/~gaby/game/blah.swf
rather than
/Users/gaby/Sites/game/blah.swf
Which made the preview work.
I'm really stuck here as I found the XTrace output invaluable,
whereas the in-swf version is next to useless as the important data
always runs off the edge of the movie! Help! I'm going mad!
Gaby
--
Junkets for bunterish lickspittles since 1998!
http://www.playr.co.uk/
Hello,
I'm trying to use the database browser with TextMate 1.5.6 (1405)
with Postgres 8.2.1. I've configured the SQL Bundle and when I try to
activate the browser, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Support/bin/db_browser.rb:178:in `abort': cannot convert
Array into String (TypeError) from /Applications/TextMate.app/
Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:
178 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Support/bin/db_browser.rb:167:in `html' from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/
Support/bin/db_browser.rb:167
I've already made the password prompt regex change suggested in
another posting, but that did not help.
Thanks for looking into this.
-B
Dear friends!
I am using Textmate for my LaTeX projects (writing arcticles at the
university).
I want the following macro: I want to mark a text that I have written
and then I want to push a special keyboard shortcut to activate it.
Example: "This is a text and it is just an example."
I want to mark the word "text", push a keyboard shortcut and then it
should create automatically:
"This is a \frqq text\flqq\ and it is just an example."
Can this be realized with TextMate?
Kind regards!
Chris (Austria)
For what it's worth, here's a refined version of this morning's
quickie HTML anchor commands. I'm definitely open to input.
They're tied to CTRL-SHIFT-R. That's probably something else's
shortcut, too, but I've lost track. There are two commands so the
shortcut gives you a menu with 2 options. Creating an anchor just
gives you a snippet with a suggested name based on the selected
text. Creating an anchor link gives you a list of all of the current
named anchors in the page and lets you select what to link to.
Thanks,
Brett
I had to whip this up this morning for a site that had a ton of named
anchor tags. There may have been something previously but I missed
it. If you highlight the text to link and hit CTRL-SHIFT-A, it will
give you a dialog with a suggested name for the anchor. Confirming
the dialog after any necessary modifications will create the href
link to the anchor and copy the name of the anchor to the clipboard.
Then you place the cursor or highlight the text to become the anchor
and hit CTRL-SHIFT-A again. It will create the anchor from the
clipboard. This makes for rapid index development.
The only drawback is that my current system of using the same
keyboard shortcut twice means if you hit undo after pasting the
anchor you lose the clipboard and have to start that anchor over from
the beginning. It may be wise to separate the two functions, but I
didn't want to take up more shortcuts than necessary ;).
Brett
Hi,
I'm using Version 1.5.6 (1405) with Postgres 8.2.4. I've configured my setup
in the SQL Bundle,
but when opening the Databrowser nothing shows. I get the display of
"Databases" but there are no databases shown. When I add a wrong one, the
databrowser will complain that the db is unknown.
I can post mor information when necessary.
CU
Christian
--
View this message in context: http://www.nabble.com/SQL-Bundle%3A-Postgres-with-Databrowser-shows-nothing…
Sent from the textmate users mailing list archive at Nabble.com.