Bibliographic reference in LaTeX

3

I'm trying to create a .bib file, but my file .tex only displays the first one. What am I doing wrong?

@book{Boaventura,
  title={Grafos: Teorias, modelos, algoritmos},
  author={Boaventura Netto, P. O.},
  isbn={9788521203919},
  url={http://www.blucher.com.br/produto/03919/grafos:-teoria-modelos-algoritmos-4-edicao-revista-e-ampliada},
  year={2006},
  publisher={Blucher}
}

@book{Ziviani,
  title={Projetos de Algoritmos com implementações em Pascal e C},
  author={Ziviani, N.},
  isbn={9788522110506},
  url={http://www2.dcc.ufmg.br/livros/algoritmos/index.php},
  year={2011},
  publisher={Cengage Learning}
}
    
asked by anonymous 21.11.2014 / 20:29

1 answer

4

I tried your bibtex and it worked fine.

\documentclass[portuges,a4paper]{article}
\usepackage{babel}
\usepackage[utf8]{inputenc}
\begin{document}

\cite{Ziviani}

\bibliographystyle{alpha}          % ou plain ou ...
\bibliography{patricia}            % patricia.bib
\end{document}

So I assume you would not want to put \cite{...} . If this is not the case, add a micro example with your text.

Sometimes, for the debugging phase of BiBTeX, putting \nocite{*} can be useful (spreads all the bibliography without citations)

    
05.03.2015 / 09:23