def elemdispatch(self, client, node, style=None):
        self = self.findsubclass(node, 'elemdispatch')

        # set anchors for internal references
        try:
            for i in node['ids']:
                client.pending_targets.append(i)
        except TypeError: #Happens with docutils.node.Text
            pass

        elements = self.getelements(client, node, style)

        if node.line and client.debugLinesPdf:
            elements.insert(0,TocEntry(client.depth-1,node.line%'LINE-%s'))
        node.elements = elements
        return elements

    # Begin overridable attributes and methods for textdispatch
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/basenodehandler.py/NodeHandler.elemdispatch/swapped operands of `%`