0

I just figured that the reference list are not compiled unless I directly cite them on latex file. Is this the norms?

dia
  • 111
  • 3
    Welcome to TeX.SE! I guess you want to be more specific. There are many different ways of adding references (by hand, bibtex, biber,...) and the answer will depend on the specifics. –  May 20 '18 at 02:14
  • 2
    welcome. just a guess ... since often with bibtex the .bib file is essentially a cumulative database, the convention is to include in a document's reference list only the works that are actually cited. if you want everything in the file to be included, add the command \nocite{*}. (as @marmot says, though, if this is not an ordinary bibtex bibliography, the situation may be different.) – barbara beeton May 20 '18 at 03:01
  • 1
    Oh wow, thank you. I hadn't known there is such a welcoming stackexchange community..! – dia May 20 '18 at 07:00
  • What I meant to ask is while I intended to print all the references that I read and was inspired by, tex file wouldn't compile and print the reference list that I didn't include in the working paper as \cite{name of the reference}. Exactly as barbara guessed. I will try your suggestion. Appreciation once again. – dia May 20 '18 at 07:03
  • What you are seeing is normal behaviour. If you use a .bib file only entries that are \cited go to the bibliography at the end. You can add specific sources you don't want to cite explicitly to the bibliography with \nocite{sigfridsson}. With \nocite{*} you add all entries of your .bib file to the bibliography. See also https://tex.stackexchange.com/q/17128/35864 – moewe May 20 '18 at 07:31
  • While we could work out with a bit of guessing what your question was about and the exact details of your document did not really matter for the specifics of the question (most bibliography systems support \nocite in one way or other - except manual bibliographies, but they don't use .bib files and always list all entries in the bibliography, so that could not have been it), this is certainly not always the case. It is therefore a good habit to post an MWE with your question. ... – moewe May 20 '18 at 07:36
  • ... In this case the MWE would have told us what method you use to create your bibliography (amsrefs, standard BibTeX with natbib, cite, jurabib, or biblatex ...), the style you use and how you currently cite your sources. An MWE makes sure that we are all talking about the same thing, it also helps people to understand your question more quickly and to get started answering at once. – moewe May 20 '18 at 07:38

0 Answers0