LaTeX forum ⇒ BibTeX, biblatex and biberBibliography incompatible with Author-Year Citations

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
nicr
Posts: 16
Joined: Mon Apr 28, 2008 1:30 pm

Bibliography incompatible with Author-Year Citations

Postby nicr » Tue Sep 24, 2013 11:25 pm

Hi :-) :-)

I'm always receiving the following message:
Package natbib error: Bibliography not compatible with author-year citations.

Please, could someone help me?

My files are:
  1. \input{settings}
  2. \begin{document}
  3. \include{texs/draft}
  4. \bibliographystyle{alpha-fr}
  5. \bibliography{biblio/essai}
  6. \end{document}

with draft:
  1. future \cite{glunznz}

and "essai.bib":
  1. @article{glunznz,
  2. author = {Glunz, S. W. and Preu, R. and Biro, D.},
  3. title = {Crystalline Silicon Solar Cells: State-of-the-Art and Future Developments},
  4. year = {2012},
  5. journal = {aaaaaaaaaaaaaaaa},
  6. pages = {11 - 11}
  7. }

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Sep 25, 2013 11:08 am

A compilable minimal working example would be really great. Your bibliography style doesn't seem to work with natbib, see the documentation for more information.

Nevertheless, if you have to freedom to choose, i strongly advice you to use biblatex along with biber.


Best regards
Johannes

  1. \begin{filecontents}{\jobname.bib}
  2. @article{glunznz,
  3. author = {Glunz, S. W. and Preu, R. and Biro, D.},
  4. title = {Crystalline Silicon Solar Cells:
  5. State-of-the-Art and Future Developments},
  6. year = {2012},
  7. journal = {aaaaaaaaaaaaaaaa},
  8. pages = {11 - 11}
  9. }
  10. \end{filecontents}
  11. \documentclass{article}
  12. \begin{document}
  13. \cite{glunznz}
  14. \bibliographystyle{alpha-fr}
  15. \bibliography{\jobname}
  16. \end{document}
Last edited by Johannes_B on Wed Sep 25, 2013 11:13 am, edited 1 time in total.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Wed Sep 25, 2013 11:11 am

The used bibliography style is from the bib-fr package but seems not to be compatible. Use one of the natbib compatible styles instead that are provided by the package.

If you need a French bibliography, you might be interested in using babelbib or in Johannes' suggestion.


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

User avatar
Johannes_B
Site Moderator
Posts: 3883
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Sep 25, 2013 11:20 am

I composed an MWE myself, please see my post above. I don't get any error or warning, can you confirm this?

EDIT reason: orthography
Last edited by Johannes_B on Wed Sep 25, 2013 6:35 pm, edited 1 time in total.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

nicr
Posts: 16
Joined: Mon Apr 28, 2008 1:30 pm

Postby nicr » Wed Sep 25, 2013 11:58 am

Thank you very much Johannes_B und Thorsten for your answers.
_ Johannes_B: I already have Latex Biber. I use it only when I want to compile over some chapters which have their own bibliographies.
_ Thorsten: Indeed. Since I suppressed the alpha-fr style, there is no failure anymore.
Thanks once more! :-)


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 2 guests