Monday, January 12, 2015

BibTex, part 2

Generating a BibTex Bibliography in 4 steps on Scientific WorkPlace (SWP): Part II

Suppose you have 3 BIBTEX sources as follows: 

@article{black1973pricing,
  title={The pricing of options and corporate liabilities},
  author={Black, Fischer and Scholes, Myron},
  journal={The journal of political economy},
  pages={637--654},
  year={1973},
  publisher={JSTOR}
}
JabRef generates the following key: Black1973

@article{krugman1991increasing,
  title={Increasing Returns and Economic Geography},
  author={Krugman, Paul},
  journal={Journal of Political Economy},
  volume={99},
  number={3},
  year={1991}
}

JabRef generates the following key: Krugman1991

@book{tirole1988theory,
  title={The theory of industrial organization},
  author={Tirole, Jean},
  year={1988},
  publisher={MIT press}
}

JabRef generates the following key: Tirole1988



Step 3: Citing works in your tex-document

    Suppose you cited Fischer Black and Myron Scholes as Black and Scholes (1973) here, Jean Tirole there as Tirole (1988), and Paul Krugman somewhere else in the body of the tex-document as Krugman (1991).
To use your database: .
    (a) Click on icon " (citation) on the command line.
    (b) Double click on your database, a dialog box appears. Select the key (Black1973). You can view the key if you are unsure. Click OK, OK.
    (c) A button appears (cite:Black1973), which gives (Black and Scholes 1973). If you want the citation to look like Black and Scholes (1973), you have to use a TEX field. Click on TEX field. A dialog box appears. Write: \citeN(Black1973).
Repeat for every citation.

Step 4: Compiling your document

Compile your tex-document as follows,
    (a) Click on the icon "Typeset DVI compile" on the command line. The icon is a superscript TEX. It is different from TEX with an E as an underscript.
    (b) Check "Generate a bibliography" and click OK. Check for warning messages. If any correct your database on JabRef or NotePad.
    (c) Typeset PDF review.
    Good luck!!!

No comments:

Post a Comment