Class: LatexFlow::CLI::LaTeX
- Defined in:
- lib/latex-flow/cli/latex.rb
Instance Method Summary collapse
Methods inherited from Generic
Constructor Details
This class inherits a constructor from LatexFlow::CLI::Generic
Instance Method Details
#run ⇒ Object
7 8 9 10 11 12 |
# File 'lib/latex-flow/cli/latex.rb', line 7 def run t = Tools::LaTeX.new("#{ENV.fetch('LATEX', 'latex -halt-on-error')} #{@options[:target]}") t.run $stderr.puts t.(color:@options[:color]) if @options[:verbose] exit(false) if !t.success? end |