Zotfile extract highlighted text from Skim, but not notes
Hi,
I am using Zotero 5.0.96.3 with the latest Zotfile and Skim (downloaded yesterday). When I extract annotations made in a PDF using skim, it extracts the highlighted text, but not the comments made.
How do I fix this?
Thank you.
I am using Zotero 5.0.96.3 with the latest Zotfile and Skim (downloaded yesterday). When I extract annotations made in a PDF using skim, it extracts the highlighted text, but not the comments made.
How do I fix this?
Thank you.
When I open one of my attachments from Zotero in Skim PDF reader and make annotations then save the file, if I right-click the item in Zotero and choose "Add Note from Annotations", none of the text highlights I made in Skim appear.
But Zotero, like ZotFile previously, should be able to extract any standard PDF annotations saved to the file. If the annotations are saved to a separate sidecar file, it won't (and ZotFile wouldn't have been able to either). You'd need to import them into the PDF file in Skim first.
net_sourceforge_skim-app_notes#S
net_sourceforge_skim-app_rtf_notes#S
, andnet_sourceforge_skim-app_text_notes#S
. I'm assuming Zotero doesn't look for these EAs, so in Skim I would have to Export as PDF with Embedded Notes for Zotero to detect my highlights and annotations.Quoting from: Why are the notes not stored in the PDF?
Have others shown interest in making Skim annotations more compatible with Zotero's native PDF reader / is it on the roadmap add support for importing annotations directly from EAs? I think it makes a lot of sense to improve the compatibility between Skim and Zotero's native PDF viewer because they have a lot in common in the way that they deviate from Adobe's PDF specification.
1. They both allow richer text styling in the comments of annotations.
2. Modifying annotations does not change to the actual content of the PDF file. This makes saving annotations much faster and less likely to cause errors that could corrupt the PDF document.
EDIT: Here is a sample of the contents of the
net_sourceforge_skim-app_notes#S
Extended Attribute. It contains one annotation spanning two lines of text. (The code sample was generated by running this in the command line:xattr -px net_sourceforge_skim-app_notes#S "path/to/file.pdf" | xxd -r -p | plutil -p - "
)In any case, we don't currently have a good way of extracting extended attributes. We'd likely be better equipped to do that in Zotero 7 (which will have subprocess stdout-reading support), and if someone wants to work on importing of Skim annotations at that point, we could consider accepting a patch for it. But I doubt we'd work on it ourselves.