def gather_elements(self, client, node, style):
        # Need to add ids as targets, found this when using one of the
        # django docs extensions
        targets=[i.replace(' ','') for i in node['ids']]
        pre=''
        for i in targets:
            if i not in client.targets:
                pre+='<a name="%s" />'% i
                client.targets.append(i)
        return [Paragraph(pre+client.gather_pdftext(node),style)]
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/sphinxnodes.py/HandleSphinxDescSignature.gather_elements/original