# File lib/math_ml/util.rb, line 91 def initialize(options = {}) @params = DEFAULT.merge(options) @params[:parser] = MathML::LaTeX::Parser.new unless @params[:parser] || @params[:without_parse] @params[:math_envs] = collect_regexp(@params[:math_env_list]) @params[:dmath_envs] = collect_regexp(@params[:dmath_env_list]) @params[:escapes] = collect_regexp(@params[:escape_list]) @params[:throughs] = collect_regexp(@params[:through_list]) reset_encode_proc reset_rescue_proc reset_decode_proc reset_unencode_proc end