Skip to content

Releases

iBooks2Zotero 0.6.0 — Raw annotation archives

Choose a tag to compare

@jmm1960 jmm1960 released this 13 Nov 16:04

Export original PDF annotation data before conversion, so future parser/grouping improvements can work from the preserved source.

  • Raw annotation ZIPs contain original annotation dictionaries and referenced appearance/resource streams on blank PDF pages, plus original page metadata and fingerprints.
  • Preserve opaque Apple archives, unknown fields and unsupported annotation types without decoding, resampling or redrawing them during export. Reloaded object graphs and raw stream hashes are checked before export.
  • Decode and group only when selecting a PDF/ZIP for import. Re-exporting a ZIP preserves its payload unchanged; export remains available when conversion or target matching fails.
  • Remove support for earlier experimental processed-data ZIP formats. Re-export from the original annotated PDF.
  • Update English/Chinese documentation and the CC0 demo ZIP.

Validation: 10 regression tests; universal macOS build; direct-PDF/raw-payload native decoding equality for the public demo and a private 2550-stroke PDF; actual Zotero ZIP export/read/reparse/mismatch rejection; 11 native annotations imported into a dedicated demo attachment; installed 0.6.0 and checked ZIP selection/preview in the actual dialog.

This preserves annotation data, not the entire original PDF byte-for-byte. PDF object numbering/container serialization changes; original file digital signatures are not preserved as valid signatures. Keep the source PDF for whole-file archival needs.

Installation: download the XPI below, then Zotero → Tools → Plugins → gear → Install Plugin From File. macOS only, Zotero 10.0.x.

iBooks2Zotero 0.5.0 — Annotation ZIPs

Choose a tag to compare

@jmm1960 jmm1960 released this 13 Nov 07:25

PDF or annotation ZIP sources

Choose an annotated PDF or a supported annotation ZIP. Export now produces a re-importable ZIP containing page positions, stroke/annotation JSON, original Apple drawing archives, decoded .drawing data, and approximate transparent PNG previews. No book pages are included. New ZIPs preserve page fingerprints; a matching target PDF in Zotero is still required.

The earlier extraction ZIP layout is also supported. Legacy archives lack source page fingerprints and complete page counts, so importing them requires manual edition confirmation. Legacy highlights may use approximate rectangles and a default yellow color. Re-exporting a legacy bundle retains its unverified provenance.

Install

Download iBooks2Zotero-0.5.0.xpi, then use Zotero Tools → Plugins → gear → Install Plugin From File. Existing installations upgrade normally. Requires macOS and Zotero 10.0.x; updates are manual.

Validation

13 regression tests pass. Real Zotero ZIP APIs exported and restored identical demo annotation data and imported 11 native annotations. The earlier private extraction package restored all 2550 strokes into 74 preview groups. Malformed ZIPs, mismatched target PDFs, and cancelled legacy imports were checked. The final file-picker visual pass was interrupted by a desktop-control connection failure; ZIP reading, writing, and native import were verified in Zotero.

Includes the original CC0 demo ZIP, format documentation, and updated English/Chinese README instructions. Arbitrary ZIPs of PDFs/images are not supported annotation bundles.

iBooks2Zotero 0.4.0

Choose a tag to compare

@jmm1960 jmm1960 released this 12 Nov 16:02

iBooks2Zotero 0.4.0

Import Apple Books PDF handwriting, highlights, and text notes as editable native Zotero annotations.

Install

  1. Download iBooks2Zotero-0.4.0.xpi below. The source archives are for developers.
  2. In Zotero, open Tools → Plugins → gear menu → Install Plugin From File and select the XPI.
  3. Open/select the clean target PDF, then choose Tools → iBooks2Zotero….

Included

  • Automatic English/Chinese interface selection based on Zotero's language, with a system-language fallback.
  • Live handwriting grouping preview with adjustable gap thresholds and splitting order.
  • Page-range append, replace, and clear operations with localized confirmations.
  • English README, linked Chinese README, real application screenshots, and original CC0 demo PDFs.
  • Universal macOS parser for Apple Silicon and Intel, bundled in the XPI; no external runtime required.

Compatibility and limits

Validated with Zotero 10.0.9 on macOS; declared compatibility is Zotero 10.0.x. Windows and Linux are not supported. The helper is ad-hoc signed, not Apple-notarized. Flattened handwriting cannot be restored, and eraser masks/pen pressure may not transfer exactly.

Clear and Replace remove all native annotations in the selected PDF pages after confirmation. Repeated Append imports create duplicates. Updates are manual.

See the README for concise instructions starting with exporting a PDF from Apple Books. The optional .sha256 file verifies the XPI download.