<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You have to run LaTeX->BibTeX->LaTeX->LaTeX or use one of Herb's latexmk engines if you use TeXShop.<div>This still doesn't explain why you would see the "undefined on input line..." errors on the second and third runs of LaTeX, unless the citekeys in your .bib file do not match the citekeys in your .tex file, or perhaps you haven't saved the .bib file (Perhaps in Bibdesk?)..</div><div><br><div><br><div><div>On May 19, 2012, at 6:50 AM, konstantinos vasilakos wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello, thanks for the response, yes I am, in fact I have placed my .bib file in the same folder directory as my .tex I am working lives. (that's what I get from the tutorials).<div><br></div><div>Then I try to do the "sync" or anyhow is called by cmd-shift-b where I get this  </div><div>--> <span class="Apple-style-span" style="font-family: Monaco; font-size: 10px; ">This is BibTeX, Version 0.99d (TeX Live 2011)</span><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">The top-level auxiliary file: Untitled.aux</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">I found no \bibdata command---while reading file Untitled.aux</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">I found no \bibstyle command---while reading file Untitled.aux</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">(There were 2 error messages)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><br></div><div>Then I cmd-t to generate the file but in response I get the file without a successful citation.</div><div>Do I have to make a bibliography command \bibliography in order to achieve it or this comes only when I want to place a Bibliography section ?</div><div><br></div><div>Best</div><div>Thank you</div><div><br></div><div>\K.</div><div><br></div><div><div><br></div></div></div></div>----------- Please Consult the Following Before Posting -----------<br>TeX FAQ: <a href="http://www.tex.ac.uk/faq">http://www.tex.ac.uk/faq</a><br>List Reminders and Etiquette: <a href="http://email.esm.psu.edu/mac-tex/">http://email.esm.psu.edu/mac-tex/</a><br>List Archive: <a href="http://tug.org/pipermail/macostex-archives/">http://tug.org/pipermail/macostex-archives/</a><br>TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/">http://mactex-wiki.tug.org/</a><br>List Info: <a href="http://email.esm.psu.edu/mailman/listinfo/macosx-tex">http://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br><br></blockquote></div><br></div></div></body></html>