Module: MaRuKu::Out::Latex::MDDocumentExtensions

Included in:
MDDocument
Defined in:
lib/maruku/output/to_latex.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#latex_required_packagesSet<String>

Returns:



7
8
9
# File 'lib/maruku/output/to_latex.rb', line 7

def latex_required_packages
  @latex_required_packages
end

Instance Method Details

#initialize(*args) ⇒ Object



13
14
15
16
# File 'lib/maruku/output/to_latex.rb', line 13

def initialize(*args)
  self.latex_required_packages = Set.new
  super
end

#latex_require_package(p) ⇒ Object



9
10
11
# File 'lib/maruku/output/to_latex.rb', line 9

def latex_require_package(p)
  self.latex_required_packages << p
end