BibTeX, biblatex and biberCan't generate citations and references

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
new_to_tex
Posts: 6
Joined: Tue Nov 10, 2009 7:34 pm

Can't generate citations and references

Post by new_to_tex »

Hi All,

I used a pre-defined template. Problem is that I can't generate the citation and references, no matter how I've tried.

This is the code I used, the citation is at the last line:

Code: Select all

\documentclass[12pt,a4paper,twocolumn]{narms}

\usepackage{subfigure} 
\usepackage{psfig}
\usepackage{timesmt}   
\usepackage{chicaco}  

\makeatletter
\renewcommand{\section}{\@startsection%
{section}%
{1}%
{0mm}%
{- \baselineskip}%
{0.15\baselineskip}%
{\normalfont\normalsize}}%

\renewcommand{\subsection}{\@startsection
{subsection}%
{2}%
{0mm}%
{-\baselineskip}%
{0.15\baselineskip}%
{\normalfont\normalsize}}%
\makeatother

\setlength{\topmargin}{-2.2cm}
\setlength{\oddsidemargin}{-15mm}
\setlength{\leftmargin}{-1in}
\setlength{\textheight}{260mm}
\setlength{\textwidth}{187mm}
\setlength{\columnsep}{7mm}
\setlength{\textfloatsep}{13pt}
\setlength{\abovedisplayskip}{8pt}
\setlength{\belowdisplayskip}{8pt}

\renewcommand{\textfraction}{.1}
\renewcommand{\bottomfraction}{.6}

\setlength{\jot}{.2in}

\linespread{0.9} 
\begin{document}

\title{Filename ABC}
\author{Authors}\\

\abstract{This is the abstract.}

\maketitle
\frenchspacing   

\section{INTRODUCTION}
This is the intro.

\section{CONCEPTUAL MODEL}
This is the concept.

\section{CONCLUSIONS}
This is the conclusion.

This is the citation \cite{Fredsoe1997}
\newpage

\bibliographystyle{chicaco}     
\bibliography{Biblio} 

\end{document}

I used Jabref & Texmaker. The key Fredsoe1997 is generated by Jabref. File Biblio.bib is in the current folder.

The error is "Citation Fredsoe1997 is undefined".

Could anybody help? Many thanks in advance.
Attachments
Biblio.txt
My bib file, pls change the file extension to bib
(3.23 KiB) Downloaded 257 times
Last edited by new_to_tex on Fri Apr 16, 2010 9:55 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Can't generate citations and references

Post by frabjous »

Could you upload Biblio.bib (or copy and paste into a code box) here too? Make sure the filenames match in case (biblio.bib is not the same as Biblio.bib)

Keep in mind that you'll get that warning the first two compilations even when all is going well. You need to run (pdf)latex, then bibtex, then (pdf)latex two more times to make the warning go away and make sure everything shows correctly.

It's also a little weird that you're using plainnat without the natbib package, though I don't think that's the cause of your problem.
new_to_tex
Posts: 6
Joined: Tue Nov 10, 2009 7:34 pm

Re: Can't generate citations and references

Post by new_to_tex »

Thank frabjous.

I edited the first post, changed the code which I have to really work on and attached the Bib file.

I found that the code I've typed previously works well.

Actually my problem occurs when I have to follow the template that I just changed in the first post.

I did follow latex-bibtex-latex(2), but still the same error. :(
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Can't generate citations and references

Post by frabjous »

Your old code was close to what we call a "Minimal Working example."

Your new code is not close to a minimal working example. It also makes use of a document class, and packages that are not on CTAN. There is therefore no way for others to test the code and see what's wrong with it. Please work at removing as much of the code as you can while preserving the error. If you need to leave in any classes or packages not available on CTAN, please make that clear, and if possible, provide links to where they can be obtained.

See this topic for more information.
new_to_tex
Posts: 6
Joined: Tue Nov 10, 2009 7:34 pm

Re: Can't generate citations and references

Post by new_to_tex »

Ok, thanks.

I will try by step-by-step removing code lines, to see from what the problem arises.
hanshdk
Posts: 11
Joined: Wed Aug 26, 2009 2:40 pm

Can't generate citations and references

Post by hanshdk »

Hi

I tried your bibliographyfile with the following code:

\documentclass{article}
\usepackage{chicago}
\bibliographystyle{chicago}
\begin{document}
This is the citation \cite{Fredsoe1997}
\bibliography{Biblio}
\end{document}


It works perfectly fine...
Post Reply