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 used biblatex with sucess in Problems with biblatex to obtain multiple bibliographies by chapter and a global bibliograhy.

But i need add the bibsection to the toc

  Contents
  List of figures
  List of tables
  1. Name of the chapter one ..................... 1
     1.1 Introduction ...........................  2
     1.2 Other introduction .....................  3
     References to the chapter one...............  4
  2. Name of the chapter two ..................... 5
     2.1 Introduction ...........................  6
     2.2 Other introduction .....................  7
     References to the chapter two...............  8

  Global references .............................  10

  --------------------------------

  Chapter 1

  Name of the chapter one

  1.1 Introduction
  Bla bla (Someone, 2012)

  1.2 Other introduction (Someone, 2010)
  Bla bla

  References
  Someone, 2012, Title, IEEE.
  Someone, 2010, Title, Elsevier.
share|improve this question

1 Answer 1

up vote 5 down vote accepted

It sounds like you need

\printbibliography[heading=subbibintoc]
\printbibliography[heading=bibintoc]

A complete MWE follows, based on the one in your previous question :) The compilation sequence is

pdflatex myfile.tex
biber myfile.bcf
pdflatex myfile.tex
pdflatex myfile.tex

You can omit the file extensions if you wish.

\begin{filecontents*}{references.bib}
@BOOK{childs_temperature,
  title = {Practical Temperature Measurement},
  publisher = {Butterworth - Heinemann},
  year = {2001},
  author = {Childs, Peter R N},
  address = {Great Britain},
  edition = {1},
  isbn = {0 7506 5080 X}
  }

  @PHDTHESIS{hashemian,
  author = {Hashemian, Hashem Mehrdad},
  title = {Measurements of dynamic temperatures and pressures in nuclear power plants},
  school = {{The University of Western Ontario}},
  year = {2011},
  type = {PhD {T}hesis}
  }
\end{filecontents*}

\documentclass{report}
 \usepackage[style=alphabetic]{biblatex}
 \addbibresource{references.bib}

 \begin{document}

 \tableofcontents
 \begin{refsection}
 \chapter{First chapter}
 \section{Foo}
 Some text \cite{childs_temperature}.
\printbibliography[heading=subbibintoc]
 \end{refsection}

 \begin{refsection}
 \chapter{Second chapter}
 \section{Bar}
 Some text \cite{hashemian}.
 \printbibliography[heading=subbibintoc]
 \end{refsection}

 \nocite{*}
 \printbibliography[heading=bibintoc]
 \end{document}

animation

share|improve this answer
    
I use \usepackage[style=authoryear,citestyle=authoryear,sorting=nty]{biblatex} When I cite a work i use \cite{key}, i obtain Text Key 2012, text But i need to obtain Text (Key, 2012) text –  Andres Sarmiento C Jan 23 '13 at 20:37

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.