0

I use the following package:

\usepackage[backend=bibtex,style=author year,natbib=true]{biblatex}
moewe
  • 175,683
  • Does https://tex.stackexchange.com/q/534366/35864 help? You need style=authoryear-comp. – moewe Apr 05 '20 at 13:14
  • Off-topic, but you may want to look into switching from backend=bibtex, to backend=biber,. Normally that should be as easy as changing the option value from bibtex to biber and running Biber instead of BibTeX (or telling your editor to do that for you, see https://tex.stackexchange.com/q/154751/35864). – moewe Apr 05 '20 at 13:15
  • Which code did you try? What error did you get? – moewe Apr 05 '20 at 13:40
  • I use the following codes:% Literaturverzeichnis mit BibLKaTeX \usepackage[babel,german=quotes]{csquotes} \usepackage[backend=biber,style=authoryear-comp,natbib=true,sorting=nty]{biblatex} \bibliography{bibliography} – user384463 Apr 05 '20 at 13:45
  • And what is the error? (Note that sorting=sty, may not be the best in combination style=authoryear-comp, since your readers will probably expect the author-year bibliography to be sorted by name-year-title and not name-title-year.) – moewe Apr 05 '20 at 13:49
  • I want my citation is shown as : merton (1969,1971). However when I use the code as you advised : \usepackage[backend=biber,style=authoryear-comp,natbib=true,sorting=nty]{biblatex} and the code in text as \textcite{merton1969optimum, merton1971lifetime}, then the result is as follow: merton1969lifetime;merton1971lifetime – user384463 Apr 05 '20 at 15:49
  • Did you run LaTeX, Biber, LaTeX, LaTeX on your document (where LaTeX is your favourite flavour of LaTeX: pdfLaTeX, LuaLaTeX, XeLaTeX, ...). See https://tex.stackexchange.com/q/63852/35864 and https://tex.stackexchange.com/q/154751/35864. Since you switched to backend=biber, you need to run Biber and not BibTeX. – moewe Apr 05 '20 at 15:51
  • I run pdfLaTeX+MakeIndex+BibTeX since I need pdf result, however when running Biber there is no pdf output at all – user384463 Apr 05 '20 at 16:21
  • Biber alone does not generate a PDF. You need to run pdfLaTeX, Biber, pdfLaTeX, pdfLaTeX. – moewe Apr 05 '20 at 16:30
  • could you possibly advise me how can I upgrade my editor to have pdfLaTeX, Biber, pdfLaTeX, pdfLaTeX. since currently I have only Biber in my editor to choose? – user384463 Apr 05 '20 at 16:39
  • Can't you select pdfLaTeX? What editor do you use? Can you post a screenshot of the compilation options? – moewe Apr 05 '20 at 16:46
  • fortunately it works, thanks a lot – user384463 Apr 05 '20 at 17:16

0 Answers0