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
What does this mean?
Thanks for whatever help you can give.
Best, -N
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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Haris
Hmm. I get "/Users/nathanpaxton" but for some reason the compilation window has reverted to usign themes again. I haven't done anything, but it seems to be acting correctly for now.
Anything else I should check?
-N
On 2/9/07, Charilaos Skiadas skiadas@hanover.edu wrote:
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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate