def generate(self, filename=None, system=None, variables={}): variables['recipe'] = self if not system: out = JobOutput() out.setVerbose() system = PySystem(out) if not filename: filename = self.title.replace(' ', '') + '.pdf' filename = realpath(filename) # returns (errors, warnings, pdfFilename) return super(Recipe, self).generate(filename, system, variables)