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

BibTeX export fixes- added curly braces and a , after the citation key #279

Closed
wants to merge 1 commit into from
Closed

Conversation

johnjung
Copy link
Contributor

In BibTeX you have the option to use either curly braces or double quotes to enclose values. When I tested a record with an escaped double quote Zotero couldn't import it properly so I'm wrapping values in curly braces. That's the same as in the code Oliver shared:

https://github.com/swissbib/sbvf2/blob/master/themes/swissbib/templates/RecordDriver/AbstractBase/export-bibtex.phtml

I'm escaping the curly braces by doubling them (which is different than the code above) but I thought doubling them was a bit more readable.

Please let me know if there are any changes I should make to this. Thanks!

@demiankatz
Copy link
Member

Thanks for sharing the fixes; I've manually merged this to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants