Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to create a list of publications, posters and conference talks with LaTeX. As I can't distinguish these three reference-types by the classical BibTeX types (e.g. article, inbook,...) I though about to create three .bib files seperately and include the bibliographies of all three in a LaTeX document. For multiple bibliographies I came across multibib, but I can't get my code working:

\documentclass{article}

\usepackage{jurabib}
%\usepackage{biblatex}
\usepackage{multibib}
\usepackage{filecontents}

%%%%% Articles %%%%%%
\begin{filecontents}{art-bib.bib}
@book{A01,
  author = {Author, A.},
  year = {2001},
  title = {A book},
}
@booklet{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {A booklet},
}
\end{filecontents}

%%%%% Conferences %%%%%%
\begin{filecontents}{conf-bib.bib}
@book{A01,
  author = {Author, A.},
  year = {2001},
  title = {A book Conf},
}
@booklet{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {A booklet Conf},
}
\end{filecontents}


\newcites{art}{Articles}
\newcites{conf}{Conferences}
%\newcites{poster}{Posters}


\bibliographystyleart{jurabib}
\bibliographystyleconf{jurabib}
%\bibliographystyleposter{plain}

\begin{document}

\nociteart{*}
\nociteconf{*}
%\nociteposter{*}


\bibliographyconf{conf-bib.bib}
\bibliographyart{art-bib.bib}

\end{document}

I am using Texmaker with TexMaker 3.2 on Ubuntu 12.04

share|improve this question

1 Answer 1

up vote 1 down vote accepted

When specifying the bib files, use

\bibliographyconf{conf-bib}
\bibliographyart{art-bib}

Then run latex or pdflatex on the tex file. This will generate two .aux files, art.aux and conf.aux. Run bibtex on these two files. Finally another latex run will give the desired result.

share|improve this answer
    
running bibtex on both .aux files is the key. –  Johannes Feb 13 '13 at 14:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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