Closed bdarcus closed 1 year ago
I'm playing with this on the #50 branch, but it's tricky.
We need to support:
Right now it's just:
author: ["Doe, Jane"] parse: true, # default
One idea that just occurred to me, that I need think on more, is something like this:
pub enum Contributor { SimpleName(Vec<String>), StructuredName(Vec<Vec<String>>), }
So then the first option would be as now, and assume sort and display are the same.
author: ["Mao Zedong"]
The second would add more structure; at minimum:
author: [ ["Doe", "Jane", "de"] ]
So there, the sort string would be derived by joining the items in the list, for example, and display would reorder them.
Closed via #50.
I'm playing with this on the #50 branch, but it's tricky.
We need to support:
Right now it's just:
One idea that just occurred to me, that I need think on more, is something like this:
So then the first option would be as now, and assume sort and display are the same.
The second would add more structure; at minimum:
So there, the sort string would be derived by joining the items in the list, for example, and display would reorder them.