## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Bibliography with TeXnicCenter Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
eglucon
Posts: 11
Joined: Fri Jan 16, 2009 7:13 am

### Bibliography with TeXnicCenter

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 !

LaTeXguide.org • LaTeX-Cookbook.net

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

### Bibliography with TeXnicCenter  Topic is solved

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.
\begin{filecontents*}{xmpl.bib}
@BOOK{lamport94,
author={Leslie Lamport},
title={\LaTeX\ - A Document Preparation System},
note={User's Guide and Reference Manual},
year={1994},
edition={Second}
}
@BOOK{knuth84,
author={Donald Ervin Knuth},
title={The \TeX book},
year={1984},
}
\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 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¹
LaTeX Community Moderator

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

eglucon
Posts: 11
Joined: Fri Jan 16, 2009 7:13 am

### Re: Bibliography with TeXnicCenter

Thank you very much! Your example and explanation worked perfectly.

Eglucon.