Class: LatexFlow::CLI::Dvipdfm
- Defined in:
- lib/latex-flow/cli/dvipdfm.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/dvipdfm.rb', line 7 def run t = Tools::Dvipdfm.new("#{ENV.fetch('DVIPDFM', 'dvipdfm')} #{@options[:target]}") t.run $stderr.puts t.(color:@options[:color]) if @options[:verbose] exit(false) if !t.success? end |