# these style for natbib “Bibliography not compatible with author-year citations”

I want to use these style in my bibliography which must look like the one in this capture

This is my MWE file

\documentclass[a4paper,12pt,oneside]{memoir}
\usepackage[square]{natbib}
\usepackage[frenchb]{babel}
\usepackage[hyphens]{url}

\begin{document}
\citep{Web01}
\bibliographystyle{these}
\bibliography{test}
\end{document}


When compiling with pdflatex>bibtex>pdflatex>pdflatex>viewpdf I get this error

! Package natbib Error: Bibliography not compatible with author-year citations


What could I've being missing here?

• Did you try to add a local TeX directory (MikTeX names it local root)? You have to refresh the FNDB after pasting it. – TeXnician Feb 9 '17 at 11:17
• I figured out there was a problem with the file extension these.bst, I had these.bst.txt after modifiying it I got another error in texmaker Package natbib Error: Bibliography not compatible with author-year citations – PhiloJunkie Feb 9 '17 at 11:22
• Please update your question accordingly. – TeXnician Feb 9 '17 at 11:23
• @TeXnician I've updated my question – PhiloJunkie Feb 9 '17 at 11:27

I solved my problem by removing the natbib package, no need to include any bibliography package to get this style. the code should be like this:

\documentclass[a4paper,12pt,oneside]{memoir}
\usepackage[frenchb]{babel}
\usepackage[hyphens]{url}

\begin{document}
\cite{Web01} \cite{Web02}
\bibliographystyle{these}
\bibliography{test}
\end{document}


this is the output of my code!

• You have still included the package in your code example. – TeXnician Feb 9 '17 at 11:54
• Answer corrected – PhiloJunkie Feb 9 '17 at 11:57