How to export comments from a PDF file?
Solution 1:
Since you use LaTeX, the texlive-latex-extra
package on Ubuntu contains the pdfannotextractor
executable that can extract comments for you. This uses libpdfbox-java
that you will also need to install.
Another option is to install python-poppler
and use this Python script from a similar stackoverflow question (see answer by Enno Gröper): Parse annotations from a pdf
Solution 2:
Comments in PDFs can be exported/imported as FDF files. FDF files are usually only a few megabytes in size (unless the comments include images or other files). The comments list can also be exported to Word. Both options are found in the options menu in the comments pane as in the screenshot below (from Acrobat X Professional).