[TxMt] Leopard Ruby problem: LaTex include image
Paul McCann
paul.mccann at adelaide.edu.au
Tue Mar 25 11:41:45 UTC 2008
Hi Hans-Joerg,
> I've just migrated to Leopard, and I have the following problem.
> If I drag'n'drop a pdf file from the Finder to a LaTex doc I get the
> following error:
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
> 1.8/pathname.rb:205:in /bin/bash: -c: line 0: syntax error near
> unexpected token `('
> /bin/bash: -c: line 0: `dup': can't dup NilClass (TypeError)'initialize'
> from /tmp/temp_textmate.gqGtWt:7:in
I imagine that this message is a result of you trying to drag and drop the
pdf into an unsaved TextMate file: the command looks to insert a relative
path into your latex file but there's nothing kicking around when it asks
for the current location (ie of the latex file you're editing). Hence the
rather rude message. I guess this should probably be changed to present a
friendlier face in such a situation, but my ruby's (still) weaker than it
should be...
Cheers,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080325/e4d2bc9a/attachment.html>
More information about the textmate
mailing list