1

I am running LaTeX on a Mac and am having problems trying to use the multibib package.

the code I am running is (linking to relevant .bib files):

\usepackage{multibib}

\newcites{h}{Reference List 1}
\bibliographystyle{plain}
\bibliographystyleh{plain}
.....

%\bibliographystyleh{plain}
\bibliographyh{references}

\newpage
%\bibliographystyle{plain}
\bibliography{designstudy}

However, only the references linked to the normal bibliography come out and not those linked to the one i've called h?

I've tried to compile it multiple times but it still doesn't find the other reference database.

4

you have to run bibtex on each subbib:

pdflatex <file>
bibtex <file>
bibtex h
pdflatex <file>
pdflatex <file>

the first bibtex run is for the default bib and the second for the h bib

A complete example, saved as test.tex:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{multibib}
\newcites{Books}{List of Books}
\begin{document}
Articles: \cite{article-full} and \cite{article-crossref}.
%
Books: \citeBooks{inbook-minimal} and \citeBooks{inbook-full}.

\bibliographystyleBooks{plain}
\bibliographyBooks{xampl}

\renewcommand\refname{Articles}
\bibliographystyle{alpha}
\bibliography{xampl}
\end{document}

run it with

pdflatex test
bibtex test
bibtex Books
pdflatex test
pdflatex test

then it gives the output:

enter image description here

7
  • how to do run bibtex h though?
    – valerie
    Mar 1 '14 at 10:52
  • ie what do you have to click/press to do each of these commands?
    – valerie
    Mar 1 '14 at 10:52
  • on a mac open a terminal go into your documents directory and run it by hand.
    – user2478
    Mar 1 '14 at 10:56
  • it then says there is no h.aux file?
    – valerie
    Mar 1 '14 at 11:09
  • post your complete example.
    – user2478
    Mar 1 '14 at 11:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.