CSL has only a generic thesis type, making it impossible to differentiate between different kinds of these, e.g., Master's, Bachelor's, Diploma, Magister, Habilitation ...).
Thus I would recommend to populate it with "Master's thesis" for @mastersthesis records, "PhD thesis" for @phdthesis records by default. If the BibTeX explicitly specifies a type property, I suggest to populate genre with the contents of the BibTeX type field.
What do you think? Shall I try to provide a patch?
To start, take a look at the Bibliography#to_citeproc – it should be fairly straightforward to add the functionality there. Let me know if you need help.
This is a follow up to #60.
CSL has only a generic
thesis
type, making it impossible to differentiate between different kinds of these, e.g., Master's, Bachelor's, Diploma, Magister, Habilitation ...).After reading the most recent CSL specification version 1.0.1 that explains the use of standad variables in more detail (http://citationstyles.org/downloads/specification.html#appendix-iv-variables) I believe that this is the purpose of the
genre
variable.Thus I would recommend to populate it with "Master's thesis" for
@mastersthesis
records, "PhD thesis" for@phdthesis
records by default. If the BibTeX explicitly specifies atype
property, I suggest to populategenre
with the contents of the BibTeXtype
field.What do you think? Shall I try to provide a patch?