Readwyn 0.1.0

How to merge authors when one name has two spellings

Open “Library health” in the sidebar, choose Checks, and pick “One author, two spellings” under Names. Each finding names a book whose author is spelled differently from the spelling most of your books use, for example “Tolkien, J.R.R.”, also spelled “J. R. R. Tolkien”. Click “Use one name…”, keep the spelling with the most books or pick another, and save. Every book with another spelling gets the one you chose, in a single step.

Which spellings count as one name

Readwyn decides that two spellings are the same author by reducing each to a key and comparing the keys. The key ignores four kinds of difference:

  • Name order. “Last, First” is turned round, so “Le Guin, Ursula K.” and “Ursula K. Le Guin” match.
  • Initials. Dots and spaces between initials don't matter: “J.R.R. Tolkien”, “J. R. R. Tolkien” and “Tolkien, J. R. R.” all give the same key.
  • Accents. “Gabriel García Márquez” and “Gabriel Garcia Marquez” match.
  • Case and punctuation. “JEAN-PAUL SARTRE” matches “Jean Paul Sartre”, and a curly apostrophe matches a straight one.

What it won't do is guess. “Dostoevsky” and “Dostoyevsky” have different letters, and “Tolkien” on its own lacks the initials, so neither is flagged. Those need the manual route further down.

The finding sits on each book with a minority spelling, not on the books that already use the main one. If a book carries both spellings in its author list, the fix leaves it with one.

The “Use one name” sheet

The sheet says “These are two spellings of one author. Choose the name that every book gets.” Below that, each spelling is listed with its number of books, the spelling with the most books first and already chosen: “J. R. R. Tolkien” with “4 books” under it, above “Tolkien, J.R.R.” with “2 books”. Click another spelling if you'd rather keep that one.

Under the spellings is the preview: each book that will change, by title, with its authors as they are now struck through, an arrow, and the authors after the save. Every change has a checkbox, the foot counts them (“2 of 2 changes ticked”), and the button follows the count: “Save 2 changes”. Untick a book to leave it as it is. Nothing is written until you save, and if the authors of one of those books changed in the meantime, the save stops with an error and changes nothing.

Co-authors stay where they are. Only the matching name in each author list is replaced.

If the two spellings really are two different people, click “Ignore for this book” on the finding instead. The book then leaves the check, and it stays out on every Mac that shares the library. A later “Use one name…” for the same name still lists that book in its preview, ticked, so untick it there.

A Mac paired with Read access can see the panel and its findings, but only Admin access shows the buttons that change anything.

Spellings the check misses

For a transliteration or a dropped initial, use the editor for many books at once:

  1. Open “Filter”, tick the author with the spelling you want to drop, and press ⌘A to select every book it shows.
  2. Press ⌘E, or click “Edit details…” in the selection bar.
  3. In Authors, choose “Add” and type the right name. Save.
  4. With the same books still selected, open the sheet again, choose “Remove”, type the old spelling, and save.

If only one book has the spelling, open it and change the name in “Edit details” instead: the editor for many books needs at least two selected books.

Two saves are safer than one here. “Replace with” leaves each book with exactly what's in the field, and it starts from the names every selected book shares, so a co-author that only some of the books have would be dropped. “Add” and “Remove” touch only the name you type, and names compare without regard to case. One side effect: “Add” puts the name after the book's other authors, so on a book with co-authors the renamed author ends up last.

After a calibre import

Once an import from calibre ends, Library health checks the imported books like every other book in the library. In calibre itself, the manual points to the “Manage authors” dialog in the Tag browser to rename authors and control how their names are sorted. If you'd rather tidy up after moving, the check above does it one author at a time, every book of that author in one sheet. The calibre import post covers what comes over.

Duplicates, the other half of the panel, uses the same key. Two copies with the same title, whose authors differ only in spelling, already show there together, at least as “Same book, other edition”. “Use one name…” gives both the same name, but they stay two books until you choose “Merge…” (how merging works).