bdarcus / csln

Reimagining CSL
Mozilla Public License 2.0
12 stars 0 forks source link

Refactor contributor name formatting #115

Closed bdarcus closed 11 months ago

bdarcus commented 11 months ago

Possible change ...

I want to refactor Contributor name formatting so that the composable methods can be chained; example:

author().names().pretty().initialize()

The pretty method would handle et al shortening ("Doe, Jane et al") or "and" conjunctions ("Jane Doe and John Smith").

Initialize would handle given_name initialization for StructuredName.

No arguments would be required, since the config details would be derived from the Processor.style.options.