General ⇒ How to create refers in article using BibTex and Texnic cntr
How to create refers in article using BibTex and Texnic cntr
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?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
How to create refers in article using BibTex and Texnic cntr
Code: Select all
White space in argument---line 4 of file pru.aux
: \bibdata{IEEEabrv,
: references}
I'm skipping whatever remains of this command
Code: Select all
\documentclass{article}
\begin{document}
\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,references}
\end{document}