def visit_PartMath(self, node): self.requirements['amsmath'] = r'\usepackage{amsmath}' self.out.append(mathEnv(node['latex'], node['label'], node['type'])) self.non_breaking_paragraph = True raise nodes.SkipNode
def visit_PartMath(self, node): self.requirements["amsmath"] = r"\usepackage{amsmath}" self.body.append(mathEnv(node["latex"], node["label"], node["type"])) self.non_breaking_paragraph = True raise nodes.SkipNode