GithubHelp home page GithubHelp logo

unite-bibtex's People

Contributors

msprev avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

dimatura

unite-bibtex's Issues

Error in gather_candidates

Here's the output I'm getting in vim after attempting :Unite bibtex

[unite.vim] function 51_call_unite[33]..unite#start[1]..unite#start#standard[50]..unite#candidates#_recache[74]..134_recache_candidates_loop
[41]..134_get_source_candidates[40]..124, line 25
[unite.vim] Vim(python):Traceback (most recent call last):
[unite.vim] Error occurred in gather_candidates!
[unite.vim] Source name is bibtex

Any ideas?

bibtexparser and 'non standard types'

bibtexparser raises an error when it encounters a 'non standard type' in a .bib file. It counts types like 'collection' as nonstandard. unite-bibtex now displays the warnings when it builds its cache. One way to stop this would be to use a ignore_nonstandard_types=False option with the parser.

Error when the cache is updated

If there is no cache or the cache is stale I get the following error when I do Unite bibtex. If I do it a second time it's fine. So it looks like the first time the cache is actually created/updated and then on the second attempt Unite is able to use it.

[unite.vim] function <SNR>22_call_unite..unite#start..unite#start#standard..unit
e#candidates#_recache..<SNR>46_recache_candidates_loop..<SNR>46_get_source_candi
dates..7, line 25
[unite.vim] Vim(python):No handlers could be found for logger "bibtexparser.bpar
ser"
[unite.vim] Error occurred in gather_candidates!
[unite.vim] Source name is bibtex

Compatibility with biblatex

Thanks for this!

I use slightly different field names, following what's in the biblatex manual:

journal -> journaltitle
year -> date
address -> location

I've forked your code and edited apalike.py to handle both: https://github.com/twsh/unite-bibtex

Would you be amenable to a pull request?

Sorry, the command is not available in this version

I recently upgraded to Ubuntu 16.04. I'm now getting a problem with unite-bibtex. (I have the latest version installed via Vundle). I have Vim 7.4.1689 which is the latest version in the Ubuntu repository. This is the error:

[unite.vim] function <SNR>22_call_unite[33]..unite#start[1]..unite#start#standar
d[50]..unite#candidates#_recache[74]..<SNR>98_recache_candidates_loop[42]..<SNR>
98_get_source_candidates[40]..103, line 25
[unite.vim] Vim(python):E319: Sorry, the command is not available in this versio
n:     python import unitebibtex; unitebibtex.vim_bridge_gather_candidates()
[unite.vim] Error occurred in gather_candidates!
[unite.vim] Source name is bibtex

I have bibtexparser installed. And Unite itself seems to be working fine. Have you seen this kind of error before? Do you know where I should start looking?

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.