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

Accept science paper data in bibtex format #648

Open
cuihtlauac opened this issue Nov 30, 2022 · 3 comments
Open

Accept science paper data in bibtex format #648

cuihtlauac opened this issue Nov 30, 2022 · 3 comments
Labels
data enhancement New feature or request

Comments

@cuihtlauac
Copy link
Collaborator

cuihtlauac commented Nov 30, 2022

@Octachron idea, see: #647 (comment)

bibtex is the academic standard; using it would streamline the process and reduce the risk of errors.

@Octachron wrote:

Idle thought: it could make sense to have the papers data in the bibtex format (or an extension), there are few OCaml libraries that can parse this format, and it is probably the easiest format for academics to submit update to the list of articles.

@cuihtlauac wrote:

Makes a lot of sense. Which library would you recommend?

@Octachron wrote:

There might be less libraries that handle bibtex that I thought. I had my own library in mind when I wrote the message, and there is bibtex2html which can handle transforming bibtex to html, but that would probably require to use that generated html as a data file. Both options could work but I am not sure which one would be lighter for ocaml.org .

@cuihtlauac cuihtlauac added the enhancement New feature or request label Dec 2, 2022
@tmattio tmattio added this to OCaml.org Dec 3, 2022
@cuihtlauac cuihtlauac added the data label Dec 7, 2022
@avsm
Copy link
Member

avsm commented Jan 5, 2023

@Octachron which is your library for parsing Bibtex? I only know about bibtex2html, and it would be nice to have something that just does the parsing and not the HTML rendering.

@Octachron
Copy link
Member

My library is there: https://github.com/Octachron/talaria_bibtex. The parser was only tested to cover my own need (which is why the library is not (yet?) published on opam), but it should be easily extensible.

@avsm
Copy link
Member

avsm commented Jan 5, 2023

Thanks! I'll try that out for my own bibtex parsing needs as well and open PRs with any changes. Nice use of the open record syntax for accessing fields...

@tmattio tmattio moved this to 📋 Backlog in OCaml.org Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants