def script_call(self, path): path = utils.relative_path(self.settings._destination, path) return self.mathjax_script % self.encode(path)