Hi- Using Ruby 1.9: ruby 1.9.2dev (2009-02-12 trunk 22259) [i386- darwin9.6.0]. It's unhappy with the non-ASCII right-double-quotes, left-double- quotes and ellipsis around line 20 in the command "Typeset & View (PDF)." Adding: # coding: utf-8 On the second line fixes things... HTH, Charles