Giter Club home page Giter Club logo

commonmeta-py's Introduction

front-matter

General repository for Front Matter

commonmeta-py's People

Contributors

dependabot[bot] avatar mfenner avatar pszenher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zora-wuw pszenher

commonmeta-py's Issues

bibtex for @inproceedings from Crossref

@jowens for the ProceedingsArticle https://doi.org/10.1145/3448016.3452841 i get this bibtex output:

@inproceedings{https://doi.org/10.1145/3448016.3452841,
    author = {Pandey, Prashant and Conway, Alex and Durie, Joe and Bender, Michael A. and Farach-Colton, Martin and Johnson, Rob},
    booktitle = {Proceedings of the 2021 International Conference on Management of Data},
    copyright = {https://www.acm.org/publications/policies/copyright_policy#Background},
    doi = {10.1145/3448016.3452841},
    month = jun,
    publisher = {Association for Computing Machinery (ACM)},
    title = {Vector Quotient Filters},
    url = {https://dl.acm.org/doi/10.1145/3448016.3452841},
    urldate = {2021-06-09},
    year = {2021}
}

It missed the series information and adds a copyright field, but is it otherwise what you expect?

can we do -- for page ranges?

#40 (comment)

It appears here that your generated BibTeX uses an en-dash for page ranges. I believe it's slightly preferable to use ASCII for everything; not all tools do the right thing (sadly) with non-ASCII. Could you do -- instead?

bibtex citekey ought to be just the DOI not the URL

BibTeX citekeys are currently something like

@inproceedings{https://doi.org/x.y/z.w,

I don't think there's any value to the https://doi.org/ and suggest that should be removed. Shorter is better when having to cite things.

(There's obviously a zillion different citekey styles, and you should just sidestep those; using the DOI is sensible and easy and unique.)

Documentation dependency `quartodoc` mixed with main dependencies

Hello,

We are using commonmeta-py in inveniosoftware/invenio-rdm-records and started running into problems with v0.9.x v0.8.7.

The problem is related to the fact that quartodoc (a documentation dependency), is listed as a main dependency:

quartodoc = "^0.7.1"
jupyterlab = "^4.0.9"
jupyterlab-quarto = "^0.2.8"

The proper way to define such dependencies according to the Poetry documentation is:

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
# Docs deps here...

Do you think you could release a new version with these dependencies out of the main list?

Thanks,
Pablo

bibtex inproceedings & "series" from event/acronym, at least in ACM pubs

This is a matter of taste, but when I typeset my own @inproceedings, I follow many bib providers and encode the abbreviation for the conference in the BibTeX series field. This is the abbreviated name of the conference and is much handier to web-search than searching on an entire conference title.

e.g.: ACM: my paper doi:10.1145/3225058.3225122 was published at "ICPP 2018". In the input JSON this is available as event/acronym. I would personally add the field series = ICPP 2018.

I don't see this as a particularly consistent thing across publishers but I would like to see it in the generated BibTeX if possible.

support for "MEDLINE/PubMed" format?

NIH is the big medical funder in the USA, and its CV-making tool appears to be becoming standard across USA funding agencies.

https://www.ncbi.nlm.nih.gov/books/NBK53595/#mybibliography.Adding_Citations_from_a_F
https://support.nlm.nih.gov/knowledgebase/article/KA-05275/en-us

They used to allow import from RIS but are moving to the "MEDLINE/PubMed" format for bibliographies.

https://www.nlm.nih.gov/bsd/mms/medlineelements.html

This format appears to be ... not super common among the various bib formats out there. Nonetheless, here we are.

Any chance of supporting this within commonmeta-py (outputting this format is more important, at least for me, than inputting it)?

Updated date in Crossref REST API not stable

The REST API returns an updated date that switches back and forth four hours, presumably because the local server time is set differently (even though the time is returned as GMT + 00:00). If helpful, I can provide examples.

cc @afandian

bibtex writing suggestions?

Would you be willing to take suggestions for bibtex writing? I note

https://community.crossref.org/t/crossref-bibtex-export-improving-it/3306/12

and my very sincere desire to fetch high-quality bibtex from crossref or other sources.

As an example, I note that months in the examples are enclosed in braces (e.g., month = {feb}), whereas bibtex has built-in abbreviations that are preferred (e.g., month=feb). Happy to burst these out into separate issues if you'll take suggestions. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.