I can't get natbib to work on my computer (MacBook, using TeXShop). All citation have question marks instead of the proper citation. I created the following minimal example:
Code: Select all
\documentclass{article}\usepackage{natbib}\begin{document}There is a very nice \citep{flower}, but no \citet{flour}, in this \citealt{tree}.\bibliographystyle{plainnat}\bibliography{example}\end{document}
Code: Select all
@Book{flower,author = {Carl Linnaeus},title = {Systema Naturae},publisher = {Holmi\ae},year = 1766,edition = {twelfth}}@Book{flour,author = {Tom Jaine},title = {50 recettes de pain},publisher = {Gr\"und},year = 1995,isbn = {978-2700053739}}@Book{tree,author = {William Grimm},title = {Illustrated Book of Trees: The Comprehensive Field Guide to More than 250 Trees of Eastern North America},publisher = {Stackpole Books},year = 2001,edition = {revised},isbn = {978-0811728119}}
Code: Select all
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)\write18 enabled.entering extended mode(./natlib_test.texLaTeX2e <2009/09/24>Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, monogreek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded.(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.clsDocument Class: article 2007/10/19 v1.4h Standard LaTeX document class(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo)) (./natbib.sty)(./natlib_test.aux)Package natbib Warning: Citation `flower' on page 1 undefined on input line 6.Package natbib Warning: Citation `flour' on page 1 undefined on input line 6.Package natbib Warning: Citation `tree' on page 1 undefined on input line 6.No file natlib_test.bbl.Package natbib Warning: There were undefined citations.[1{/usr/local/texlive/2009/texmf-var/fonts/map/pdftex/updmap/pdftex.map}](./natlib_test.aux) )</usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/local/texlive/2009/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>Output written on natlib_test.pdf (1 page, 23549 bytes).SyncTeX written on natlib_test.synctex.gzTranscript written on natlib_test.log.
florian