BibTeX, biblatex and biberBibliography incompatible with Author-Year Citations

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

Bibliography incompatible with Author-Year Citations

Post by nicr »

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:

Code: Select all

\input{settings}
\begin{document}
\include{texs/draft}
\bibliographystyle{alpha-fr}
\bibliography{biblio/essai}
\end{document}
with draft:

Code: Select all

future \cite{glunznz}
and "essai.bib":

Code: Select all

@article{glunznz,
  author = {Glunz, S. W. and Preu, R. and Biro, D.},
  title = {Crystalline Silicon Solar Cells: State-of-the-Art and Future Developments},
  year = {2012},
  journal = {aaaaaaaaaaaaaaaa},
  pages = {11 - 11}
}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Bibliography incompatible with Author-Year Citations

Post by Johannes_B »

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

Code: Select all

\begin{filecontents}{\jobname.bib}
	@article{glunznz,
		author = {Glunz, S. W. and Preu, R. and Biro, D.},
		title = {Crystalline Silicon Solar Cells:
			State-of-the-Art and Future Developments},
		year = {2012},
		journal = {aaaaaaaaaaaaaaaa},
		pages = {11 - 11}
	}
\end{filecontents}
\documentclass{article}
\begin{document}
\cite{glunznz}
\bibliographystyle{alpha-fr}
\bibliography{\jobname}
\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: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bibliography incompatible with Author-Year Citations

Post by localghost »

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
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Bibliography incompatible with Author-Year Citations

Post by Johannes_B »

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

Re: Bibliography incompatible with Author-Year Citations

Post by nicr »

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! :-)
Post Reply