Documented Source Files

The standard LaTeX files are distributed in the form of documented source files. As an example, the natbib sources are contained in natbib.dtx.
  1. LaTeX natbib.dtx. If natbib.ins does not exist on your system, it will be extracted.
  2. LaTeX (or just TeX) natbib.ins. This produces
  3. natbib.sty, the actual package file for the user
    natnotes.tex, a 5-page reference sheet when LaTeXed
    natbib.drv, a printer driver for the manual, that may be edited
  4. LaTeX natbib.dtx (or natbib.drv) and print or view the result for a manual