crsh / citr

RStudio Addin to Insert Markdown Citations
Other
408 stars 46 forks source link

Unicode char α (U+3B1) error #30

Closed andreifoldes closed 6 years ago

andreifoldes commented 6 years ago

Hello

When I try to cite this article: https://www.ncbi.nlm.nih.gov/pubmed/28069918 I get the following error msg:

! Package inputenc Error: Unicode char α (U+3B1) (inputenc) not set up for use with LaTeX.

cheers

crsh commented 6 years ago

Hi Andrei, are you taking the bibliographic information from a .bib file (if so, could you provide the Bib(La)TeX code?) or from Zotero (if so, could you try to provide the Bib(La)TeX code generated by BetterBib(La)Tex available at http://localhost:23119/better-bibtex/library?library.bibtex?)?

andreifoldes commented 6 years ago

Hi its from Zotero: here is my export bibitex.txt

interestingly here the greek letter alpha is spelled out alpha

crsh commented 6 years ago

Okay, that's interesting. It's hardly surprising then that I can read this file. Could you do me a favor and try if the greek letter is exported as is if you use access the bibliography via http://localhost:23119/better-bibtex/library?/1/library.bibtex?

crsh commented 6 years ago

Ah, sorry. Maybe I missunderstand. Are you experiencing this error when you try to insert the citation or when you try to knit the document? If the latter is the case, this is unrelated to citr and you may want to either try to change the title of the article to use nonunicode characters (and report this with the author of the BetterBib(La)TeX Zotero extension) or use a different LaTeX engine, e.g., XeLaTeX.

andreifoldes commented 6 years ago

Indeed sorry it appears during the Knitting but I thought best to suspect Citr as a fist element in the process.

crsh commented 6 years ago

No problem. I think this issue could be interesting for the BetterBib(La)TeX project as it may be a problem with automatic unicode conversion (paging @retorquere).