0

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

these style

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?

4
  • 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, 2017 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 Feb 9, 2017 at 11:22
  • Please update your question accordingly.
    – TeXnician
    Feb 9, 2017 at 11:23
  • @TeXnician I've updated my question Feb 9, 2017 at 11:27

1 Answer 1

1

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!

enter image description here

2
  • You have still included the package in your code example.
    – TeXnician
    Feb 9, 2017 at 11:54
  • Answer corrected Feb 9, 2017 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.