Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include all primary authors in export formats. #2367

Merged
merged 4 commits into from Mar 29, 2022

Conversation

EreMaijala
Copy link
Contributor

Most export formats included all secondary authors but only the first primary author. This adds support for all primary authors and simplifies the code for secondary authors a bit while at it.

@EreMaijala
Copy link
Contributor Author

The BibTeX handling was apparently a bit broken for repeated editors as well, should be fixed now. I used the following resources for reference:
https://nwalsh.com/tex/texhelp/bibtx-23.html
https://verbosus.com/bibtex-style-examples.html
https://bibtex.online/

Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @EreMaijala! A couple of small comments. I also wonder whether it's worth putting in some effort to add tests for these (not necessarily right now, but at some point... this is the kind of code that could benefit from test coverage).

@demiankatz demiankatz merged commit e7d97ac into vufind-org:dev Mar 29, 2022
@EreMaijala EreMaijala deleted the dev-export-authors branch May 19, 2022 10:06
EreMaijala pushed a commit to EreMaijala/vufind that referenced this pull request Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants