I want to create a list of references in my article and I want to use BibTeX. I have read the tutorials and the posts in this forum but I am unable to create the bibliography with TeXnicCenter. Can anybody explain me, step by step, how to create the .bib files and run LaTeX and BibTeX with TeXnicCenter? I have run (twice) the examples posted in the forum and I get an empty .pdf file. Please help me!
Thank you !
BibTeX, biblatex and biber ⇒ Bibliography with TeXnicCenter
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bibliography with TeXnicCenter
Setting up a bibliography with BibTeX is very easy in TeXnicCenter (TXC). Its build profiles use BibTeX unless you check the according box not to use it. Take the following example, which already shows the bibliography after at least two runs with a build profile in TXC.
As you can see, this is a very simple example to demonstrate the basics about creating a bibliography with BibTeX. The filecontents* environment creates a short sample bibliography file. Later you will create and edit such a file manually in TXC. Pay attention to the right suffix (*.bib). The way of citing references is kept untouched and should be well known.
As you already did some reading, the "Tame the Beast" document might help you in this issue if you haven't taken a look at it yet. The CTAN Catalogue has much more information about creating bibliographies with BibTeX and different bibliography styles [1].
More explanations and description are not possible in this place. All is said in these manuals which should help you in getting things work.
[1] The TeX Catalogue Online, Topic Index - Bibliography
Best regards
Thorsten¹
Code: Select all
\begin{filecontents*}{xmpl.bib}
@BOOK{lamport94,
author={Leslie Lamport},
title={\LaTeX\ - A Document Preparation System},
note={User's Guide and Reference Manual},
year={1994},
publisher={Addison-Wesley},
edition={Second}
}
@BOOK{knuth84,
author={Donald Ervin Knuth},
title={The \TeX book},
year={1984},
publisher={Addison-Wesley}
}
\end{filecontents*}
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[margin=2cm]{geometry}
\usepackage{lmodern}
\begin{document}
\nocite{*} % All bibliography items appear without citation in the text
\bibliographystyle{unsrt}
\bibliography{xmpl}
\end{document}
As you already did some reading, the "Tame the Beast" document might help you in this issue if you haven't taken a look at it yet. The CTAN Catalogue has much more information about creating bibliographies with BibTeX and different bibliography styles [1].
More explanations and description are not possible in this place. All is said in these manuals which should help you in getting things work.
[1] The TeX Catalogue Online, Topic Index - Bibliography
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Bibliography with TeXnicCenter
Thank you very much! Your example and explanation worked perfectly.
Eglucon.
Eglucon.