Git Product home page Git Product logo

Comments (7)

tmalsburg avatar tmalsburg commented on June 5, 2024

The author and title fields of these entries typically have different values than the books/proceedings/collections in which they appeared. Proceedings and collections also don't have authors (but editors) so the authors can't be inherited. The only value for which this is really relevant is the year, right?

Anyway, I agree that resolving crossreferences is a good idea but the data structure that helm-bibtex currently uses is not perfectly suited for that. Entries are stored in a list and finding the crossreferenced entries in that list will be slow when the database is big. I know that some people are using fairly huge bibliographies, so I'm reluctant to implement a naive solution. Ideally, we'd switch to hash tables but I'm not sure how exactly it should be done. Hash tables don't preserve the order of entries and while there are solutions for that, they may have negative implications for memory use and performance. However, hash tables are desirable for independent reasons, too, so I'll keep thinking about it.

from helm-bibtex.

tmalsburg avatar tmalsburg commented on June 5, 2024

Could you try the version in the branch hash-table? In that branch, I added crossref resolution (via a hash table) and also fixed some bugs. Initial parsing is probably a bit slower than before because the hash table has to be built, but with my bibliography everything is still snappy.

from helm-bibtex.

tmalsburg avatar tmalsburg commented on June 5, 2024

Forget about the hash-table branch. That approach is flawed. I'm have a new implementation. It's finished but I'd like to do some more testing.

from helm-bibtex.

scottmartincampbell avatar scottmartincampbell commented on June 5, 2024

I was pretty busy the last few days and hadn't been able to get to it and was just going to give the hash-table branch a go. Thanks for the hard work. I'd looked over the code before posting the issue in the first place, but didn't know enough about managing large sets of data with elisp to tackle it. Thanks.

from helm-bibtex.

tmalsburg avatar tmalsburg commented on June 5, 2024

I just uploaded the code of crossref resolution. After some testing it seems to work well. Enjoy.

from helm-bibtex.

mgttlinger avatar mgttlinger commented on June 5, 2024

Is this feature gone again or should I open an issue for e.g. the year not getting populated from the cross-referenced proceedings entry?

from helm-bibtex.

mgttlinger avatar mgttlinger commented on June 5, 2024

Nvm there was a comma missing which broke it.

from helm-bibtex.

Related Issues (20)

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.