The plain document below creates a link which is broken over two lines and so creates two annotation objects in the pdf
1 0 obj <</Type/Annot /Border[0 0 1]/Rect[72 759.927 128.693 766.055] /Subtype/Link/A<</Type/Action/S/URI/URI(http://www.latex-project.org)>> >> endobj 6 0 obj <</Type/Annot /Border[0 0 1]/Rect[72 747.972 129.009 754.1] /Subtype/Link/A<</Type/Action/S/URI/URI(http://www.latex-project.org)>> >> endobj With \pdffeedback lastlink I can retrieve the number 1 of the first. Is there a way to get also the numbers of the second (and of follow up numbers if the link is broken in more part?) (I need the numbers as according the pdf reference in a tagged pdf all annotation objects of a link should be in the StructElem object) \pdfvariable compresslevel0 \pdfvariable objcompresslevel 0 \hsize=2cm \noindent \pdfextension startlink attr {/Border[0 0 1]} user{ /Subtype/Link% /A<<% /Type/Action% /S/URI% /URI(http://www.latex-project.org)% >>% } text text \par text text% \pdfextension endlink \pdffeedback lastlink \bye -- Ulrike Fischer https://www.troubleshooting-tex.de/
