Hello,
after updating my LaTeX bundle with GetBundle the "Include Image"
Drag command no longer works for me.
Instead of giving me
\begin{figure}
(all the normal stuff in here)
\end{figure
when I drag an image from the drawer to the text, all I get is
/tmp/temp_textmate.n4yQVj:3:in
or
/tmp/temp_textmate.Rd7QkI:3:in
I have alreay tried jpg as well as png images (both worked well
before), tried different LaTeX files and different folders for the
images.
Before updating everything worked fine!
Any help appreciated!
Bye,
Carsten
Hello to All
This is a revised version of Texari Reborn. As you might know, not all
Themes have support for more exotic Languages like Textile for Instance.
It was first created to cater the proper Textpattern Styles.
I have revised the Theme since then a couple of Times. It now has also
good support for Textile, php and HTML of course.
I even modified Brad Choate's Textile Language Grammar yesterday, to add
support for Acronyms, codeblocks and a couple of other things that
are only available in Dean Allan's version of Textile 2.
Unfortunately I lost my changes, due to the fact, that I had to force
quit TextMate.
However the Theme is there.
One useful addition, that I made, is to add support for zem_template,
which is used to create the Textpattern plugins, that are running from
cache. It helps to avoid Errors, styles comment blocks and special
comment blocks as distinguishable lines and so forth.
It has a very resting effect on the eyes.
Give at a go, if you wish.
regards, marios
Hi!
I am using wordpress 2.2 with utw and utw-rpc, toghether with
textmate's blogging bundle and circlesix' autotag bundle. That's a
really nice combination and I love working with it.
Now, today Wordpress released version 2.3, with tag support. Any
ideas on how to use this tag support with textmate?
Thanks in advance!
André
My project drawer used to scroll horizontally when I had several levels of
folders open, now it trims letters from the middle of filenames. Why did
this change and how can I change it back?
I don¹t recall changing anything in TM options and indeed I can¹t find this
as an option anywhere. I did get some Apple updates recently; from the
archives it appears that string squishing is a behavior of the system tree
control so it is possible that something changed underneath.
Thanks for any ideas!
Seth Cousins
(p.s. Fairly new to TM, I¹ve been using it for ~2 months and it¹s the best
GUI editor I¹ve ever used.)
--
iLike. Are we musically compatible? Find out now
at: http://www.iLike.com/user/sethco
For those of you adventurous enough to be using the Latex bundle from the
subversion repository I wanted to let you know that latexmk.pl has had a
significant upgrade, as has the integration of latexmk with the Latex
bundle.
For those of you that do not know, latexmk is a perl script that runs
latex/bibtex/makeindex at the appropriate times and places to make sure your
document, and all citations, cross references, and index entries are up to
date and properly typeset. The latest version of latexmk now supports more
packages like multibib and some glossary packages, and seems generally
better able to handle complex documents.
The latex bundle is now smart enough to tell latexmk to use alternative
versions of latex (xelatex for example) and is smart enough to tell latexmk
to to generate a dvi file --> ps --> pdf when you are using pstricks or
other packages. In addition any extra options you add in preferences or
through a %!TEX directive are passed on to latexmk.
Go ahead, check the box.
Brad
--
Brad Miller
Assistant Professor, Computer Science
Luther College
Hi
i got this error when im trying to run a python script:
csh: FDK.init: No such file or directory. /bin/bash: line 2: :
command not found
the python script is:
import os
print os
im running osx10.4.10
python 2.4.4
anyone any ideas???
it would be nice to get it working :)
thanks
Frederik
Hans-Joerg Bibiko bibiko at eva.mpg.de
Thu Sep 20 07:43:29 GMT 2007
> Hi,
>
> Over the past years I wrote some very tiny code snippets in order to
> save time while using TM. I copy&pasted it from one code to a new
> command etc. Then I had the idea to put everything together in a
> plugin to use my code snippets more flexible.
> Ok, I did this. I took the idea of tm_dialog, Joachim Mårtensson's
> completion menu, and me tiny code snippets. The result is the TMTOOLS
> plugin.
>
> usage:
> "$TMTOOLS" -[fsgiem] -p PLIST
> f --extended-popup
> s --set
> g --get
> i --insert
> e --execute
> m --play macro
>
> Each of the following commands can be used within any tmCommand/
> script written in bash, ruby, perl, etc.
>
> (tentative) LIST OF COMMANDS:
> -----------------------------------------------
> Show as completion menu:
> -TM's internal word list completion
> -Word completion with Cocoa's spellchecker dictionaries of different
> languages
> (TM's internal word completion list is added before the
> spellchecker's list :)
> -File/Path Completion
>
> -Insert text
> -Insert text as snippet
>
> Set: (also as batch)
> -set word characters
> -place the caret to
> -select something within the document
> -set tab size
> -set soft tabs
> -set soft wrap
> -set the language/grammar by its name
> -set show line numbers
> -set font size
> -set font name
> -set bookmarks for lines
> -set userdefault for a key
>
> -play a dynamic generated macro
>
> Get:
> -get the _current_ text from the document
> -get the XML representation of the document
> -get the XML representation of the selection
> -get the position under the caret
> -get all bookmarks out the current document
> -get all symbols
> -is document edited?
> -get font size
> -get font name
> -get current stylesheet
> -get all opened files in a project
> -get the default for a key
> -get the head of the current line according to the caret
> -get the tail of the current line according to the caret
> -get the head of the current word according to the caret
> -get the tail of the current word according to the caret
>
> Execute: (also as batch)
> -reloadBundles
> -select current scope
> -run any macro, command, template, or snippet by its name
> -open saveAs panel
> -open open Panel
> -open web preview
> -open bundle editor
> -open print panel
> -center selection in window
> -delete all bookmarks
> -go to next/previous snippet field
>
> -convert a text according to unicode's mapping [(de)compose]
>
>
> and some more...
>
>
> One can do very nice things with TMTOOLS.
> E.g., by myself I'm using very often
> -go to next snippet field and show suggestions according the selected
> text, select a suggestion, and go to the next snippet field
> (It was always annoying to see only 'NSStringEncoding'. Now, if the
> snippet field is 'NSStringEncoding' it shows me 'NSUTF8Encoding,
> NSASCIIStringEncoding, NSJapaneseEUCStringEncoding, ...'. Or if the
> snippet field is something like uft8|ascii|utf16, it gives me these
> items as inline menu. )
> -create an HTML page out of my document, change the font size, and
> open the web preview
> -get all bookmarks, show a inline menu, and go to the selected
> bookmark
> -open a text document *.txt, set my grammar to a language which
> highlights consonat clusters, hide line numbers
> -open a text document *_jp.txt, set the font name to ForMateKonaVe
> and size to 14pt, to input Japanese
> -the chance to execute dynamic generated macros - very helpful ;)
> -if you have a long text you can set bookmarks to line
> 50,100,150,200,...
>
> To illustrate the syntax of such commands here some examples:
>
> play a macro:
> "$TMTOOLS" -m -p '{
> commands = (
> {command = "moveWordRight:"; },
> {command = "moveWordLeftAndModifySelection:"; },
> {command = "moveWordLeftAndModifySelection:"; },
> {command = "moveWordLeftAndModifySelection:"; }
> );
> }' $val
>
> set a grammar:
> "$TMTOOLS" --set -p '{grammar;to="Objective-C++";}'
>
> set as batch:
> "$TMTOOLS" -s -p '{
> batch=(
> {grammar;to=Perl;},
> {wordchars;to="_$";}, <= this is very useful ;)
> {caret;toLine=2;toColumn=2;},
> {selection;toColumn=end;}
> );
> }'
>
> execute as batch:
> "$TMTOOLS" -e -p '{
> batch=(
> {command;name="Add Line Numbers to Document / Selection";},
> {command;name="Duplicate Line / Selection";},
> {macro;name="Move to EOL and Insert “.”";}
> );
> }'
>
> go to next snippet field and show according to its selection a inline
> menu with suggestions:
> "$TMTOOLS" -e -p '{nextsnippetfield;}'
> "$TMTOOLS" -e -p '{command;name="ShowAsList";}'
>
> prepare a coloured print version of my document:
> "$TMTOOLS" -e -p '{command;name="Create HTML From Document /
> Selection";}'
> "$TMTOOLS" -m -p '<?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
> www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>commands</key>
> <array>
> <dict>
> <key>argument</key>
> <dict>
> <key>action</key>
> <string>replaceAll</string>
> <key>findInProjectIgnoreCase</key>
> <false/>
> <key>findString</key>
> <string>font-size: .*?px</string>
> <key>ignoreCase</key>
> <true/>
> <key>regularExpression</key>
> <true/>
> <key>replaceAllScope</key>
> <string>document</string>
> <key>replaceString</key>
> <string>font-size: 8px</string>
> <key>wrapAround</key>
> <true/>
> </dict>
> <key>command</key>
> <string>findWithOptions:</string>
> </dict>
> </array>
> </dict>
> </plist>
> '
> "$TMTOOLS" -e -p '{showwebpreview;}'
>
>
>
> convert the unicode mapping of the entire document:
> IN=$(cat)
> PLIST="{convert;what=\"$IN\";using="nfd";}"
> "$TMTOOLS" -g -p "$PLIST"
>
> # allowed parameters for key 'using'
> #
> # nfd = decompose according to canonical mapping
> # nfc = compose according to canonical mapping
> # kd = decompose according to canonical compatibility mapping
> # kc = compose according to canonical compatibility mapping
> #
> # see more at http://www.unicode.org/reports/tr15/
>
>
>
> set the selection from the caret 4 chars back:
> "$TMTOOLS" --set -p '{selection;length=-4;}'
>
>
>
> one has the line "This is rub|bish and" [| = caret]:
> "$TMTOOLS" -g -p '{wordaftercaret;}'
> gives you "bish"
>
>
> Up to now this plugin is more or less a collection. I have to fixed
> some error handlings, unify the output, etc.
>
> So, my question whether it would be worth to clean the code and
> publish it. In other words: Is someone interested in such a plugin?
> One has to mention that TMTOOLS depends on Allan's code. If he
> changes the code maybe one has to adjust TMTOOLS' code as well. Then
> Allan plans to include some of these commands in TM2.
>
> Any feedback?
>
> Cheers,
>
> Hans
Sorry not to reply to this properly and destroy all threading. I've
been having email issues.
This all sounds extremely awesome and useful.
Am I right in assuming that you'd be able to run that command
periodically to get all this stuff out of textmate through the plugin
without interrupting your workflow?
What I've always wanted to be able to do is have an HTML Output window
open and have it constantly update with all the TM_ variables. There's
lots of stuff that you could use that for.
You could watch the current document from the background and keep
track of all the cursor positions where an edit was made and enable
some sort of back/forward thing like in a browser.
That's just one of the uses I can see for all this.
Where is the code for this or is it all just theory at this point?
Thanks.
—Thomas Aylott – subtleGradient—
I bought a copy of textmate and use it on my portable. I would like to
use a copy on my desktop. I tried to copy textmate to the desktop
computer and use the registration code from the portable but the app
acts like a 30-day trial version. Can you use textmate on more than
one computer?
hello:)
I would like to know if in a macro we can use the latex grammar to
know for example if we are in an environment or in displaymath etc...
to adapt the command to this situation ?
regards Alain
Off-topic half way, but I just had to get it out of my Brain.
In search of a better cross-format conversion, I followed Oliver Taylors
advice about Prince, to generate my PDF files, and after investing a
couple of hours, this proved to be rewarding.
I made a command in a similar way as Oliver did, and made a custom CSS,
which in this case suits the needs for a Client Manual.
Currently, I keep the Source File in XHTML format. (One large file, not
like in DocBook ).
My problem is, that apart from the prince-bookmark-level property I also
need to structure the content using ID anchors for the Targets and then
keep a TOC, that would then dynamically update as per command, much like
the one, that is available in AMAYA.
And second to this, I'd like to keep the source file either in Textile
or Markdown format and then convert to XHTML and PDF.
I use Bret Teerpsa's HTML Index Bundle in the meanwhile, for what I need.
I believe for some reason, that a command that dynamically updates a
TOC, if present, would be of much sense, to be available in the
markdown, textile and HTML Bundles by default.
Out of Interest, I'd like to know Allan's opinion about this for version
2, and if so, any other advice, suggestions about maintaining
Documentation files in a separate Project in General.
regards, marios