User defined authors' attribute field
In bibtex there is the `authortype` field which allows users to define their own authors' attribute, which can be incorporated into the csl style as part of the citation data.
This makes it convenient to cite Chinese books and articles, in which there are many different types of authoring, such as being a 'commentator' (注), 'exegete' (疏), `copy-editor who punctuates ancient text` (校點) etc.
Currently, Zotero uses a limited drop-down list to define different forms of authoring, one of which is a generalized `contributor` field tag, which is converted to bibtex as:
```
editora = {{Name-of-editor}},
editoratype = {collaborator}
```
This is the only entry that makes use of the authors' attribute field available in bibtex, but the attribute 'contributor' is too general to be of use when it comes to actual citations.
Is it possible to incorporate a user-defined authors' attribute field in Zotero so that the myriad roles of the author can be recorded and cited easily?
My current work around is to add the attribute directly behind the author's name, sometimes separating the two by using the `last name` field for the author's full-name and the `first name` field for the attribute, which is very bad practice, from a data perspective.
Really hope that this new feature can be considered for future Zotero updates.
Thank you!
This makes it convenient to cite Chinese books and articles, in which there are many different types of authoring, such as being a 'commentator' (注), 'exegete' (疏), `copy-editor who punctuates ancient text` (校點) etc.
Currently, Zotero uses a limited drop-down list to define different forms of authoring, one of which is a generalized `contributor` field tag, which is converted to bibtex as:
```
editora = {{Name-of-editor}},
editoratype = {collaborator}
```
This is the only entry that makes use of the authors' attribute field available in bibtex, but the attribute 'contributor' is too general to be of use when it comes to actual citations.
Is it possible to incorporate a user-defined authors' attribute field in Zotero so that the myriad roles of the author can be recorded and cited easily?
My current work around is to add the attribute directly behind the author's name, sometimes separating the two by using the `last name` field for the author's full-name and the `first name` field for the attribute, which is very bad practice, from a data perspective.
Really hope that this new feature can be considered for future Zotero updates.
Thank you!
@emilianoeheyns Is there a way to access the authortype field through BBT?
Adding the metadata in the extra field does not seem easy though. By author name (sth like authortype[Heyns, Emiliano=exegete]) means double entry and pretty fragile (bad), by position (sth like authortype[3=exegete]) is very fragile (also very bad), storing the metadata in the author name could work but would then only work in BBT because I'd parse it out, and it would also be moderately fragile (bad).
https://github.com/citation-style-language/zotero-bits/issues/82#issuecomment-400202631
Having an empty `attribute` or `metadata` field that goes with each author/contributor entry, to be included as part of the CSL `author` variable should solve my problem.
I agree with @emilianoeheyns that adding author metadata to the extra field is a bad idea.
Both pretty ugly though, and if citeproc isn't on board, it would make Zotero bibliography a real mess. And if citeproc is on board, Zotero likely will just pick that up in the UI rather than having to use these kludges.
Any hopes of getting this feature added in the upcoming massive upheaval (update?) of Zotero fields and item types?
It would still be possible to do it just in BBT, but I'd like to know what the Zotero devs think of this regardless. I have a strong preference to do things in such ways that they fall in line with planned or existing behavior of Zotero.
Supporting this in CSL requires some major changes and a big departure from existing language philosophy. I don’t think it’s likely for citrproc to try to address this because it is way outside the existing scope of the CSL spec of even the CSL-m extension.
Of course just about anything can be done in a postscript, even the bracket-hack.
Zotero and citeproc-js support creators in Extra like follows:
Editor: Last || First A.
Adapting the citeproc behavior to accommodate BBT-specific authortype information would be fairly straightforward I believe (e.g., putting it in {} after the name, which currently breaks citeproc recognition of CSL variables, but that could be adjusted).
@fbennett Any thoughts? What was the reason for requiring all CSL fields to be at the top of Extra and contiguous, rather than extracting from any line?
Creator: Last || First A. || Type
If these are placed after after any proper CSL variables, citeproc-js will still be able to pick up the other CSL variables stored in Extra, then ignore the BBT-specific fields.
Extra
field be able to hold multiple custom fields, by the way? I am currently using some of my Extras for theoriginal-date
field.Also, I would probably be entering multiple
Creator: Last || First A. || Type
strings that overlap with the originalCreator
data. Would this pose a problem?It would be pretty weird to leave the original
Author
field blank and keep all the Creator data stored inExtra
.Presumably, you would store any possible variables in the actual Zotero fields (e.g., author, editor, translator), and only use Extra for variables that don’t have an appropriate Zotero field.
If all of the creators for an item would be stored in Extra, you could doubly enter them as Contributor in Zotero (these don’t get passed to citeproc-js; not sure how BBT handles them).
https://github.com/retorquere/zotero-better-bibtex/issues/1002#issuecomment-400480797
I was thinking about putting it in the 'first name' field but at the moment I've got pinyin there...
For your case, I would suggest switching your name with pinyin to Contributor, then make use of the Extra field same way as I did.
Hope this helps.