References and Bibliographies

From QERM Wiki
(Difference between revisions)
Jump to: navigation, search
m (JabRef: wording)
(Added information on makebst)
Line 26: Line 26:
  
 
Far and away the best tool for creating <code>.bib</code> files is [http://jabref.sourceforge.net/ JabRef], which has tons of great neat and simple features.  It can, however, consume considerable resources from a machine (especially if the machine is clunky and old). JabRef uses BibTeX as its native format, which means that changes can be made directly to the .bib file as well as within JabRef.
 
Far and away the best tool for creating <code>.bib</code> files is [http://jabref.sourceforge.net/ JabRef], which has tons of great neat and simple features.  It can, however, consume considerable resources from a machine (especially if the machine is clunky and old). JabRef uses BibTeX as its native format, which means that changes can be made directly to the .bib file as well as within JabRef.
 +
 +
===makebst===
 +
 +
Do you not like any of the available reference styles, or need to create your own to match a particular journal?  '''makebst''' helps you create a .bst file.  Here's how to use it:
 +
# Run the command <code> latex makebst </code> in the directory you want to create .bst the file (i.e. where your tex file is)
 +
# Follow the directions to enter the output file name and describe reference formatting
 +
# In your tex file, set the bibliography style to your new file you just created: <code> \bibliographystyle{myStyle} </code>
 +
# Compile
 +
 +
Also, '''makebst''' also creates a .dbj file that you can tweak instead of going through all the questions again.  After you make changes, simply run <code> latex myStyle.dbj </code> to recreate the .bst file.
  
 
===EndNote and other reference software===
 
===EndNote and other reference software===

Revision as of 19:33, 12 November 2008

Contents

References and Bibliographies

There is a tool called BibTeX within LaTeX that formats lists of references and generates all the appropriate references within a document when called. The bibliography itself is in a text file with a .bib extension. A .bib file might contain the following entry:

 @BOOK{Lotka1924,
 title = {Elements of Physical Biology},
 publisher = {Williams and Wilkins},
 year = {1924},
 author = {Lotka, A.J.},
 address = {Baltimore}
}

or, for a journal article:

@ARTICLE{Kareiva1983,
 author = {Kareiva, P. M. and Shigesada, N.},
 title = {Analyzing insect movement as a correlated random walk},
 journal = {Oecologia},
 year = {1983},
 volume = {56},
 pages = {234-238},
 url = {http://www.springerlink.com/content/m525270k7647u074/fulltext.pdf}
}

The first line is a reference key which can be used in the LaTeX body in a variety of ways. For example, using the natbib package, \citep{Kareiva1983} will output (Kareiva and Shigesada, 1983), while \citet{Kareiva1983} will output Kareiva and Shigesada (1983). See more examples here. And see a better overview explanation here.

JabRef

Far and away the best tool for creating .bib files is JabRef, which has tons of great neat and simple features. It can, however, consume considerable resources from a machine (especially if the machine is clunky and old). JabRef uses BibTeX as its native format, which means that changes can be made directly to the .bib file as well as within JabRef.

makebst

Do you not like any of the available reference styles, or need to create your own to match a particular journal? makebst helps you create a .bst file. Here's how to use it:

  1. Run the command latex makebst in the directory you want to create .bst the file (i.e. where your tex file is)
  2. Follow the directions to enter the output file name and describe reference formatting
  3. In your tex file, set the bibliography style to your new file you just created: \bibliographystyle{myStyle}
  4. Compile

Also, makebst also creates a .dbj file that you can tweak instead of going through all the questions again. After you make changes, simply run latex myStyle.dbj to recreate the .bst file.

EndNote and other reference software

EndNote and other programs offer the option of exporting their records in the BibTeX format (see the Using EndNote with LaTeX/BibTeX FAQ at MIT for more information on this). However, changes to the resulting file will not be recognized by EndNote without importing them back in.

The Great Zotero Debate

Tommy writes:

I came across Zotero (http://www.zotero.org/), a Firefox plugin that acts as a Reference manager. I was able to import my .bib file and then use a plug-in for Word 2007 that allows you to insert citations and then generate a bibliography. Anyways, I was more writing to give a plug-in for Zotero. It has all the great features of JabRef (note taking, file linking, editing, etc.), but imports citations much faster. Since it runs from Firefox it automatically knows if you're at a site (http://www.zotero.org/translators/) that exports citations and you can do so by the click of a button in the browser. I find this much faster than saving the .enw,.ris, etc. file, switching over to JabRef, importing the file, and then editing if necessary. It can all be done from Firefox. Give it a shot!

However, Ian recalls having written:

Zotero is lame. I'm always confused about what it will grab from a given website. Even after watching 2 instructional videos and playing with it for 20 minutes, I have no idea how it's supposed to make my life better. I have Zozero inspiration to spend more time learning about it. Someday maybe a Zotero expert will show me the ropes and I'll be all impressed, but until then, I give up on the thing.

The Qermipedia has yet to come up with a consistent position on recommending Zotero.

Personal tools