LaTeX and the Multibib Package

I have abandoned word processors. A recent post at TeleRead quoted an editor as blaming word processors for making authors “lazier and stupider.” Perhaps, then, there remains some hope for me.

Enter LaTeX. I now typeset my words rather than processing them, and am convinced that the learning curve for the markup language is well worth it — and even enjoyable for geeks like me. The occasional post on overcoming LaTeX and BibTeX obstacles will therefore likely find its way here in hopes that it may be helpful to other humanities-oriented *TeX users.

Obstacle number one: how to use multiple bibliographies. I am attempting to write a dissertation using TeX and obviously have a need to produce a divided bibliography.

Solution: the multibib package.

In the preamble, I included the following:
% For a divided bibliography
\usepackage{multibib}
\newcites{pri}{Annotated Bibliography of Primary Sources}
\newcites{mss}{Manuscript Sources}
\newcites{diss}{Dissertations and Theses}
\newcites{books}{Books}
\newcites{art}{Articles}

This, of course, reflects the bibtex files in my project: pri.bib, mss.bib, diss.bib, books.bib, and art.bib. They are in the same directory as my tex file.

Then, I included the following where I wanted the bibliographies to appear. For me, this was after the chapter includes. Note that the bibliography style for the annotated bibliography of primary sources is different, so as to include the information in the annote field of the bibtex records.

% For multibib
\nocitepri*
\bibliographystylepri{plain-annote}
\addcontentsline{toc}{chapter}{Annotated Bibliography of Primary Sources}
\bibliographypri{pri}

\renewcommand{\refname}{Manuscript Sources}
\nocitemss*
\bibliographystylemss{plain}
\addcontentsline{toc}{chapter}{Bibliography of Manuscript Sources}
\bibliographymss{mss}

\renewcommand{\refname}{Books}
\nocitebooks*
\bibliographystylebooks{plain}
\addcontentsline{toc}{chapter}{Bibliography of Books}
\bibliographybooks{books}

\renewcommand{\refname}{Dissertations}
\nocitediss*
\bibliographystylediss{plain}
\addcontentsline{toc}{chapter}{Bibliography of Dissertations}
\bibliographydiss{diss}

\renewcommand{\refname}{Articles}
\nociteart*
\bibliographystyleart{plain}
\addcontentsline{toc}{chapter}{Bibliography of Articles}
\bibliographyart{art}

I have not found a way to automatically typeset and process the document using the multibib package from within TextMate. Rather, it must be done from the command line. Navigate to the directory, then typeset the master .tex document but leave off the .tex extension (my document was viretdissertation.tex):

pdflatex viretdissertation
bibtex pri
bibtex mss
bibtex books
bibtex diss
bibtex art
pdflatex viretdissertation
pdflatex viretdissertation

Voila.

Leave a Reply