helm-bibtex icon indicating copy to clipboard operation
helm-bibtex copied to clipboard

Display BibTeX key in search results

Open martinweiss opened this issue 5 years ago • 5 comments

I've now tried multiple things, but I can't figure out what I should write to display the BibTeX key in the search results. Could someone please tell me which keyword I should use? I tried adding ${key:*} without any luck.

martinweiss avatar Aug 08 '18 12:08 martinweiss

Try ${=key=}.

jagrg avatar Aug 08 '18 14:08 jagrg

Great, thanks, that worked. Is it in the documentation somewhere? I looked and looked, but couldn't find it.

martinweiss avatar Aug 08 '18 17:08 martinweiss

It's probably not in the documentation. I never thought that it's an interesting use case. May I ask why you need the key in the results list?

On August 8, 2018 7:29:55 PM GMT+02:00, martinweiss [email protected] wrote:

Great, thanks, that worked. Is it in the documentation somewhere? I looked and looked, but couldn't find it.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tmalsburg/helm-bibtex/issues/255#issuecomment-411487739

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

tmalsburg avatar Aug 08 '18 18:08 tmalsburg

I have been a long time user of Jabref. I guess I'm just used to seeing the BibTeX key as an integral part of the information about a paper. Most of the time I can even identify the paper from the key (and for me it is often faster to search for the key compared to something else).

But besides this, I think, from a user experience viewpoint, it makes little sense not to include all features above a certain level. What confused me was that I could easily see how to get the author and title fields to show, but not the others. And I guess it wouldn't be very difficult to add more examples to the documentation, or maybe a table with possible fields :)

martinweiss avatar Aug 09 '18 07:08 martinweiss

Probably not clear from the documentation, but you can search for bibtex keys even if they are not displayed.

I could easily see how to get the author and title fields to show, but not the others

Which other fields do you mean? Entry type (=type=) and BibTeX key (=key=) are special but all other fields should work just like authors and title.

tmalsburg avatar Aug 09 '18 13:08 tmalsburg