Sha256: c89918e732d663fc83d941fd55420febbeff1d071bb29635ed9f23eaf5323d42

Contents?: true

Size: 882 Bytes

Versions: 5

Compression:

Stored size: 882 Bytes

Contents

require 'maruku/ext/math/elements'
require 'maruku/ext/math/parsing'
require 'maruku/ext/math/to_latex'
require 'maruku/ext/math/to_html'

require 'maruku/ext/math/mathml_engines/none'
require 'maruku/ext/math/mathml_engines/ritex'
require 'maruku/ext/math/mathml_engines/itex2mml'
require 'maruku/ext/math/mathml_engines/blahtex'

#=begin maruku_doc
# Attribute: math_enabled
# Scope: global, document
# Summary: Enables parsing of LaTeX math
#
# To explicitly disable the math parsing:
#
# 	Maruku.new(string, {:math_enabled => false})
# 	{:ruby}
#
#=end

MaRuKu::Globals[:math_enabled] = true


#=begin maruku_doc
# Attribute: math_numbered
# Scope: global, document
# Summary: Math openings which should be numerated
#
# Array containing any of `'\\['`, `'\\begin{equation}'`, `'$$'`.
#
# 	MaRuKu::Globals[:math_numbered] = ['\\[']
#
#=end

MaRuKu::Globals[:math_numbered] = []

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
maruku-0.7.3 lib/maruku/ext/math.rb
maruku-0.7.2 lib/maruku/ext/math.rb
maruku-0.7.1 lib/maruku/ext/math.rb
maruku-0.7.0 lib/maruku/ext/math.rb
maruku-0.7.0.beta1 lib/maruku/ext/math.rb