I'm trying to use biblatex to make sectioned bibliographies like here: Section bibliographies
However it doesn't seem to work over at ShareLaTeX. This works:
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{biblio} % the ref.bib file
\begin{document}
Hi there, Stackoverflowers\cite{patashnik_88}
\printbibliography
\end{document}
But when I add the \refsection etc it doesn't:
\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{biblio} % the ref.bib file
\begin{document}
\begin{refsection}
Hi there, Stackoverflowers\cite{patashnik_88}
\printbibliography[heading=subbibliography]
\end{refsection}
\printbibliography
\end{document}
This is the biblio.bib file:
@book{knuth79,
author = "Donald E. Knuth",
title = "Tex and Metafont, New Directions in Typesetting",
year = "1979",
publisher = "American Mathematical Society and Digital Press",
address = "Stanford"
}
@book{lamport94,
author = "Leslie Lamport",
title = "Latex: A Document Preparation System",
year = "1994",
edition = "Second",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@misc{patashnik_88,
author = "Oren Patashnik",
title = "{B}ib{T}e{X}ing. Documentation for General {B}ib{T}e{X} users",
year = "1988",
howpublished = "Electronic document accompanying BibTeX
distribution"
}
@techreport{rahtz89,
author = "Sebastian Rahtz",
title = "A Survey of {T}ex and graphics",
year = "1989",
institution = "Department of Electronics and Computer Science",
address = "University of Southampton, UK",
number = "CSTR 89-7"
}
This is what I get:

Why is the underscore acting up (even without the underscore no bibliography is outputted) and is this a ShareLaTeX issue or am I doing something wrong?
P.S. The example is 'borrowed' from here: ShareLaTeX and biblatex
refsectiona second.auxfile is created, called something likefilename1-blx.aux, and you have to runbibtexon this file, not onfilename.aux, which is the default. I don't know how one can tell ShareLaTeX to run BibTeX on a separate file though. – Torbjørn T. Nov 26 '13 at 13:07