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

Autocomplete-Bibtex isn't working

Open ElHong opened this issue 9 years ago • 13 comments

Hey guys, so I was able to install the package after agreeing to Xcode licensing using terminal command. I also edited config.cson and added: "autocomplete-bibtex": bibtex: [ "/PathToFolder/Library.bib" ] The bibtex library contains one test entry: @book{menezes1996handbook, title={Handbook of applied cryptography}, author={Menezes, Alfred J and Van Oorschot, Paul C and Vanstone, Scott A}, year={1996}, publisher={CRC press} } According to the guide here on github I should be able to use autocomplete by typing @(Name of author), but it seems like it doesn't work properly. According to my packages pane, bibtex is enabled and running. Does anyone have an idea how I can fix this issue? It's very important since I have to write an essay and include citations. I would be very grateful if anyone could help me out with this one. :)

Thanks in advance!

ElHong avatar Nov 05 '16 14:11 ElHong

Can you see if your entry is listed under the bibliography-search command?

mangecoeur avatar Nov 07 '16 14:11 mangecoeur

Hey, thanks for reply @mangecoeur ! Yes it looks like the entry is listed. I was able to include citations via \cite{citation} but not using @Author. So problem remains. Btw: Atom 1.11.2 Autocomplete-Bibtex 0.7.0

Cheers!

ElHong avatar Nov 10 '16 10:11 ElHong

Hi- I had the same problem as @ElShlong. I finally solved it by changing the settings for autocomplete-plus to disable the Built-In Provider. You can do this directly settings or by editing the config.cson file.

bapfeld avatar Nov 22 '16 01:11 bapfeld

@bapfeld can you elaborate on your solution?

FHeilmann avatar Dec 15 '16 11:12 FHeilmann

@FHeilmann - there are two ways to disable the built-in provider for autocomplete-plus. The first option is to open settings --> packages --> autocomplete-plus, then scroll down and uncheck the box next to "Enable Build-In Provider." The second option is to add this to your config.cson file (see here if you're not familiar with customizing your config file):

"autocomplete-plus":
    enableBuiltinProvider: false

I'm not entirely sure why the build-in provider seems to be interfering here, but because I don't normally use it, turning it off doesn't have other negative consequences for my setup.

bapfeld avatar Dec 15 '16 15:12 bapfeld

I'm also having a similar problem, autocomplete isn't working. Bibtex path in settings is /Users/tatecarson/documents/library.bib . I did the above instructions with no result. Also, what is the bibliography-search command? I'll check that I just don't know what it is.

thanks.

tatecarson avatar Dec 16 '16 00:12 tatecarson

That actually worked, thanks. But, how do you get a full citation from the bibtex and not just the inline?

tatecarson avatar Dec 16 '16 00:12 tatecarson

Tate,

That isn't the purpose of this package. It's meant to make it easy to add the correct key inline that something like Pandoc can turn into a citation when you're finished.

Andrew

Sent from my iPad

On Dec 15, 2016, at 7:26 PM, tatecarson [email protected] wrote:

That actually worked, thanks. But, how do you get a full citation from the bibtex and not just the inline?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

apcshields avatar Dec 17 '16 00:12 apcshields

Same thing here. Does not work at all :/ I tried all suggested solutions above, and everywhere else I could think of.

iamaziz avatar Feb 17 '17 03:02 iamaziz

For me it's also only working when I disable the built-in provider!

gwylanscheeren avatar Feb 17 '17 13:02 gwylanscheeren

Hello, try:

"autocomplete-bibtex": bibtex: [ "X:/path/to/your.bib" ] in Atoms config.cson file. Notice the difference (references: vs bibtex:).

Swoy avatar Apr 08 '17 12:04 Swoy

@apcshields isn't the section "Custom citation formatting" listing exactly the possiblity to get the full citation style?

The autocomplete feature works for me but I am always left with the pandoc style @author instead of \shortcite{key}

Update: I simply can't get it to work properly. It only works for some of the keys but not for most of them. I already tried disabling the provider. At least for those I now get the custom citation style provided in the settings.

"autocomplete-bibtex":
bibtex: [
  "<path to my bibfile ...>\\mybib.bib"
]
resultTemplate: "\\citep{[key]}"
scope: ".source.gfm,.text.mdm,.tex"
"autocomplete-plus":
   enableBuiltinProvider: false

Update 2: if the author is missing it can't find it and sometimes the plugin simply stops working and only continues to work when I restart atom. That is really sad, as it would be extremly helpful.

NoxMortem avatar Oct 29 '17 21:10 NoxMortem

I'm also having a similar problem, autocomplete isn't working. Bibtex path in settings is /Users/tatecarson/documents/library.bib . I did the above instructions with no result. Also, what is the bibliography-search command? I'll check that I just don't know what it is.

thanks. Could you get it solved! I am having the same issue. Thank you

koppanm avatar Apr 05 '20 14:04 koppanm