sjpfenninger / citebibtex

Effortlessly insert citations from BibTeX into texts written in Pandoc or LaTeX
GNU General Public License v3.0
20 stars 12 forks source link

Additional field searching not matching correctly #14

Open Fhurrur opened 9 years ago

Fhurrur commented 9 years ago

Thanks for an awesome plugin! I have the following entry in a bib file @article {propvsoss, author={Benlian, Alexander and Hess, Thomas}, title={Comparing the relative importance of evaluation criteria in proprietary and open-source enterprise application software selection – a conjoint study of ERP and Office systems}, journal={Information Systems Journal}, volume={21}, number={6}, publisher={Blackwell Publishing Ltd}, issn={1365-2575}, url={http://dx.doi.org/10.1111/j.1365-2575.2010.00357.x}, doi={10.1111/j.1365-2575.2010.00357.x}, pages={503--525}, keywords={open-source, proprietary software, enterprise application software, evaluation, selection, ERP, Office, conjoint analysis}, year={2011}, }

and in my user settings I have changed the matching to "additional_search_fields": ["title","author","journal","year"] but upon searching it sometimes doesn't find anything some examples that fail (on last entered letter) on format "searchstring" (wanted, field) "Ben" (Benlian, author) "conj" (conjoint, title) "off" (office, title) "inf" (information, journal), "201" (2011, year) even "comparing enterpr" (comparing [...] enterprise, title) disappears after typing the last r

Am I misunderstanding the addition_search_fields key or is there something wrong with the bib entry? For this issue I moved the entry to a separate .bib, but it is not the only entry that fails in my main .bib

sjpfenninger commented 8 years ago

That sounds like a bug, I'll look into this one of these days

thosgood commented 6 years ago

Any updates on this? I can only get searching by citekey to work.

sjpfenninger commented 6 years ago

Apologies, I have not had time to work on this, and that is unlikely to change any time soon. A PR with updated code is welcome of course!