Method: RunTeX::Makeindex#initialize

Defined in:
lib/runtex_makeindex.rb

#initialize(job, options = {}) ⇒ Makeindex

Returns a new instance of Makeindex.



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/runtex_makeindex.rb', line 12

def initialize(job, options = {})
  super(job, options,
      :file_in => "#{job.basename}.idx",
      :file_out => "#{job.basename}.ind",
      :file_log => "#{job.basename}.ilg"
    )
  @options.keys.each{|key|
    case key
      when :file_in   # normally idx
      when :file_out # normally ind
      when :file_log # normally ilg
      when :format
      when :name
      else
        @job.log.error( "#{self.class}: Unknown option #{key}" ) if @job.log.error?
    end
  }
end