views:

39

answers:

3

Hello,

Also in my document i have to specify the References. i'm using:

\bibliographystyle{abbrv}
\bibliography{main}

Where main is the .bib file from the same folder, and contains, for example:

@string{jgr = "J.~Geophys.~Res."}

@MISC{primes,
   author = "Charles Louis Xavier Joseph de la Vall{\'e}e Poussin",
   note = "A strong form of the prime number theorem, 19th century",
   year = 1879
   }

@INBOOK{chicago,
   title = "The Chicago Manual of Style",
   publisher = "University of Chicago Press",
   edition = "Thirteenth",
   year = 1982,
   pages = "400--401",
   key = "Chicago"
   }

But at the References section nothing it's displayed, when generating the .pdf. I have rebuild the .bib and the .tex file..

And how can i change that default text, from 'References' to 'Bibliografie'? or something else..

Thanks!

A: 

You have to actually \cite references for them to be included in the bibliography. If instead you want everything in the bib file in the bibliography put \nocite{*} somewhere in the preamble. Read here what this actually does.

honk
I wanna everything that it's in the .bib file. And where should i write this \nocite{*}?
qwerty
@qwerty: The preamble. Between the `\documentclass` line and the `\begin{document}` line.
Donal Fellows
No, i got the error: Cannot be used in preamble, at nocite{*} between \documentclass
qwerty
@qwerty: Try putting it elsewhere, but before you include the bibliography file.
honk
still the References section is empty..
qwerty
A: 

You have to either \cite or \nocite a reference for it to appear in your References section. I'm not sure how to change the name of the bibliography. I would start by looking at the LaTeX WikiBook. It looks like there is a tool make makebst that produces a custom bibliography style - take a look at the custom-bib package and this document for more details.

D.Shawley
That does not work..
qwerty
A: 

I think that you need to put \nocite{*} somewhere within your document -- putting it inside the preamble should cause LaTeX to throw a "cannot be used in preamble" error. If they're still not appearing within your document, is LaTeX giving you any errors and, if so, can you tell us what they are?

To change the default text from "References" to whatever you would like, use the following command:

\renewcommand{\bibsection}{\section*{insert_title_here}}

Note that the asterisk after \section means that it won't be associated with a number. If you want it to be associated with a number, just remove the asterisk.

ccrazy88