def __init__(self, doc, target, source, node): self.doc = doc self.env = doc.env self.source = source self.target = target Depend.__init__(self, doc.env, prods=[target], sources={source: node}) self.options = [] if self.doc.engine == "Omega": self.cmdexec = "odvips" else: self.cmdexec = "dvips" self.options.append("-R0")
def __init__ (self, doc, target, source, node): self.doc = doc self.env = doc.env self.source = source self.target = target Depend.__init__(self, doc.env, prods=[target], sources={source: node}) self.options = [] if self.doc.engine == "Omega": self.cmdexec = "odvips" else: self.cmdexec = "dvips" self.options.append("-R0")
def __init__(self, maker): Depend.__init__(self, maker) self.logfile = None self.auxfile = None self.srcfile = None self.srcbase = None self.outfile = None self.program = "latex" self.engine = "TeX" self.paper = "" self.prods = [] self.must_compile = 0 self.something_done = 0 self.failed_module = None self.watcher = Watcher() self.log = LogParser() self.modules = Modules(self) self.parser = TexParser(self) self.date = None # Is the final output expected? self.draft_only = False self.draft_support = False self.batch = 1 self.opts = []