[TxMt] Strange compiling behavior

Charilaos Skiadas skiadas at hanover.edu
Fri Feb 9 21:59:35 UTC 2007


On Feb 9, 2007, at 12:18 PM, Nathan Paxton wrote:

> Hi all,
>
> I found a strange LaTeX compiling behavior.
>
> I tried compiling a LaTeX document this morning, and I got the
> following warning above the "Compiling laTeX..." header in the
> compiling window.
>
> /Library/Application Support/TextMate/Support/lib/web_preview.rb:70:in
> `html_head': undefined method `+' for nil:NilClass (NoMethodError)
> from -:4
>
Does this happen with any document you are trying to typeset?
The offending line seems to be:
   user_path      = ENV['HOME'] + '/Library/Application Support/ 
TextMate/Themes/Webpreview/'

And the error leads me to believe that HOME is not defined for some  
reason in your system, at least not when this method is called. Not  
sure how that could be the case though.

Try to create a new TextMate command with the lines:

#!/usr/bin/env ruby
p ENV['HOME']

And then run that command. What output do you get? I get: "/Users/haris"

>       What does this mean?
>
>       Thanks for whatever help you can give.
>
> Best,
> -N
>
> -- 
> ----------
> Nathan A. Paxton
> Ph.D. Candidate
> Dept. of Government, Harvard University
>
> Resident Tutor
> John Winthrop House, Harvard University
>
> napaxton at fas.harvard.edu
> http://www.fas.harvard.edu/~napaxton
> ====================================================================== 
> =================================
> When you have to stay eight years away from California, you live in a
> perpetual state of homesickness.
>        - Ronald Reagan
>
> The most courageous act is still to think for yourself.  Aloud.
>        -Coco Chanel
> ====================================================================== 
> =================================
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

Haris





More information about the textmate mailing list