Hi,
Since earlier this week the balancing/pairing of brackets etc. no
longer seems to work. Thought these were syntax defined, but neither
R, JavaScript, Fortran, and a few other bundles I treid seems to work
any longer. Have I done something to my settings?
Thanks,
Rob
Hi,
I unsuccessfully searched the web site and the list archive, but I may have missed something.
I need to work for a client with humongous text files encoded in ISO-8859-1, with diacritical characters.
This is mostly OK, but I could not find a way to set the output window that TextMate opens to ISO-8859-1 encoding. This is a PITA.
I tried both Perl and Ruby and the issue is the same. For the sake of an example, save the following 6 lines (French composers) to a text file encoded in ISO-8859-1, named "test.txt":
Léo Delibes
César Franck
Gabriel Fauré
Edgard Varèse
Jean Françaix
Henri Büsser
Now run the following Ruby program from TextMate:
file = File.open("test.txt", "r")
file.each { |line| print line }
file.close
In the output window, all diacritical chars are replaced by the dummy "white question mark within a black diamond".
This is despite having set the preferences to Latin 1.
Note that the same small Ruby program displays diacritical chars correctly when run from a terminal window (provided the said terminal window is set to ISO Latin 1 of course).
So my question is: is there a way to set the TextMate output window to ISO-8859-1?
A workaround might be to redirect standard err and standard out to another window, already open, with ISO-8859-1 encoding. Is that possible?
I hope my request makes sense.
(Unfortunately, switching to UTF8 is not an option: input is almost 100GB ISO-8859-1, and so output needs be. A roundtrip to UTF8 would triple execution time, which is already too long as it is).
Many thanks,
Jean-Denis
In textmate it looks like there are spaces everywhere! I mean, even if no
trailing spaces are there at the end of the line, I can move right with the
keyboard arrows.. even worse, when I go down (down arrow) I don't get to the
end of the next line, but to somewhere in empty space!
How can I fix that?
thanks
After upgrading to Textmate 1.5.8 the program has all of a sudden started to
use all CPU and allocating more and more memory for no apparent reason. It
then beachballs and has to be forced to quit. This happens even with a
single, small file open. Anyone else seeing this?
--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
Thank you very much for your help here, the function of that option was not
very clear to me before :-)
> Message: 2
> Date: Thu, 12 Feb 2009 14:22:15 +0100
> From: Pierre Riteau <pierre.riteau(a)gmail.com>
> Subject: [TxMt] Re: "Texify" script in LaTeX bundle
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <2C5EA38A-66B4-4B98-B662-7E2E8DF21C91(a)gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
> On 12 f?vr. 09, at 14:04, Felipe Rech Meneguzzi wrote:
>
> > Hello all,
> >
> > I've searched the texmate documentation for the latex bunde and
> > then list archive but did not find any query towards this
> > functionality, so I am posting my suggestion here.
> > I've recently moved to the mac from working in windows and was
> > quickly convinced by a friend to use textmate both for programming
> > and LaTeX editing. In the LaTeX department, I have noticed that
> > there is no shortcut to execute this sequence of commands: latex +
> > bibtex + latex + latex. In the windows incarnation of LaTeX, mikTeX
> > has an executable that does this, but I believe this is easily done
> > by a script under MacOS. It would not be extremely hard to create a
> > script to do this, and smart it up by checking for the existence of
> > a bbl file and comparing its date with the source files in a
> > textmate project and decide on the most efficient sequence of
> > commands.
> > I would greatly appreciate it if (assuming people liked the idea,
> > of course) someone with more experience in textmate could add this
> > functionality, otherwise I may have to learn how the bundles work
> > and try to do it myself.
>
> Use Latexmk.pl? (see LaTeX bundle preferences)
>
> --
> Pierre Riteau
>
>
--
___________________________
Felipe Rech Meneguzzi
felipe.rech(a)gmail.com
http://fmeneguzzi.blogspot.com
___________________________
Salutations, list! When running scripts using the Python bundle, I noticed a
complaint from python3 about the use of reload() in sitecustomize.py. Since
reload is no longer a built in function in python3, this little one line
patch will fix the issue while still supporting python2.
Index: Python.tmbundle/Support/sitecustomize.py
===================================================================
--- Python.tmbundle/Support/sitecustomize.py (revision 11288)
+++ Python.tmbundle/Support/sitecustomize.py (working copy)
@@ -18,6 +18,7 @@
# now import local sitecustomize
try:
import sitecustomize
+ if sys.version_info[0] >= 3: from imp import reload # python 3 support
reload(sitecustomize)
except ImportError: pass
I am currently using TM 1.5.7 (1436), and everything is working swimmingly.
When I update to the latest "minor update," I end up with the following
message when I ask LaTeX to typeset my document:
env: ruby: No such file or directory
Now, I can see from searching around this forum and elsewhere that this is
somewhat a common problem. I've seen
http://manual.macromates.com/en/shell_commands this and several posts
trying to solve this issue. In particular, I am running Leopard, and have
not replaced Ruby. Both ruby and env are sitting in /usr/bin, and my path
has /usr/bin as the first entry. Furthermore, ~/.MacOSX/environment.plist
reads { PATH = "/usr/bin"; }.
At this point, I'm not sure what to do, and would appreciate some help.
Fortunately, I was able to roll back to v1436 via Time Machine, and
everything is working fine again. But I'd like to be able to use the latest
minor update. Any suggestions?
--
View this message in context: http://www.nabble.com/Error-on-Update%3A-env%3A-ruby%3A-No-such-file-or-dir…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all-
What became of the BibTex.tmbundle? I have it on my computer, but
didn't see it listed in the SVN. Googling didn't find a definitive
statement on it's fate.
Was it merged into the LaTex.tmbundle? Am I hallucinating, inattentive,
stoopid?
Any info greatly appreciated!
Best, Charles
Hello all,
I've searched the texmate documentation for the latex bunde and then list
archive but did not find any query towards this functionality, so I am
posting my suggestion here.
I've recently moved to the mac from working in windows and was quickly
convinced by a friend to use textmate both for programming and LaTeX
editing. In the LaTeX department, I have noticed that there is no shortcut
to execute this sequence of commands: latex + bibtex + latex + latex. In the
windows incarnation of LaTeX, mikTeX has an executable that does this, but I
believe this is easily done by a script under MacOS. It would not be
extremely hard to create a script to do this, and smart it up by checking
for the existence of a bbl file and comparing its date with the source files
in a textmate project and decide on the most efficient sequence of commands.
I would greatly appreciate it if (assuming people liked the idea, of
course) someone with more experience in textmate could add this
functionality, otherwise I may have to learn how the bundles work and try to
do it myself.
Regards,
--
___________________________
Felipe Rech Meneguzzi
http://fmeneguzzi.blogspot.com
___________________________
The sitecustomize.py script in the Python.tmbundle in build 1498 seems
to have an error, which keeps the traceback from the user script from
being formatted.
It seems the error offset (e.offset) is a NoneType instead of an int.
This diff fixes the output:
diff --git a/Python.tmbundle/Support/sitecustomize.py b/
Python.tmbundle/Support/sitecustomize.py
index ffb3525..a30c6d0 100644
--- a/Python.tmbundle/Support/sitecustomize.py
+++ b/Python.tmbundle/Support/sitecustomize.py
@@ -47,6 +47,7 @@ def tm_excepthook(e_type, e, tb):
# if this is a SyntaxError, then tb == None
filename, line_number, offset, text = e.filename, e.lineno,
e.offset, e.text
url, display_name = '', 'untitled'
+ offset = offset if offset else 0
io.write("<pre>%s\n%s</pre>\n" % (escape(e.text).rstrip(),
" " * (offset-1) + "↑"))
io.write("<blockquote><table border='0' cellspacing='0'
cellpadding='0'>\n")
if filename and path.exists(filename) and
"TM_SCRIPT_IS_UNTITLED" not in environ:
I searched on the gmane list and couldn't find anything, so I hope
this might prove helpful.
Thanks,
Jaremy Creechley