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.

This question already has an answer here:

A document (class article) has a bibliography (using biblatex) printed at the end. But inside the document, a small section (call included section in my example) has its own bibliography (not part of the main bibliography) which is printed at the end of the included section. This small sectop, has no citations to the main bibliography.

\documentclass{article}

\usepackage[defernumbers=true]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
  category = {internal}
}

@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}

@misc{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
\end{filecontents}

\bibliography{\jobname}

\DeclareBibliographyCategory{internal}

\begin{document}

\nocite{*}
\addtocategory{internal}{A01}

\section{first section}

blabla~\cite{B02}


\section{included section}

blabla~\cite{A01}

\printbibliography[title={bibliography of included section},category=internal]

\section{other sections...}

blabla~\cite{C03}

\printbibliography[title={Full bibliography without internal category},notcategory=internal]

\end{document}

The PDF is the following:

PDF

The main problem is that the included bibliography is part of the main bibliography: the main bibliography starts at [2], because it contains the bibliography of the included section. How can i (logicaly) separate the two bibliography ? I want the small bibliography to used references like '[Babar2007]' and the main bibliography to be numbered like "[23]" (with its own reference counter: main bibliography starts at 1) ?

share|improve this question

marked as duplicate by Joseph Wright Mar 14 '13 at 7:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Marco Daniel Mar 10 '13 at 16:41
1  
    
I think this is a dupe: please edit and ask for reopening if I've missed something. –  Joseph Wright Mar 14 '13 at 7:04
    
I don't think so: the link you mentionned was about changing the style of two bibliographies based on category, mine was about including an isolated bubliography inside a whole document with its own bibliography. –  Kartoch Mar 14 '13 at 15:35

1 Answer 1

up vote 2 down vote accepted

You can do this by adding a refsection environment. (I used bibtex as the backend.)

\documentclass{article}

\usepackage[backend=bibtex,defernumbers=true]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
  category = {internal}
}

@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}

@misc{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
\end{filecontents}

\bibliography{\jobname}

\DeclareBibliographyCategory{internal}

\begin{document}

\nocite{*}
\addtocategory{internal}{A01}

\section{first section}
\begin{refsection}

blabla~\cite{B02}


\section{included section}

blabla~\cite{A01}

\printbibliography[title={bibliography of included section},category=internal]
\end{refsection}

\section{other sections...}

blabla~\cite{C03}

\printbibliography[title={Full bibliography without internal category},notcategory=internal]

\end{document}

Note that you must run bibtex on all auxiliary files:

bibtex tmp1-blx.aux
bibte  tmp2-blx.aux

Sample output

share|improve this answer
    
I have tried this solution but I didn't know for the double bibtex calls... Let me check... –  Kartoch Mar 13 '13 at 15:20
    
It works, so my mistake was really about the double call to bibtex, thank you. –  Kartoch Mar 13 '13 at 16:02

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