Nagasaki45 / bibo

Command line reference manager with a single source of truth: the .bib file. Inspired by beets.
MIT License
32 stars 4 forks source link

Show unicode characters when listing entries #82

Closed harisont closed 2 years ago

harisont commented 2 years ago

Hi! Seems that this is the reference manager I was looking for, simple and effective :)

A problem I have with it, though, is that many of the names of the authors of the papers I read (are supposed to) contain unicode characters. In .bib files, they are usually represented with some sequence. For example "Gunlög" becomes Gunl{\"o}g. When I run bibo list, I would like to see the unicode chars corresponding to each sequence, whenever possible.

Is that something you can consider implementing?

Nagasaki45 commented 2 years ago

Hi Arianna. Welcome :-)

Yeah, this is a very good idea! I don't think I have the time for this at the moment but if you do feel free to send an MR. Did you go through the code? Will be happy to help if you want some directions / explanations about how things currently implemented.

harisont commented 2 years ago

I haven't, but let's see if I have some time to take a look over the weekend.

Nagasaki45 commented 2 years ago

Hi @harisont! Just pushed a new version (0.1.17) to PyPI that converts latex to unicode when listing entries. It convert both the citation and the "Search matched by" output (if you're not familiar with the feature try to search for something that is not in the citation, like a snippet from the abstract, name of publisher, etc). Please give it a go. I'm closing the ticket for now. Feel free to reopen if the fix is not to your liking :-)

Cheers, Tom

harisont commented 2 years ago

Perfect! Thank you :D