<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@ require 'escape'
 require 'temp_dir'
 
 module Texvc
-  VERSION = '0.1.0'
+  VERSION = '0.1.1'
 
   class SyntaxError &lt; StandardError; end
   class LexingError &lt; StandardError; end
@@ -19,7 +19,7 @@ module Texvc
         cmd = Escape.shell_command(['texvc', tmp, tmp, latex, 'utf8'])
         result = nil
         IO.popen(%Q{#{cmd.to_s} 2&gt;/dev/null}, 'r+') do |io|
-          io.puts latex
+          io.puts latex rescue nil
           result = io.gets
         end
       </diff>
      <filename>lib/texvc.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,4 +7,10 @@ class TexvcTest &lt; Test::Unit::TestCase
     assert_not_nil image
     assert_equal Magick::Image, image.class
   end
+
+  def test_invalid_latex
+    assert_raise Texvc::UnknownFunctionError do
+      Texvc.parse('\foo')
+    end
+  end
 end</diff>
      <filename>test/texvc_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>101fe1c112f1afc291b8a490d9b9dd56ec26e6ea</id>
    </parent>
  </parents>
  <author>
    <name>Genki Takiuchi</name>
    <email>genki@s21g.com</email>
  </author>
  <url>http://github.com/genki/texvc/commit/a61b27a6bf69b9f575a095c11a06c3a78c4b716d</url>
  <id>a61b27a6bf69b9f575a095c11a06c3a78c4b716d</id>
  <committed-date>2008-07-19T02:28:35-07:00</committed-date>
  <authored-date>2008-07-19T02:28:35-07:00</authored-date>
  <message>Added a test.</message>
  <tree>b03719e824b9d00465391c6127b382e915073e85</tree>
  <committer>
    <name>Genki Takiuchi</name>
    <email>genki@s21g.com</email>
  </committer>
</commit>
