BibTeX, biblatex and biberusing apacite

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

using apacite

Post by brown »

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:

Code: Select all

\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:

Code: Select all

@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?

Thanks for your time.
Attachments
Test.log
(2.71 KiB) Downloaded 536 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: using apacite

Post by localghost »

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¹
brown
Posts: 2
Joined: Mon Jan 26, 2009 12:28 am

Re: using apacite

Post by brown »

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.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

using apacite

Post by localghost »

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.
Post Reply