GeneralHow to create refers in article using BibTex and Texnic cntr

General information and discussion about TeXnicCenter
Post Reply
marmias
Posts: 1
Joined: Thu May 08, 2008 2:29 am

How to create refers in article using BibTex and Texnic cntr

Post by marmias »

How can I use references in my article using Bibtex and texnic center for Windows?

I created a "references.bib" file (in the same folder as my article's "article.tex" latex file).
"references.bib" is my references database.


I have included the commands

\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv, references}

in "article.tex".

I use the Latex=>PDF option to build my files. (bibtex and makeindex are enabled for this output profile)


However when I do it, the resulting "article.bbl" file is not created correctly (the compiler says that a \begin{document} is missing in the bbl file...)

Specifically, the resulting "article.bbl" contains the following:

% Generated by IEEEtran.bst, version: 1.12 (2007/01/11)
\begin{thebibliography}{}
\providecommand{\url}[1]{#1}
\csname url@samestyle\endcsname
\providecommand{\newblock}{\relax}
\providecommand{\bibinfo}[2]{#2}
\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}
\providecommand{\BIBentryALTinterwordstretchfactor}{4}
\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus
\BIBentryALTinterwordstretchfactor\fontdimen3\font minus
\fontdimen4\font\relax}
\providecommand{\BIBforeignlanguage}[2]{{%
\expandafter\ifx\csname l@#1\endcsname\relax
\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%
\typeout{** loaded for the language `#1'. Using the pattern for}%
\typeout{** the default language instead.}%
\else
\language=\csname l@#1\endcsname
\fi
#2}}
\providecommand{\BIBdecl}{\relax}
\BIBdecl

\end{thebibliography}




In the resultant "article.pdf" file the references header appear on the first page, without any references below it (i.e. the rest of the page is blank)

The rest of the article (title etc) appears normally on the consecutive pages of the pdf. All the citations in the text are missing.

Can somebody help me out please? What's wrong?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

How to create refers in article using BibTex and Texnic cntr

Post by Juanjo »

Look if the blg file (after running BibTeX) contains a message like this:

Code: Select all

White space in argument---line 4 of file pru.aux
 : \bibdata{IEEEabrv,
 :                    references}
I'm skipping whatever remains of this command
If this were the case, remove the white space between the comma and "references". If this wasn't the problem, try something simple as:

Code: Select all

\documentclass{article}

\begin{document}

\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,references}

\end{document}
Then post again a message and attach the log, blg and bib files.
Post Reply