Trying to create a simple document with package natbib but I get the following
pdflatex mydocument.tex
is fine but with some warnings like
Package natbib Warning: Citation `Dukes:2011:OSP:2206329.2206341' on page 1 und
efined on input line 15.
and bibtex mydocument.aux complains that it can't the find the 'plainnat.bst' file.
---line 11 of file proposal.aux
: \bibstyle{plainnat
: }
I'm skipping whatever remains of this command
I found no style file---while reading file proposal.aux
I have MacTex 2012 and have made sure that I have plainnat in ~/Library/texmf/bibtex/bst.
Example that does not work
\documentclass[12pt]{article}
\usepackage[authoryear]{natbib}
\begin{document}
Bla bla bal \citep{test}
\bibliographystyle{plainnat}
\bibliography{../bibliography}
\end{document}
where bibliography.bib is
@article{test,
author = "aba",
title = "a",
journal = "aa",
year = "2013"}

`to mark your inline code as I did in my edit. If you indent lines by 4 spaces or enclose words in backticks`, they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – Guido Jan 6 at 22:56plainnat.bstsince it is part of MacTeX already. Can you post a minimal document that shows the problem. – Alan Munn Jan 6 at 23:00plainnat.bstin your home subtree. You should have it in/usr/local/texlive/2012/texmf-dist/bibtex/bst/natbib/plainnat.bst; please, check it. – egreg Jan 8 at 7:40