Ejemplo n.º 1
0
    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
Ejemplo n.º 2
0
    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
Ejemplo n.º 3
0
    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
Ejemplo n.º 4
0
    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
Ejemplo n.º 5
0
 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('%')
Ejemplo n.º 6
0
 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('%')