def visit_footnote(self, node): # Work-around for a bug in docutils where # "%" is prepended to footnote text LaTeXTranslator.visit_footnote(self, node) self.out[-1] = self.out[1].strip('%') self.non_breaking_paragraph = True
def visit_footnote(self, node): # Work-around for a bug in docutils where # "%" is prepended to footnote text LaTeXTranslator.visit_footnote(self, node) self.out[-1] = self.out[1].strip('%') self.non_breaking_paragraph = True
def visit_footnote(self, node): # Handle case where footnote consists only of math if len(node.astext().split()) < 2: node.append(nodes.label(text='_abcdefghijklmno_')) # Work-around for a bug in docutils where # "%" is prepended to footnote text LaTeXTranslator.visit_footnote(self, node) self.out[-1] = self.out[1].strip('%') self.non_breaking_paragraph = True
def visit_footnote(self, node): # Handle case where footnote consists only of math if len(node.astext().split()) < 2: node.append(nodes.label(text='_abcdefghijklmno_')) # Work-around for a bug in docutils where # "%" is prepended to footnote text LaTeXTranslator.visit_footnote(self, node) self.out[-1] = self.out[1].strip('%') self.non_breaking_paragraph = True
def visit_footnote(self, node): # Work-around for a bug in docutils where a # "%" is prepended to footnote text. LaTeXTranslator.visit_footnote(self, node) self.out[-1] = self.out[-1].strip('%')
def visit_footnote(self, node): # Work-around for a bug in docutils where a # "%" is prepended to footnote text. LaTeXTranslator.visit_footnote(self, node) self.out[-1] = self.out[-1].strip('%')