andras-simonyi / citeproc-el

A CSL 1.0.2 Citation Processor for Emacs.
GNU General Public License v3.0
85 stars 9 forks source link

Support literal names in CSL-JSON #99

Closed sopoforic closed 2 years ago

sopoforic commented 2 years ago

I see that #72, marked as fixed by PR #78, added support for e.g. company names from bibtex files, but this does not seem to work with CSL-JSON files. I have a citation for a video game with data like:

"author":[{"literal":"Atlus Co., Ltd."}],

When this is exported to HTML, no name appears (so I just get (1987) rather than Atlus Co., Ltd. (1987) as expected).

andras-simonyi commented 2 years ago

Thanks for reporting this, I've merged a PR (#100) which adds support for CSL-JSON lteral names as well.

sopoforic commented 2 years ago

Thanks! I can confirm that this is working correctly, now.