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 insert multiple bibliographyes into my document. I just want one for the whole document and one for each appendix.

I tried different packages (multibib, biblatex,...) but cant seem to obtain a correct answer.

Each of the bibliographyes are in a different .bib file.

How can I approach the problem?

PD: I am using Miktex and Texmaker

share|improve this question
    
tex.ac.uk/cgi-bin/texfaq2html?label=multbib may help –  wasteofspace Jun 17 '13 at 10:42
    
@wasteofspace and how can chose what bilbiography i am compiling?? –  Ander Biguri Jun 17 '13 at 10:45
    
See the section about preparing bibliographies in this presentation on my LaTeX and Friends site. –  Marc van Dongen Jun 17 '13 at 10:59
    
@wasteofspace I really cant get to do nothing from that link... bilbiographyes are not shown... –  Ander Biguri Jun 17 '13 at 10:59
    
@MarcvanDongen amazing work done there! Still can get it :(. Starting from page 49 I tried to follow all the steps to 50 (several slices). The only thing i don have equal is the backend options, as I cant use bibtex (dont know why it gives compiling error). IT just doesnt print any bilbiography... –  Ander Biguri Jun 17 '13 at 11:15
show 8 more comments

1 Answer

up vote 3 down vote accepted

You can use the chapterbib package for that purpose.

This is how I normally use it.

I create a main file, let's say:

test.tex

\documentclass{report}

\usepackage{chapterbib}

\begin{document}

\include{chapter1}
\include{appendix1}
\include{appendix2}

\end{document}

This is the file where I save my chapters

chapter1.tex

\chapter{Test1}

some text\cite{author1}

\chapter{Test2}

some text\cite{author2}

\bibliographystyle{plain}
\bibliography{biblio-chap1}

This is my first appendix

appendix1.tex

\appendix
\chapter{First}

some text\cite{app1}

\bibliographystyle{plain}
\bibliography{biblio-app1}

and this is the second

appendix2.tex

\appendix
\chapter{Second}

some text\cite{app2}

\bibliographystyle{plain}
\bibliography{biblio-app2}

Now, biblio-chap1.bib is the overall bibliography and author1 and author2 citations come from there.

The bibliography biblio-app1.bib is related to the first appendix and app1 citation come from there, while biblio-app2.bib is related to the second appendix and app2 citation come from there.

To get a fully compiled document, run

pdflatex main

bibtex chapter1

bibtex appendix1

bibtex appendix2

pdflatex main

pdflatex main

Having a look at its documentation will anyway let you know how to adjust it for your needs.

share|improve this answer
add comment

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.