texdiff in Ruby