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'm using biblatex for PhD thesis.

I want to have per chapter bibliographies. Moreover I would like to split the bibliography for each \section. Therefore I use refsection=section when loading biblatex and use \bibbysection[heading=subbibliography] to print the references.

The problem is all list of references have the same title (References). I would like to use the number of the \section (or even better the name).

I have found the way to do that in the manual (section 3.10.3) but can't make it work. For instance with the following file:

\documentclass[12pt,a4paper]{scrbook}
\usepackage{csquotes}
\usepackage[backend=biber,backref=true,hyperref=true,%
        refsection=section,%
        firstinits=true,%
        style=alphabetic,%
        indexing=true,%sortcites=true
        url=false,doi=false]{biblatex}

\defbibheading{subbibliography}{%
\section*{References from section \ref{refsection:\therefsection}}}
% \usepackage{nameref}
% \defbibheading{subbibliography}{%
% \section*{\nameref{refsection:\therefsection}}}
\bibliography{test}
\begin{document}

\chapter{Yep}

\section{My first method}

See~\cite{Dubois2010}.

\section{My better method}

See~\cite{Dubois2011}.

\printbibheading
\bibbysection[heading=subbibliography]

\end{document}

And the bib:

@INPROCEEDINGS{Dubois2011,
author = {Dubois, Mathieu},
title = {New stuff},
year  = {2011}
}
@INPROCEEDINGS{Dubois2010,
author = {Dubois, Mathieu},
title = {Old stuff},
year  = {2010}
}

I get:

Bibliography
References from section 1
...
References from section 1.1

Where I expected:

Bibliography
References from section 1.1
...
References from section 1.2

Any idea? ...

I'm using TeXLive 2010 on Ubuntu 11.04 (biblatex version 1.4c).

share|improve this question

closed as too localized by lockstep, Werner, Alan Munn, Joseph Wright Sep 3 '11 at 21:04

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
When I compile your example, I get the expected output ("References from section 1.1", "References from section 1.2"). I'm using biblatex v1.6. –  lockstep Sep 2 '11 at 14:52
    
Thanks. I'm updating my install (the last TeXLive comes with biblatex 1.6). –  Mathieu Dubois Sep 2 '11 at 15:22
    
OK. This works now. The conclusion is that it is a bug from biblatex version 1.4. Thanks. –  Mathieu Dubois Sep 2 '11 at 15:49
add comment

Browse other questions tagged or ask your own question.