## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ using apacite

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
brown
Posts: 2
Joined: Mon Jan 26, 2009 12:28 am

### using apacite

I'm pretty new to using LaTex still... I'm using MikTex with the LaTex Editor (LED).

I've installed apacite and apa for a paper I have to write. My problem is getting my bibliography to work, I think the apa style is fine. I had problems with english.apc file, but found the file and installed it.

So I have the following code Test.tex:
\documentclass{article} \usepackage{apacite} \begin{document}Sometimes people wonder how to cite things \cite{milgram1970elc} \bibliographystyle{apacite}\bibliography{TestBib} \end{document}

and the following TestBib.bib:
@article{milgram1970elc,   title={{The Experience of Living in Cities}},   author={Milgram, S.},   journal={Science},   volume={167},   number={3924},   pages={1461--1468},   year={1970}}

And I get a warning that "Citation `milgram1970elc' undefined on input line 6."

Is this a problem with my code? Or with LED?

Attachments
Test.log

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
Perhaps you didn't run BibTeX on your document. Your editor should support that with a button or something else. Refer to the help function or to other resources on the homepage.

Best regards and welcome to the board
Thorsten¹
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

brown
Posts: 2
Joined: Mon Jan 26, 2009 12:28 am
Thanks for the help. I tried TeXnicCenter as it has a built in Bibtex command. Apparently LED needed me to create a batch file, which I do not know how to do.

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
brown wrote:Thanks for the help. I tried TeXnicCenter as it has a built in Bibtex command. Apparently LED needed me to create a batch file, which I do not know how to do.

Feel free to report about your success with TeXnicCenter (TXC). I'm sure others are also interested in that.
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1