# File lib/math_ml/latex.rb, line 228
                        def check_parameter_numbers(src, opt, whole)
                                s = Scanner.new(src)
                                until s.eos?
                                        case
                                        when s.scan(/#{MBEC}*?\#(\d+|.)/)
                                                raise parse_error("Need positive number.") unless s[1]=~/\d+/
                                                raise parse_error("Parameter \# too large.", s[1]+s.rest, whole) if s[1].to_i>opt
                                        else
                                                return nil
                                        end
                                end
                        end