How do I get annotations to show up in a xod file?

Q:

I’m converting a pdf to xod with docpub, and I want the annotations to show up in the converted xod file. How can I make this happen?

A:

By default, docpub stores the annotations in an xfdf file stored inside the xod. If you unzip the Xod file, you may see “Annots.xfdf”.

To get the annotations to show up in every xod viewer, specify “–annotations flatten” at the docpub command line.