When using bibtex (out of texmaker) I get the error "I couldn't open style file spbasic.bst". With spmpsci instead of spbasic it's working, but the situation for both is the same: spmpsci.bst is in folder


and spbasic.bst is in








1 Answer 1


Solution: update by

sudo texhash /usr/share/texlive/texmf-dist

Checking if it was successful by

kpsewhich spbasic.bst

This should result in giving the path.

  • How do I sort that out if this error occurs in Overlead?
    – PWillms
    Commented Feb 19, 2021 at 18:48
  • @PWillms Sorry, I don't know. I am not using overleaf but tex maker.
    – ubuntuuser
    Commented Feb 20, 2021 at 12:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .