
I've got an anthology, and I spent a fair time entering the name and role of the editor and each author. Everything looked good, saved the data and file. However, when I imported to Calibre, the book came up as without an author. I reopened the file in sigil, and found that all the role information had disappeared. I examined the opf, and most of the roles were gone there as well.
I added some by hand (edc and edt for the editor, aut for authors), replaced [id="cre"] with [role="aut"] for some, changed <dc:creator> to <dc:contributor> for some, all with no effect.
Also, a Calibre check of the resulting book complains that I have too many creators, and there should be just one. I understood that there could be many creators with different (and overlapping) roles.
Here's an example of some of the opf content:
Code:
<dc:title>Anthology</dc:title>
<dc:creator id="cre" role="edt">Editor name</dc:creator>
<meta property="role" refines="#cre" scheme="marc:relators">edt</meta>
<dc:creator id="cre" role="aut">Author 1</dc:creator>
<dc:creator role="aut">Author 2</dc:creator>
<dc:contributor id="cre">Author 3</dc:contributor>
<dc:creator id="cre">Author 4</dc:creator>
The final entry (Author 4) is what Sigil showed on re-open. Note lack of role, despite entering it for each.
Trial and error shows that changing id="cre" to role="aut" makes them all authors in Calibre. But then trying to edit metadata again in Sigil resets them all.
1. What am I doing wrong?
2. What should be in the opf to show the role of each author?
3. Is there a way to enter this (durably) using the metadata editor?