Hello,
I have a project in TextMate that compiles without giving me errors, but
when I compile it using TexShop, they are errors. How come isn't
TextMate showing me what and where the errors are ?
Thank you,
Maxime Boissonneault
i'd like to know if it's possible to get XCode bundle without direct
internet connection ???
because at this time i don't have svn i'm going to a net shop to connect
thru another computer ( win*)
<textmate(a)lists.macromates.com>
--
yvon
On 04/09/07, Clover <antikraft(a)gmail.com> wrote:
> Seems like I am having problems updating my LaTeX bundle.
> I have been trying to update my bundles using the script at
> http://blog.bleything.net/2006/10/15/keeping-textmate-bundles-up-to-date-wi…
> and also the GetBundle bundle, but I don't think my bundle gets updated.
> The former script when doing the update says "* LaTeX: bundle exists,
> updating
> * updated to " without saying the version number to which it was updated
> — makes me think that there was an update failure (a similar thing
> happens to the "Text" bundle during updating.
I'm afraid I don't know what the problem is. I've never used either
that script or GetBundle. I hope somebody else will be able to help.
(You could always try
http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles then
updating again, to see if that helps.)
Robin
Here is an example of a code block that is processed correctly by markdown,
but is not correctly scoped in TextMate.
* level 1
def test():
pass
The def test() line should be scoped markup.raw.block.markdown, but instead
is meta.paragraph.list.markdown. According to Gruber: To put a code block
within a list item, the code block needs to be indented *twice* — 8 spaces
or two tabs: The spec doesn't say, but if you put a code block inside a
level 2 list then you have to indent your code 12
Brad
--
Brad Miller
Assistant Professor, Computer Science
Luther College
Hello,
When I use the "Typeset & View" command from the Latex bundle I get
the following error:
Traceback (most recent call last):
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py",
line 299, in <module>
tmPrefs = tmprefs.Preferences()
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py",
line 18, in __init__
self.prefs.update(self.readTMPrefs())
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py",
line 39, in readTMPrefs
plDict = plistlib.readPlist(pl)
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py",
line 77, in readPlist
rootObject = p.parse(pathOrFile)
File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py",
line 402, in parse
parser.ParseFile(fileobj)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line
634, column 17
I Googled and found a posting with a similar problem:
http://www.nabble.com/-BUG--Latex-Bundle-t4317028.html. Brad Miller
replied with a suggestion to check out /tmp/tmltxprefs.plist - I did,
and found a line with some weird characters that are probably to
blame. Here are lines 632-641:
<dict>
<key>command</key>
<string>grep '
[Extreme newbie alert]
I have been hearing about the Latex Watch setup which sounds like a
dream. However, couldn't find any directions for setting it up.
Any pointers?
Thanks!
Raheel
Hi
asking for help
I have the next code for to eat the spaces behind the cursor (with
Shift and FwdDel). My problem is I know only how to move around the
current line but not how to go beyond and eat also new lines in order
to reach the start of the next line.
#!/usr/bin/env ruby
sel = ENV['TM_SELECTED_TEXT']
if sel != nil
sel = sel.dup
sel.gsub!(/\s/, '')
print sel
exit 0
end
left = ENV['TM_CURRENT_LINE'][0, ENV['TM_LINE_INDEX'].to_i]
right = ENV['TM_CURRENT_LINE'][ENV['TM_LINE_INDEX'].to_i .. -1]
right.gsub!(/^\s+/, '')
print left + right
I have found the env vars
TM_CURRENT_LINE'
TM_LINE_INDEX
TM_LINE_NUMBER
TM_INPUT_START_LINE
but it is not evident for me how to know the whole text before/after
the cursor.
Any idea will be welcome.
I recently had the following problem: I needed to move the contents of my
footnotes in a latex document to parentheses in the main text. I.e. search
and replace \footnote{......} capturing the contents of the footnote etc.
My problem was that \footnote could contain other latex commands, so that it
was not possible simply to search using the braces. I needed some way to
search and replace using matching braces. Is that possible?
Textmate is very good at working out which close brace goes with which open
brace, but as far as I can see that ability is not available when doing a
search and replace. Is that right?
Best wishes,
N
hi brad,
here is a serious tex-code error which apparently goes unnoticed by
the error parsing mechanism of typeset & view:
from the log file:
======
Runaway argument?
\a . \begin {treetab}[t]{ccccc} & \Node {}{NP}\\[3ex] \Node {l}{} &&
\ETC.
./kula-cheng.tex:788: Paragraph ended before \ex was complete.
<to be read again>
\par
l.788
I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
======
typeset & view window:
Found 0 errors, and 2 warnings in 1 runs
wat is missing in the tex code is a closing } in this kind of tabular
environment (which produces syntax trees as used in linguistics).
because of this the entire object gets dropped.
BTW: the revised typeset & view (with the buttons in the typeset &
view window) is fabulous, thanks a lot for your work!!
christoph
I've installed the getBundle bundle and the autoupdater.
the autoupdater announces a failure and the update installed bundles
causes this to be logged:
Skipped 'CSS(plus).tmbundle'
Skipped 'CSS.tmbundle'
svn: REPORT request failed on '/svn/Bundles/!svn/vcc/default'
svn: Target path does not exist
svn: This client is too old to work with working copy '/Users/
tonycrockford/Library/Application Support/TextMate/Support'; please
get a newer Subversion client
launchd[91]: com.macromates.textmate.bundleupdate: exited with exit
code: 1
launchd[91]: com.macromates.textmate.bundleupdate: 8 more failures
without living at least 60 seconds will cause job removal
can anyone suggest where to start fixing this?
cheers
Is there a key combination for selecting a line (or lines) of code in a tag but
omitting leading and trailing spaces and tabs? I'm familiar with the Shift-Cmd-L
shortcut, but it leaves in the whitespace. This makes a mess of indented HTML
when I'm using the Ctrl-Shift-W and Ctrl-Shift-Cmd-W HTML shortcuts.
In other words, if I apply the combination Shift-Cmd-L followed by Ctrl-Shift-W
to this line:
Here's a paragraph!
I get this:
<p> Here's a paragraph!
</p>
instead of what I want, which is this:
<p>Here's a paragraph!</p>
Obviously I could use the mouse to select only the correct part, but I was
hoping there might be a keyboard shortcut.
If it's best to create my own macro using Regular Expressions, any pointers as
to how to get started would be helpful.
Many thanks!
jon
I'm trying to write a command that reformats Python triple-quoted
(""") strings. The scope of such strings is:
source.python string.quoted.double.block.python
when I create a command that has:
Input: Selected Text or Scope
and said scope as the Scope Selector, then run the command with the
cursor inside a triple-quoted string, the entire document is fed to
the command instead of just the triple-quoted string (the current
scope).
I've confirmed the scope via TM_SCOPE. Clearly I have the Scope
Selector correct else my command wouldn't be activated (I've bound it
^Q).
Any ideas?
j.
On Aug 30, 2007, at 11:54 PM, "Baluta Cristian"
<cristi.baluta(a)gmail.com> wrote:
> do you have this line in your mtasc.yaml ?
> params: -main
> this was my problem. this was for the projects wich compiled with a
> blank screen, but i think i remember your error also, was for single
> files.
Unfortunatly the problem isn't that simple. I get an error screen and
no compile. I am almost certain it is because the script is running
MTASC from the wrong scope, for when I run the same command manually
from Terminal it compiles fine.
I have no idea what could be causing this and have even deleted
TextMate and reinstalled with the same results.
> On 8/30/07, Aaron Clinger <aaron(a)odopod.com> wrote:
> On Aug 29, 2007, at 1:24 PM, Baluta Cristian wrote:
>
> > stopped to work after an update? a month ago i had this problem and
> > was something about settings file, is missing something wich was
> > default in the past. i'll try to come back with a link.
>
> I don't think so but maybe. It be great if you could pass me the link.
>
> Thanks.
>
>
> >
> > On 8/29/07, Aaron Clinger <aaron(a)odopod.com> wrote:
> >> The build with MTASC command suddenly stopped working for me on my
> >> work
> >> computer. I am at a total loss.
> >>
> >> I am now getting this output when I try to compile on projects
> >> that had
> >> previously worked:
> >> (unknown) : type error class not found : com.package.Class
> >>
> >> It seems in my testing that it might be using the folder that
> >> contains the
> >> class you currently have open, instead of the folder the
> >> mtasc.yaml resides
> >> in. I have tried using the same command in the right folder
> >> location from
> >> Terminal and it works fine.
> >>
> >> I am running the edge build 1414.
> >>
> >> Thanks in advance for any help.
> >>
> >> -Aaron
> >>
> >>
> _____________________________________________________________________
> >> _
> >> 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
> >>
> >
> >
> > --
> > Cristi
> > www.ralcr.com
> >
> >
> ______________________________________________________________________
> > 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
> >
>
>
> ______________________________________________________________________
> 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
>
>
>
> --
> Cristi
> www.ralcr.com
>
> ______________________________________________________________________
> 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
Not sure who's maintaining the PHP bundle (Ciarán?) but any chance
you could include this tiny, tiny snippet? It makes writing longer
blocks easier.

Also - I'm using Doxygen rather than PHPDocumentor (as it seems
easier to get it into TeX ? let me know if I'm wrong here!) - any
chance we could have
/**
*
**/
as the docblock defn? I don't think it interferes with PHPDocumentor,
and it makes folding easier on long comments.
Kind regards,
R
--
Richard Dyce MA (Cantab.) MBCS MIET
http://dyce.com
Hi,
I've been seeing this for some time, and I'd like to know if any of
you knows what the problem is:
Let's say I'm editing a file (file1.html), and I save it with another
name (Save as file2.html). After that action, I'll be editing
file2.html, but if I want to open file1.html, it doesn't show in the
project drawer. I can't access it using Command+T, either.
If I quit Textmate and reopen it, then I can see file1.html in the drawer.
Thanks!
The build with MTASC command suddenly stopped working for me on my
work computer. I am at a total loss.
I am now getting this output when I try to compile on projects that
had previously worked:
(unknown) : type error class not found : com.package.Class
It seems in my testing that it might be using the folder that
contains the class you currently have open, instead of the folder the
mtasc.yaml resides in. I have tried using the same command in the
right folder location from Terminal and it works fine.
I am running the edge build 1414.
Thanks in advance for any help.
-Aaron
Allan,
Just out of mild curiosity, how long has TM2 been self-hosting (i.e.
when did you switch from TM1 to TM2 in order to develop the rest of
TM2)?
As long as you're teasing us about it and all... :-)
j.
On Aug 27, 2007, at 7:00 AM, textmate-request(a)lists.macromates.com
wrote:
> I use textmate a lot to write in markdown. However, the documents
> I produce need to be printed out and proofread often. Is there any
> way to get textmate to print out documents double spaced? If not,
> I preview the documents in firefox on OS X. Is there any way to
> get firefox to print double spaced?
In addition to tweaking/hacking the built-in print.css file, you
should also consider installing Fletcher Penney's MultiMarkdown set-
up. It comes in two parts: (1) a TextMade bundle and (2) a
MultiMarkdown folder you place in ~/Library/Application Support.
Why? Because Multi-Markdown actually lets you include meta-data at
the top of a document. One item you can include looks like this:
CSS: http://path.to.styles/sheet.css
You can then "style" a particular document any number of ways. I have
not found a way for this to work fully using TextMate's built-in
Preview browser, however. (HELP coding gurus!) Fonts work. As do line
spacing, which would get you what you want, but not margins and page
numbering.
Of course, to be fair, I haven't found a browser yet that respects
page numbering as specified in CSS when I have outputted using
MultiMarkdown. (If I am doing something wrong not to get this, please
someone feel free to set me straight.)
So far as I can tell, truly print-ready formatting is only available
through LaTeX or through using something like Prince. (Or by being
XSLT competent.) I really can't work up the desire to immerse myself
in LaTeX when Markdown works so well for me. Prince is too expensive.
And I am definitely incompetent when it comes to XML/XSL/great googly
moogly.
Given my ignorance, setting up MultiMarkdown can't be that hard.
Now, where's a piece of wood so I can knock on it.
john
Hi,
How can you make it so when you press a '(' when editing source-code '( )'
is inserted instead of '()', that is, there are two spaces between the
brackets and the cursor is in-between those two spaces? It makes code much
easier to read.
Thanks!
P.S. Sorry if this message shows up as a duplicate.
--
View this message in context: http://www.nabble.com/Auto-Paired-with-Spaces-tf4295400.html#a12226736
Sent from the textmate users mailing list archive at Nabble.com.
This is barely a bug, but still seemed worth a quick mention. I've
got a project file in my /opt/ directory, which I'm using for fooling
around with my local apache installation. I do not have write
permission in /opt/, because I'm not logged in as admin (a habit from
the early days of great bash disasters). When I go to 'create a file'
in the project drawer and choose a location within /opt/ to create
it, clicking 'ok' fails silently – no error message or request to
authorize. In other circumstances I've seen TextMate ask for
authorization as admin, and it would be nice if it did the same here.
Like I said, hardly a crucial issue, there are a million ways around
it, but it seems like it ought to work.
I'm using build 1414, if that makes any difference.
Yrs,
Eric
HI,
I don't know whether this is an issue for other users as well and
whether it would be possible, but I'd like to have a built-in chance
to enable or disable installed plugins (maybe integrated in TM's menu).
Background:
I often use Hetima's CJK-Input plugin for writing Japanese.
This plugin will be also invoked if I want to write German umlauts
like ä because I use an US-keyboard and I have to type the key
combination ALT+u plus a for inserting an ä. This behaviour is a bit
annoying.
[I know that TM can display the key combination ALT+u or ALT+e not
yet but still ... ;)]
Up to now I use a script to rename the plugin and restart TM.
Furthermore if more plugins will be developed in the future which
maybe interact with others it would be nice to have such a chance to
(un)load plugins while running TM.
On the other hand it would 'solve the problem' while developing a
plugin to restart TM after building a new version of it. Just unload
and load that plugin.
Or am I wrong?
Best,
Hans
Greetings list,
I've just recently started getting a couple of errors when using the
"mate" command:
~ $ mate
sysctlbyname_with_pid: sysctl failed:Operation not permitted
is_pid_native: sysctlbyname_with_pid failed:Operation not permitted
It still seems to work properly.
I haven't been able to find anything on this re: TM, any clues on
where to start?
Best,
David
Hi there,
I have problems with the "reformate method call" of the Objective-C
bundle. I don't know if I don't understand the function or if it is a
bug - hope you can help me :)
Code snippet:
[nc removeObserver:self];
NSLog(@"%s: Unregistered with notification center: %@", _cmd, [self
fileName] );
[super dealloc];
The NSLog line is longer than my wrap-settings. So I want to reformat
that line to have the log command splitted over two lines, possibly
with an intendation for the second line. But if I press ^q the code
ends up like this:
[NSNotificationCenter defaultCenter]; [nc removeObserver:self]; NSLog
(@"%s:
Unregistered with notification center: %@", _cmd, [self fileName] );
[super
dealloc]; } @end
Do I use the wrong command? Is it a bug?
Thanks for reading ;)
Simon
Hi all,
I'm working on some PHP files and cannot get Show TODO List to work.
I recall this bundle was updated recently, but I haven't really used
the new version until now.
An example: one file has 1 FIXME comment and 2 CHANGED comments. When
I try Ctrl-Shift-T, I get the TODO window which lists 1 FIXME and
only the 1st CHANGED, and each of those seems to contain everything
from the comment line to the end of the document.
Am I making some error with how the comment lines are formatted? E.g.:
// FIXME: need to copy header section to sitedev file.
--
Tim Mansour <tim(a)neologica.com.au>
Hi,
I'm trying to customize the completion with my custom Ruby script. In
order to do this I've created a custom Preference item in my bundle
with a specific scope.
{ completionCommand = '"${TM_BUNDLE_SUPPORT}/bin/
completion_command.rb"';
disableDefaultCompletion = 1;
}
And this way surprisingly it doesn't work, because $TM_BUNDLE_SUPPORT
seems to be undefined for measly preference items. Should I file a
bug report or is there any work-around? ;-)
-Michail