I'm having a little trouble with the Plain Text WIki. The command: export
wiki to HTML always gives the error -sh: line 1: /Library/Application: No
such file or directory,
Any ideas?
Regards,
Mark
Hi,
I don't remember when this warning starts happening but I can not make
anything out of looking at the bundle codes.
When I type "item" and do "command+{", the output now has a warning
message like below:
Warning: PropertyList is deprecated. Use OSX::PropertyList instead.
\begin{itemize}
\item
\end{itemize}
The command works as expected, but I can not figure out what trigger
the warning. I don't know the version of LaTeX bundle but I use
GetBundle to keep it updated.
TextMate 1.5.5 r1383
Mac OS X 10.4.9 PPC
ip
Hello everyone,
I was wondering if anyone else came across the same following
behavior: When repeatedly typesetting a LaTeX file (e.g. when
changing equations around), PDFView correctly updates the page in
question but then jumps back to the first page (making it very
annoying to scroll to the appropriate page again). I have only
experienced this behavior with _some_ files, while others seem to
work fine.
Thanks for your help,
Jonas Müller
Hi there
Am bumping into an issue assigning a due date to an action.
I get the date picker OK but when I submit a date, I get this error
written to my .gtd file:
/usr/local/lib/ruby/1.8/date/format.rb:230:in /bin/bash: -c: line 1:
unexpected EOF while looking for matching `''
Any clues appreciated.
--
Richard
Hi,
I couldn't find the last thread, so I just open a new one.
There were some problems with LaTeX label completion and I especially
had problems when using subfolders in projects.
If the latex master file is in a subfolder, then there are three
posibilities for TM_LATEX_MASTER.
1. Give the full path to the master file:
In this case everything works, but I don't like this, because then you
cant move your projects to another place without having to change
everything.
2. Use the string 'subfolder/master.tex'
Typeset+View will work, label completion will not work.
3. Use the string 'master.tex'
Typeset+View will not work, but label completion will work in all files
that are in the same folder as master.tex
So parsing of subfolders is implemented in a different way for
Typeset+View and label completion. Would be nice if this was fixed.
Ruben
Hi,
natbib defines a set of cite commands that start with an uppercase C
(e.g. \Citep), which are meant to be used at the start of sentences,
especially if the author name starts with a lowercase letter (as in
"von ....").
The current TextMate highlighting doesn't recognise these commands as
citation commands. However, this is easily fixed by changing the first
occurrence of "cite" to "[Cc]ite" in the language definition.
The fix seems to work fine, so I was wondering whether this should go
into the main release.
cheers
Hendrik
Dear TextMate users
TextMate's LaTeX.bundle is really nice, but there is one thing that
bothers me when editing LaTeX documents with hard line wraps.
Reformatting a paragraph (with Crtl + q) does not behave the way I
would expect. Emacs is very smart when reformatting paragraphs in
LaTeX and I would love to see some of these features in TextMate too:
* currently reformatting an equation or figure environment messes up
the layout completely
* section titles should be kept on a distinct line and moved within
the text
* reformatting paragraphs that are commented should adjust the line
length and keep the paragraph commented
* putting a single % character at the beginning of a line divides a
paragraph into 'reformatting units'. When reformatting a paragraph,
the reformatting operation does not cross these % boundaries
* no reformatting should occur in math environments
In summary, reformatting should adjust the line-length but respect
LaTex commands and environments.
It looks like the LaTeX mode currently does not provide LaTeX
specific reformatting, but uses standard plain text reformatting.
Would it be difficult to change the behaviour? I assume that
implementing smart Emacs-like LaTeX reformatting requires the
bundle's grammar to provide a specific scope for marking the unit of
text (i.e. a paragraph) that should be subject to the reformatting
operation, e.g. text.tex.paragraph.
Does anyone have an idea, how to implement this?
Best regards,
Christian
--
Christian Plessl christian(a)plesslweb.ch http://plesslweb.ch
Hi,
I use Version 1.5.5 (1368) on Intel MacBookPro 10.4.10 and have the
following problem:
I created a new TM project and dropped a large folder in the project
drawer. To have shorter search times I removed the references of some
subfolders. Then I saved the project.
After quitting and restarting TM with the project, the removed folders
appear again.
How can I remove subfolders from a project that will stay removed
after restarting TM?
thanks,
Alex.
Dear all,
I know it is a bit off-topic but I believe it could also be
interesting for some TM users ;)
I'm just writing a grep-like command line tool based on the Oniguruma
library to work with UTF-8 data.
It works perfectly, and in many many cases it's faster than grep ;)
In order to be sure that this command line tool written in pure C
works on other Macs as well, I'd be appreciate if someone has a bit
time and a bit free hard disk space to check whether it runs for her/
him too. Especially whether it runs on a Intel Mac.
To run onigrep it is necessary to install the Oniguruma dylib in
beforehand. To do this simply
- download the source code from http://www.geocities.jp/kosako3/
oniguruma/archive/onig-5.8.0.tar.gz
- untar it
- cd in that folder
- execute:
./configure
make
sudo make install
that's it.
Normally Oniguruma dylib is installed in /usr/local/lib.
[I believe to use the external dylib is the best choice because
Oniguruma will be better and better. So you only have to upgrade the
dylib and not onigrep.]
Now you can run onigrep. For help type 'onigrep --help'. Up to now it
only reads UTF-8 data from stdin.
[Please note, if you did't copy onigrep in a folder listed in $PATH
you have to write the entire path to onigrep or if you're in the
folder where onigrep is located just type ./onigrep]
Some features in short terms:
- utf-8 support (that means a '.' is really one Unicode character)
- ignore case also works for all Unicode characters, not only for ASCII
- you can search across \n; multi-line mode
- ignore combining diacritics (for that you have to decompose
accented characters according the Unicode canonical decomposition
algorithm
(I attached such a tool. It is called 'unorm'. For help run 'unorm
--help'.)
example:
echo "Ag̀nes" | ./onigrep -id -i -o "a(.)n"
will output 'g̀'
echo "Ag̀nes" | ./onigrep -i -o "a(.)n"
will output nothing because ǵ is written with two Unicode
characters
- it is faster than grep in many cases:
try:
cat /usr/share/dict/web2 | ./onigrep "y$" -c
cat /usr/share/dict/web2 | grep "y$" -c
- option -cl counts the matches per line
example:
onigrep "\w+" -cl -n
How many words per line?
- you can write the regexp without escaping '(', ')', etc. as with grep
Please note, onigrep is still work in progress.
Many thanks in advanced und any feedback (suggestions, bugs, wishes)
is welcomed!!
Hans
PS onigrep and unorm will be available for free.
PPS One possible meaning of the Japanese word "Oniguruma" is "Devil's
wheel" like Textmate's icon ;)
On Jun 24, 2007, at 07:00 , textmate-request(a)lists.macromates.com wrote:
> On Jun 23, 2007, at 9:01 AM, John Laudun wrote:
>
>> Now, I know I could write an AppleScript -- okay, I've never been
>> any good with AS, but it's there -- I was just hoping that I could
>> not and thus be able to work entirely within TextMate. All I need
>> is a keystroke, or perhaps two, that would start and stop playback
>> of an MP3 file. (I assume I would have to do this through
>> QuickTime, but if there's a simpler command-line tool that could
>> do this, that would be fine with me.) The only wrinkle I would
>> like to add would be to be able to set an "auto-rewind" to the
>> START or STOP command so that when playback commenced again it
>> would start X seconds backwards from where it stopped. Setting
>> this X in a config file of some kind would be fine with me.
>
> Okay, I created three commands which should get you started. I put
> these in a bundle together which is attached. You'll probably want
> to change the key bindings.
>
> ⇧F1 Start Current Movie - Plays the frontmost window in Quicktime
> Player after rewinding it by two seconds.
> ⇧F2 Stop Current Movie - Stops all movies in Quicktime Player.
> ⇧F3 Rewind Current Movie - Rewinds the frontmost window in
> Quicktime Player to the beginning.
>
> So just open your MP3 in Quicktime Player and away you go. BTW, I
> figured out the scripts by looking here:
Those are brilliant and work quite well.
And, yes, I should have read up more on Applescripting Quicktime, but
I did not know about using osascript within TextMate.
Many, many thanks!
john
I keep getting a message saying there was a problem updating my
bundles. I checked the console and I'm seeing this message:
svn: Can't connect to host 'validcode.net': Operation timed out
-dave
Hello,
I've had a problem with the find dialog. It does not crash, but all the
buttons (not the text fields!) simply become unresponsive. It's been
reported before, but I just experienced it twice in a week.. :(
The only workaround that I know is to restart TextMate, which is bloody
annoying.
Anyone else experiencing this more now as well?
Jeroen.
[1]: November 2005!
http://article.gmane.org/gmane.editors.textmate.general/6718
There may be an obvious answer to this question - if so, my apologies,
but I can't see it!
Is there any way to search (and replace) within only a subset of the
files within a project?
Best wishes,
Nicholas
When I hit Command+O, the directory I'm put in is the one for the
project, but I would prefer that the directory match the file that I'm
currently editing (which is often in a subdirectory of the project).
I guess that most of the time I open a file, I'm opening a sibling to
the file I'm currently editing. I have this behavior with UltraEdit on
Windows and find it quite productive.
-Chuck
hi all,
I am currently getting a textmate crash every time I right-click on a
word to bring up the CM, e.g. to spell check. Is anyone else seeing
this?
I have recently changed a number of things about my environment which
make it harder to pin down the factors that might be contributing,
which include:
- I have moved to a macbook pro
- then, I just installed the recent (intel) 10.4.10 update.
- I installed the Safari 3 Beta
I *think*, but am not positive, that the right-click did not cause a
TM crash on the 'out of the box' macbook pro.
As far as I can ascertain the problem is only with Textmate - other
cocoa apps work okay.
Here's a crash report: http://s3.amazonaws.com/amy/tm_crash_report.txt
-Amy
I have a question regarding utf-8 encoding and the interaction of
TextMate and TeXShop. I have been using utf-8 encoding now for a while.
Many of my files have been prepared in TeXShop, in utf8 encoding. Now
that I can open them in TextMate and use Latex Watch, with the variable
TM_LATEX_VIEWER TeXShop on---a terrific combination---, I get the
following TeXShop message which I'd like to avoid:
``This file was opened with MacOSRoman encoding.
The file could not be opened with Unicode (UTF-8) encoding because it
was not saved with that encoding. If you wish to open in another
encoding, close the window and open again.''
The pdf shows perfectly in TeXShop viewer, which I prefer for now. How
can I avoid the message I get from TeXShop?
Top of my file is:
\documentclass{article}
\usepackage{fancyhdr}
\usepackage[utf8x]{inputenc}
\usepackage{lmodern}
\usepackage[french,english]{babel}
\usepackage{textcomp}
--Gildas Hamel
Quote from Koch of TeXShop to Bastian Philipps at
http://ftp.tug.org/mail-archives/macostex-archives/2006-February/020357.html
> Here is how TeXShop works: Internally it uses unicode. When it comes
> time to write out the file, the internal representation is converted to
> a string
> using an encoding. (This is necessary even if the encoding is a Unicode
> encoding, because the Unicode standard doesn't specify a particular way
> of writing unicode to disk. So utf-8 is one possible unicode
encoding, but
> not the only one.)
>
> What happens if there is a unicode character in the text which is not
> available
> in the particular encoding chosen? Apple's routines contain a parameter
> which
> indicates whether this should create an error or if instead the
> character should
> just be ignored or converted to something else. I choose "ignore or
> convert to
> something else." So if you type, say, a Euro symbol, but the encoding
> doesn't
> support it, then TeXShop will still write out the file.
>
> There is somewhat similar code when you read text from disk. Apple's
> routines
> require that an encoding be specified, and then the file is converted
> into Apple's
> internal unicode form and displayed in the editor.
>
> But this time there is another problem. Suppose the encoding is utf-8
> unicode,
> and the file isn't legal urtf-8. Then when Apple's code reads the file,
> it suddenly
> says "wait, this doesn't make sense." In that case, it stops reading and
> reports
> an error to TeXShop. TeXShop then puts up the dialog you have reported
> and reads the file again in MacOSRoman. (Every file is a legal MacOSRoman
> file.)
Hi,
As it is my first time, I am not sure how to submit contributions to
the Actionscript bundle, attached is a diff for the
build_with_mtasc.rb file to add the allowFullScreen="true" parameter
to both object and embed in the html template used to test the swf in
textmate.
This is useful for people working on projects that needs the flash9
fullscreen support.
Please let me know if it is ok :)
[]s
--
Fabricio C Zuardi
http://ning.com
Hello all,
I use the Pascal bundle quite a bit, and - while the Pascal bundle is MUCH better about understanding what a (to use the C term) prototype is vs a definition, it still fails when looking at functions (pascal methods that return a value).
So: it doesn't know that "FUNCTION something: Boolean; forward;" is supposed to be a prototype. It does work, however, with procedures (pascal methods that don't return values): "PROCEDURE something; forward;" is known to be a prototype, and is rightly marked as such.
I'll also admit I'm partially to blame for this: in March (15th) when I suggested a regex on how to find a prototype, my examples were wrong: I had improperly labelled my PROCEDURES as FUNCTIONS.
After my .sig in this email is a test case for prototypes vs definitions in Pascal, with 10 kinds of prototypes and 5 different kinds of definitions.
FWIW, I also had to create a new preference item, to turn off ShowInSymbolList for meta.function.prototype.pascal, entity.name.function.prototype.pascal, to get even Procedures to be ignored. I'm not sure what's up with that...
Hopefully the unit test will help get this bug nailed down once and for all, and someone who's more familiar with the prototype regex than I (Chris Thomas??) can add this to it.
Thanks very much,
_Ryan Wilcox
--
Wilcox Development Solutions: <http://www.wilcoxd.com>
Toolsmiths for the Internet Age PGP: 0x2F4E9C31
{___________________________________________________________________}
INTERFACE
{You shouldn't see any of the 10 declarations, below this point, on the Symbol List}
FUNCTION 1.ExternalFunctionDefinitionPrototype(param: type): Boolean; external;
FUNCTION 2.FunctionNoParamPrototype: Boolean; attribute (name = 'FunctionNoParam');
FUNCTION 3.FunctionParameterPrototype(param: type): Boolean; attribute (name = 'FunctionParameterPrototype');
FUNCTION 4.FunctionForwardNoParamPrototype: Boolean; forward;
PROCEDURE 5.ProcExternalDefinitionPrototype(param: type); external;
PROCEDURE 6.ProcParamPrototype(param: type); attribute (name = 'ProcNoParamPrototype');
PROCEDURE 7.ProcNoParamPrototype; attribute (name = 'ProcNoParamPrototype');
PROCEDURE 8.ProcNoParamForwardPrototype; forward;
PROCEDURE 9.ProcParamForwardPrototype(param: type); forward;
procedure 10.bob(something: somethingElse); external;
IMPLEMENTATION
{You SHOULD see the 5 definitions, below this point, on the Symbol List}
FUNCTION 1.FunctionNoParamFunction: Boolean;
BEGIN
END;
FUNCTION 2.FunctionParameterFunction(param: type): Boolean;
BEGIN
END;
PROCEDURE 3.ProcNoParamProcedure(param: type);
BEGIN
END;
PROCEDURE 4.ProcParamProcedure(param: type);
BEGIN
END;
PROCEDURE 5.ProcNoParamProcedure;
BEGIN
END;
{___________________________________________________________________}
There's a new version of the Latex Watch package available here:
http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.3.dmg
This release fixes various problems, and adds support for the Skim previewer.
PDFSync synchronisation works in both directions, when Skim is used.
Thanks to Jannis Hermanns for bug reports and testing.
Any problems, let me know.
Robin
Greetings. I saw a neat feature in another editor, and I was
wondering if there was similar functionality in TextMate. If there
is, I haven't found it yet and a pointer would be most appreciated.
When making a selection, I was wondering if there was some interface
point that easily displayed how many characters were selected.
My use case? Constructing HTTP Requests and wishing to supply the
accurate content length quickly and easily. I can imagine other use
cases as well, but this is the one that I can see needing most often.
Regards,
Robert M. Zigweid
Hey y'all,
Is there a way to get Textmate projects to show ".textmate_init"
files? ".htaccess" files are visible by default, presumably because
it makes sense that you'd want to see this for web projects. However,
this is equally true for ".texmate_init" files.
My options are to either set all my hidden files to visible, Mac-
wide, using something like Onyx (and cluttering up my desktop world),
or my current workaround of accessing and editing the
".textmate_init" file for a given project through the local pane of
my FTP program as a sort of bastardized finder window (as it will
show hidden files to me).
There's got to be another way -- Any way to get ".textmate_init"
files to show up in project windows is appreciated. And I'd like to
suggest this as something that the program should do by default;
after all, .textmate_init is one of its own proprietary file types. :)
TIA,
linda
On 23. Jun 2007, at 20:40, Steven W Riggins wrote:
> I just installed WP 2.2.1 with Daniel Jalkut's xml-rpc changes but
> now I can't fetch posts at all due to an iso timecode error.
Hi Steven - I just signed up the list so I could reply :)
First of all, the 2.2.1 release of WordPress includes several fixes to
XML-RPC that I encouraged, but Joseph did all the hard work. So
they're not "my changes," but I do have some perspective on them.
The time-zone one you're running into is actually the earliest issue
of the bunch that I raised, so it's not completely fresh in my memory.
But it was motivated by a change in 2.2 that would cause the time zone
to be completely omitted from the timestamps. While this is arguably
correct by "the letter of the law" for XML-RPC, it's not something
that WordPress had ever done before, so it threw off the times for
posts in at least WordPress, and probably other clients as well.
I think the way it worked before 2.2 was to put the actual time zone
of the blog into the timestamps. So if you had set your blog up as a
-4 hours time zone, it would return dates with "-0400" or something on
it. So with the change in 2.2 to represent dates in GMT format, I
suggested that at least it should indicate as much so that the date
would be unambiguous. I think I suggested using -0000, but since Z
worked for me and seemed more satisfactory to Joseph, I had no
objection.
Hope this helps clarify the rationale for the fixes. I'm not sure what
Joseph should do at this point, if anything. Unless somebody can say
with confidence that they feel -0000 will be more reliable across the
most clients than Z is.
Daniel
I feel a bit paranoid when pressing over the items in the project
files drawer because TM seems not be so clever with respect to the
contents of the files and sometimes it gets in an infinite loop.
I receive many students works with uncontrolled contents. The last
was a .txt file (output from a test) with 128Mb of anything. Of
course I did know that the file had 128Mb after TM hanged, I killed
it and saw the Finder info for the file.
Shouldn't TM have a better protection against this?
-- Juan Falgueras
I just installed WP 2.2.1 with Daniel Jalkut's xml-rpc changes but
now I can't fetch posts at all due to an iso timecode error.
Anyone else seeing this?
For some reason, I get the following when I try to svn commit through
TextMate:
svn: Commit failed (details follow):
svn: OPTIONS request failed on '/path/to/trunk/'
svn: OPTIONS of '/path/to/trunk/': authorization failed (
http://svn.server.net/)
Commits work, however, through the terminal.
Regardless, I trashed the cached authorization and (for the sake of
sanitation) checked out a brand new copy of the code (re-providing
authorization) with the terminal, but after making a cosmetic change to a
file with TextMate, a subsequent commit fails (while Terminal successfully
commits the file).
Am I missing something here? I've successfully used the svn bundle with a
different setup.