-
Notifications
You must be signed in to change notification settings - Fork 923
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
Add bibtex support to load_data() #1190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks ok, I just want a bit more documentation - sorry for not replying on the forum.
I have never heard of bibtex
, is it something commonly used?
Sure, no problem.
Yes, it's widely used in academia as a way to store bibliography entries. Some people keep files with hundreds of entries. For people wanting to showcase their publications on their site it's a lot easier to automatically convert them to site content. One possible alternative to this patch is to use some script to convert from bibtex to json or md, but that complicates the flow somewhat. |
I would actually love this feature. Right now I have a hacky work around for my own website. Is this gonna get merged anytime soon? |
It's just missing the updated documentation |
Sorry, my bad, still wasn't able to get this done.. |
Bibtex tags are case-insensitive, and this works around tera's case-sensitiveness.
I've updated the documentation, sorry for how long that took.. The whole documentation for 'load_data' did get a bit long. Do you think it's still manageable, or should 'overview.md' be split somehow? I'll have some time in the following days to work on that if you think it's worth it. |
Yeah this page will need to be split at some point... thanks! |
* Add support for loading Bibtex data. * Add load_data() documentation for the bibtex format * Force bibtex tags to be lower case. Bibtex tags are case-insensitive, and this works around tera's case-sensitiveness. * Improve the load_data() documentation for the bibtex format
Discourse thread open here.
The changes are fairly small and innocuous, but for people working in academia it's a pretty big deal.
Sanity check:
Code changes
(Delete or ignore this section for documentation changes)
next
branch?If the change is a new feature or adding to/changing an existing one: