Giter VIP home page Giter VIP logo

doi2bibtex.jl's People

Contributors

stefanbringuier avatar thchr avatar

Stargazers

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

Watchers

 avatar

doi2bibtex.jl's Issues

Abbreviation of title words that start lowercased

Right now, we unconditionally titlecase abbreviated words in journal names. But that is not appropriate if the word is initially lowercased, as in e.g. 'npj Quantum Materials':

julia> doi2bib("10.1038/s41535-017-0058-z")
@article{wang2017type,
  ...
  journal = {Npj Quantum Mater.}
}

which should've given npj Qantum Mater.

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Abbreviation of 'Science'

According to my current implementation of ISO-4, the correct abbreviation of the journal 'Science' would be 'Sci.', but Science is in fact not abbreviated at all in any publications I know of, so something is missing here?

Philos. Trans. R. Soc., A abbreviation

Consider the following horror show of a DOI:

julia> doi2bib("10.1098/rsta.1904.0024"; abbreviate=false)
@article{johndoe1904,
  doi = {10.1098/rsta.1904.0024},
  year = 1904,
  volume = {203},
  number = {359-371},
  pages = {385--420},
  title = {{XII}. Colours in metal glasses and in metallic films},
  journal = {Philosophical Transactions of the Royal Society of London. Series A, Containing Papers of a Mathematical or Physical Character}
}

The correct journal abbreviation is Philos. Trans. R. Soc., A according to CASSI.
We are currently giving back Philos. Trans. R. Soc. London. Ser. A, Contain. Pap. Math. Or Phys. Character. I.e., we ought to be disregarding everything that follows (and includes) Series A. It seems we also ought to be removing London - but this is really beyond the ISO-4 rules.
Part of the problem is that the journal name returned by the GET request has more text than it ought to - but we still ought to be doing better.

A sub-part of the problem is also that we are abbreviation 'Series' to 'Ser.' rather than just discarding it.

Output shortened wrongly?

Thanks for providing this nice package – I am actually using it regularly. Today I stumbled upon a strange error namely for

julia> using DOI2BibTeX
julia> doi2bib("10.1016/j.jat.2007.03.002"; abbreviate=false)
 @article{popiel2007,

julia>

The output seems to be shortened wrongly somehow? I have not yet had the chance to dive too deep into this package, maybe you see easier what happens here.

Include BibLaTeX?

Oh, super nice! I had this in mind for a while, but never found the time (currently using an old bash script from a colleague for that).

Just a request – would it be possible to also provide BibLateX entries?

Entry-Key Format

Sorry that I directly have 2 feature requests.
Since there is already the nice Abbreviation method, would it be possible to do something similar with a Key-generator?
My favourite key name is AllLastNamesOfAuthorsCamelCased:YYYY.

I am not 100& sure how one could set this (maybe different styles or even keeping the default?) but it would be a neat idea if there is a way to do so.

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.