hi @all,
i am trying set up TextMate for using latexmk.pl as describe in
http://plesslweb.ch/2007/04/02/setting-up-latex-on-mac-os-x/ and , but
am running into some problems.
The symptom is
! LaTeX Error: Unknown graphics extension: .eps.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.72 ...\includegraphics[width=80mm]{pics/au4.eps}
?
! Emergency stop.
...
l.72 ...\includegraphics[width=80mm]{pics/au4.eps}
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
and, yes, i have
\usepackage{graphicx}
on my main file.
At this point I should say that I'm able to successfully compile the
project with TeXShop, but not with latexmk (simple manual latex +
bibtex + latex). In Linux, latexmk is doing the job perfectly.
What I guess might be the source of the problem is that I have two
latex installations, so i am guessing that One is texlive2007, and the
other results from installing too much stuff in Fink.
So, my question would be: how can I correctly setup TextMate/latexmk
so that it is going to use the correct installation?
Are there any path variables that need setting, or simply an explicit TEXINPUTS?
Any help would be greatly appreciated!
Hi there,
I just found out that Araxis Merge (IMHO one of the best merging tools
available, and the only program that makes me miss Windows sometimes)
is coming to the Mac platform.
The current beta is quite nice, has AppleScript support and includes
commandline tools for automation.
So... is there any chance of having the Subversion.tmbundle crew take
a look at it?
Hopefully you'll instantly fall in love and add support for it as a
diffing/merging tool : )
More info, and download at
<http://www.araxis.com/merge_mac/>
Thanks in advance ; )
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
Hi,
I don't know whether this is a bug or it's the normal case. I'm using
TM 1.5.6 (1414)
[ a '|' is indicating the caret]
Supposing you have a plain text file with a line:
Dies ist ein | Test.
TM_CURRENT_WORD = 'ein Test'
Why??
If I have that one:
Dies ist ein Test. |
TM_CURRENT_WORD = is undefined
Fine.
Can someone explain me that behaviour please.
Thanks,
Hans
I got the following error today when I tried to run a TextMate
command in the GTD2 bundle:
/tmp/temp_textmate.P3vuHw:4:in `require': No such file to load -- erb
(LoadError) from /tmp/temp_textmate.P3vuHw:4
I've been playing around with my ruby installation, but it seems to
be running fine (1.8.6). I can run a script with "require 'erb'"
from within TextMate, so I don't think that ruby is the problem. I
also checked to make sure that I haven't changed the code for the
command, but it checks out as the most current in svn.
Any idea what's going on? Thanks.
Mike
Hi Brad,
thx for the quick answer :)
The Latex bundle is the original which came with TextMate, Version 1.5.6 (1405).
The excerpt I mailed was taken from the main.log file.
Anyway, compilation with pdflatex is indeed unsuccessful due to the eps figs.
On my linux system I've always had success with 'latexmk -ps', and so
I've set 'TM_LATEX_OPTIONS' to '-ps'.
The output of the typesetting process is the following (WARNING: LONG)
Typeset & View
main.tex
Theme:
Compiling LaTeX…
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6
Typesetting: ./main.tex
Document Class: article 2005/09/16 v1.4f Standard LaTeX document clas
Typesetting: ./draft.tex
Typesetting: ./introduction.tex
LaTeX Warning: Citation `klattklatt1990' on page 1 undefined on input line 9.
LaTeX Warning: Citation `hms1964' on page 1 undefined on input line 15.
LaTeX Warning: Citation `guenther1998' on page 1 undefined on input line 19.
LaTeX Warning: Citation `hanson_stevens2002' on page 1 undefined on input line
LaTeX Warning: Citation `stevens1989' on page 1 undefined on input line 28.
LaTeX Warning: Citation `liberman1985' on page 1 undefined on input line 28.
LaTeX Warning: Citation `perrier2005' on page 1 undefined on input line 28.
LaTeX Warning: Citation `doupekuhl1999' on page 1 undefined on input line 31.
LaTeX Warning: Citation `leonardo2005' on page 1 undefined on input line 32.
LaTeX Warning: Citation `doupekuhl1999' on page 1 undefined on input line 33.
Typesetting: ./synergies.tex
LaTeX Warning: Citation `rabiner1967' on page 2 undefined on input line 37.
LaTeX Warning: Reference `eq:amps' on page 2 undefined on input line 44.
LaTeX Warning: Reference `eq:main' on page 2 undefined on input line 45.
LaTeX Warning: Reference `fig:au' on page 2 undefined on input line 64.
./synergies.tex:72 Unknown graphics extension: .eps.
Typesetting: ./results.tex
LaTeX Warning: Citation `klattklatt1990' on page 3 undefined on input line 8.
LaTeX Warning: Citation `klatt1980' on page 3 undefined on input line 9.
LaTeX Warning: Reference `sec:vowels+consonants' on page 3 undefined on input
LaTeX Warning: Citation `ladefoged2005' on page 3 undefined on input line 25.
Typesetting: ./voweltable.tex
LaTeX Warning: Reference `fig:voweltriangle' on page 3 undefined on input line
Typesetting: ./voweltriangle.tex
./voweltriangle.tex:13 Unknown graphics extension: .eps.
LaTeX Warning: Reference `fig:au' on page 3 undefined on input line 48.
./results.tex:63 Unknown graphics extension: .eps.
./results.tex:71 Unknown graphics extension: .eps.
LaTeX Warning: Reference `fig:klatt' on page 3 undefined on input line 89.
./results.tex:93 Unknown graphics extension: .eps.
Typesetting: ./discussion.tex
LaTeX Warning: Reference `sec:vowels' on page 4 undefined on input line 11.
Typesetting: ./bibliography.tex
LaTeX Warning: There were undefined references
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right
Output written on main.pdf (4 pages, 121801 bytes)
main.log
This is BibTeX, Version 0.99c (Web2C 7.5.6
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6
Typesetting: ./main.tex
Document Class: article 2005/09/16 v1.4f Standard LaTeX document clas
Typesetting: ./draft.tex
Typesetting: ./introduction.tex
Typesetting: ./synergies.tex
./synergies.tex:72 Unknown graphics extension: .eps.
Typesetting: ./voweltriangle.tex
./voweltriangle.tex:13 Unknown graphics extension: .eps.
./results.tex:63 Unknown graphics extension: .eps.
./results.tex:71 Unknown graphics extension: .eps.
./results.tex:93 Unknown graphics extension: .eps.
Typesetting: ./bibliography.tex
Output written on main.pdf (4 pages, 120871 bytes)
main.log
Found 0 errors, and 5 warnings in 2 runs
It would be nice to have Code Completion included in the Rails bundle.
I have split my time using TextMate for PHP and Ruby on Rails, and one
thing that I like about how PHP is handled in TM is code completion
(hitting Escape for a partial function name to get a list of possible
functions to choose from.)
It would be extremely useful to have this for Rails. I read that if I
freeze Rails, then code completion would work, but in most cases, one
does not want to freeze Rails. One thing that would be especially
convenient is to have code completion for Rails methods that are
globally available in Rails views, such as link_to; this method alone
has no less than SIX other variations, to give you an example of the
standardized method naming convention in Rails. This is commonplace
among the other methods in Rails.
link_to variations include:
- link_to_function
- link_to_remote
- link_to_if
- link_to_image
- link_to_unless
- link_to_unless_current
Anyways, hopefully this will drum up some discussion about this and
get something going. It would be nice if someone who already has
experience creating Completion code for TM Bundles could handle this
task, since I rarely touch TM Bundles and Snippets.
--
Gary King
http://www.kinggary.com/http://www.linkedin.com/in/garyking
I searched the archives back to July of '06, but did not find anything
on the list about this...
I'm developing on a Linux box that's got my source tree on it. My Mac
NFS mounts this directory, and I use TextMate on my Mac to edit the
sources on the Linux box. Whenever I leave the textmate window and come
back, I have to wait for about 5-15 secs (with a spinning beach ball),
before I can edit my files again. Is there some NFS setting that I can
tweak to remove this wait? Or some config thing in textmate?
Any help would be appreciated.
Thanks in advance,
Per
--
Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119
V: 209 883 4102 | pthomsen(a)reedtz.com | C: 209 996 9561
GPG ID: 1209784F | Yahoo! Chat: pthomsen | AIM: pthomsen
Hi,
Joachim Mårtensson wrote a marvelous extension to tm_dialog - the
code completion popup.
(See his mail http://lists.macromates.com/pipermail/textmate/2007-
August/021853.html)
Now I had the idea to enhance it a bit in respect of file/path name
completion and a word completion based on cocoa's spell checker
dictionaries.
####
File/Path completion:
tmCommand:
"$DIALOG" -f -p '{pathcompletion=YES;}'
Input: None
Output: Show as Tool Tip (for errors messages)
It turns out that this is the fastest way to insert a path I ever saw ;)
If you type '/App' it will start there and inserts the longest match
automatically.
If the current document is saved and you type ' ' it starts at
TM_DIRECTORY.
Is there TM_SUPPORT_PATH or TM_BUNDLE_SUPPORT before the caret and
you type e.g. ' ' it starts at the given path.
The popup window doesn't disappear if I inserted an item. Instead it
shows the content of the inserted path.
####
Word Completion
tmCommand:
"$DIALOG" -f -p '{wordcompletion=YES;lang=nl_NL;}' or "$DIALOG" -f -p
'{wordcompletion=YES;lang=en_GB;}'
Input: None
Output: Show as Tool Tip (for errors messages)
By my opinion it's better than cocoa's built-in completion ;)
It also doesn't disappear if I append a new character to my word or
if I delete a character. Instead it shows new suggestions.
A demo can be found at:
http://www.bibiko.de/TM_completion.mov (2.6MB)
Some tiny things have to be done but the tentative code works. If I
fixed them I will post the changes to Joachim. He will commit it to the
http://macromates.com/svn/Bundles/branches/Dialog%20PlugIn%
20Completion%20Menu/ branch.
My question is whether there are other possibilities to use this
extraordinary extension.
One idea would be to feed this popup window with TM's internal
completion list but up to now I didn't find a way to have access to
it (Allan?).
Comments, suggestions?
Cheers,
Hans
Hi!
Does anybody know how to add ability to edit/add post slug (for
WordPress blog) in TM?
I like to post through TM but my posts mostrly in russian so slugs are
too... And that is very non frendly for IE/FFox users - if i want to
send them link to my post...
Alexey Blinov
Hi all,
The Hyperlink Helper bundle is fun, but it would be more useful for me to have a
macro that would auto-convert all urls in a text document to active
hyperlinks--eg, replacing:
Please visit my home page at http://mysite.net/home.html today!
with
Please visit my home page at <a
href="http://mysite.net/home.html">mysite.net/home.html</a> today!
or some variation on this.
I could write this macro as a RegExp global replace, but I was thinking someone
else may have already scripted it. If you know of a pre-existing macro, please
let me know.
BTW this forum has been very helpful and quick to respond in the past--thanks
for the support!
jon