Top Level Namespace

Defined Under Namespace

Modules: Rake

Instance Method Summary collapse

Instance Method Details

#dia(name, &block) ⇒ Object



190
191
192
193
# File 'lib/rake-latex/figures.rb', line 190

def dia(name, &block)
  t = Rake::DiaTask.new(name, &block)
  return t.name
end

#gnuplot(name, fonts, &block) ⇒ Object



195
196
197
198
199
# File 'lib/rake-latex/figures.rb', line 195

def gnuplot(name, fonts, &block)
  fonts = [fonts] if fonts.is_a?(String)
  t = Rake::GnuplotTask.new(name, fonts, &block)
  return t.name
end

#graffle(name, &block) ⇒ Object



185
186
187
188
# File 'lib/rake-latex/figures.rb', line 185

def graffle(name, &block)
  t = Rake::GraffleTask.new(name, &block)
  return t.name
end

#latex(name, &block) ⇒ Object



232
233
234
235
# File 'lib/rake-latex/latex.rb', line 232

def latex(name,&block)
  t = Rake::LatexTask.new(name,&block)
  return t.name
end

#vega(name, language, output, &block) ⇒ Object



72
73
74
75
# File 'lib/rake-latex/vega.rb', line 72

def vega(name, language, output, &block)
  t = Rake::VegaTask.new(name, language, output, &block)
  return t.name
end