5

I'm still a LaTeX beginner. I'm using kile and KBibTeX on lubuntu. I try to use biblatex. I copied this from a help document into my preamble:

\usepackage[style=authortitle-icomp]{biblatex}

\usepackage[babel,german=guillemets]{csquotes}

\bibliography{Quellen}

"Quellen" is the name of my KBibTeX document.

It works like that even if after running BibTeX, LaTeX says

finished with exit code 2.

When I try to change the style e.g. to apalike by writing

\usepackage[style=apalike]{biblatex} 

LaTeX says package 'apalike' not found\RequireBibliographyStyle{\blx@bbxfile}.

I already tried to download the apalike.sty and apalike.bst and put it the same folder as the LaTeX document, but it doesn't work. I although checked all of the entries in the KBibTeX file. There is no error.

egreg
  • 1,121,712
Frida
  • 227

2 Answers2

3

Well, there is kind of a mixing there.

If you want to use Bibtex and apalike style, it's enough with writing:

\bibliographystyle{apalike}
\bibliography{Quellen}

I would also suggest to use the natbib package along:

\usepackage{natbib}

However, if you want to use Biblatex, I recommend using Biber to handle your references.

You could take a look at this question for more information:

bibtex vs. biber and biblatex vs. natbib

What to do to switch to biblatex?

Mario S. E.
  • 18,609
  • I tried \bibliographystyle{apalike} \bibliography{Quellen} – Frida Apr 24 '13 at 06:35
  • but than latex says "missing 'biblatex' package.{}" than I tried to put in \usepackage{biblatex} than latex says "\bibliographystyle 'invalid' \bibliographystyle{apasoft}" and in the pdf-file the plain style will appear. and i dont understand what biber is. how do you use it? – Frida Apr 24 '13 at 06:58
  • Please take a look at this answer: http://tex.stackexchange.com/a/5105/27833, it might clarify your doubts. Also, if you could add a (MWE)[http://meta.tex.stackexchange.com/q/228/27833] the community will be able to help you best. – Mario S. E. Apr 24 '13 at 08:31
  • I think a got it know. I can not use apalike in biblatex. rigth? I konw use the authoryear style with biblatex. that works – Frida Apr 25 '13 at 06:27
1

It may sound daft, but I just wonder if the filename database has been updated by running texhash after adding the package (manually, I guess).

  • i don't understand. how can update? I once did the with another package and there it worked without updating. – Frida Apr 24 '13 at 07:01
  • @Frida Missed that you're using Linux, my bet! In Linux, 'initexmf' is unlikely to exist and the syntax of 'texhash' for Linux may differ from that of Windows. So, I've just corrected my suggestion. For the correct syntax, check link. For being sure the needed packages are installed, check out Thorsten's comment @ link. For an overview of manually installing packages, check out link. – user29318 Apr 24 '13 at 13:36
  • For those in windows with TexLive, just open Tex Live Manager and click on Actions menu then select Update filename database – G. Bay Aug 21 '15 at 17:01