LaTeX forum ⇒ BibTeX, biblatex and biberCitation Errors with Chicago Bibliography Style Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Sire El Fatos
Posts: 3
Joined: Tue Oct 15, 2013 11:36 am

Citation Errors with Chicago Bibliography Style

Postby Sire El Fatos » Tue Oct 15, 2013 11:50 am

Dear (bib)latex users,

I'd greatly appreciate any help with this issue.

With this minimal example:
  1. \documentclass[11pt,a4paper]{report}
  2. \usepackage[T1]{fontenc}
  3. \usepackage[utf8]{inputenc}
  4. \usepackage[english,francais]{babel}
  5.  
  6. \begin{document}
  7. Hello world \cite{toto}
  8.  
  9. \bibliographystyle{chicago}
  10. \bibliography{Biblio}
  11. \end{document}


A bibliogrpahy file (named "Biblio.bib") like this:
  1. @article{toto,
  2. author = {tata},
  3. title = {tonton},
  4. journal = {titi},
  5. year = {2013},
  6. }


I get these two errors :
  1. ! Undefined control sequence.
  2. \b@toto ->\@safe@activesfalse \citeauthoryear
  3. {tata}{tata}{2013}
  4. l.14 \cite{toto}
  5.  
  6. ! Undefined control sequence.
  7. <argument> \protect \citeauthoryear
  8. {tata}{tata}{2013}
  9. l.3 ...ect\citeauthoryear{tata}{tata}{2013}]{toto}


If I change the bibliography style (for example plain, apalike, ...), there are no errors anymore.

Thank you in advance for your precious help.
Attachments
Biblio.bib
(85 Bytes) Downloaded 244 times
rest.tex
(242 Bytes) Downloaded 238 times
Last edited by Sire El Fatos on Sun Oct 20, 2013 7:46 pm, edited 2 times in total.

Tags:

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Fri Oct 18, 2013 5:50 pm

Hi Sire El Fatos,

Welcome to the LaTeX community!

It looks like the chicago style needs the natbib package:

  1. \RequirePackage{filecontents}
  2. \begin{filecontents}{somesample.bib}
  3. @article{toto,
  4. author = {tata},
  5. title = {tonton},
  6. journal = {titi},
  7. volume = {1} ,
  8. pages = {203},
  9. year = {2013},
  10. }
  11. \end{filecontents}
  12. \documentclass[11pt,a4paper]{report}
  13. \usepackage[T1]{fontenc}
  14. \usepackage[utf8]{inputenc}
  15. \usepackage{natbib}
  16. \usepackage[english,francais]{babel}
  17.  
  18. \begin{document}
  19. Hello world \cite{toto}
  20.  
  21. \bibliographystyle{chicago}
  22. \bibliography{somesample}
  23. \end{document}


Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Sire El Fatos
Posts: 3
Joined: Tue Oct 15, 2013 11:36 am

Postby Sire El Fatos » Sun Oct 20, 2013 7:44 pm

Thanks for you help, Cgnieder !


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 2 guests