TeX on Mac OS X

From Augix' Wiki

Jump to: navigation, search

Contents

Introducation

To use TeX on Mac OS X, it suffices to install TeXShop and one of BasicTeX, gwTeX, or TeXLive-2007-Dev. For a more complete installation, install MacTeX-2007, but then upgrade TeXShop to the latest version.

Installation

gwTeX

  1. I installed gwTeX by i-installer. Link.
    1. I download and install II2.dmg,
    2. and then install "gwTeX based on TeX Live" in /usr/local/gwTeX, this will also install xelatex in /usr/texbin/ which can be used by TeXShop
  2. Install TeXShop

BasicTeX

http://www.tug.org/mactex/morepackages.html

How to put references into an article

Assume that we have an article named DNA.tex written in Tex, and an file named DNA.bib which exported by a reference manage software (eg: BibDesk). The citations you inserted in the article correspond to the papers in the reference file.

What we can do by TeXShop is following:

  1. latex DNA.tex
    This produce DNA.aux
  2. bibtex DNA.aux (or DNA.tex)
    This produce DNA.bbl and DNA.blg
  3. latex DNA.tex two more times.
    Finally you get DNA.pdf

We can also do it in terminal:

pdflatex DNA.tex
bibtex DNA.aux
pdflatex DNA.tex
pdflatex DNA.tex

some explanation for the above procedures: http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html

Reference

TeX on Mac OS X

Getting Started With TeX

Personal tools