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 just managed to switch from using BibTeX to biblatex with the biber backend. My references now appear how I want. However I have two new issues.

1) How do I change "Bibliography" to references? The old \renewcommand{\bibname}{References} does nothing.

2) How do I make the Bibliography appear in my Table of Contents because it now doesn't when using \printbibliography as per biblatex. Is it just a case of doing the \addcontentsline{toc}{chapter}{References}? Or is there a more subtle method?

share|improve this question
    
There is an easy answer (see \defbibheading in the biblatex manual), but it depends on what sectional level your bibliography heading needs to be. Is it the equivalent of a chapter or section (or something else). –  jon Aug 14 '12 at 18:49
    
@jon Actually there are some predefined headings that use the correct (for the respective class) sectioning unit. –  lockstep Aug 14 '12 at 18:57
1  
@lockstep -- Indeed, but wouldn't you need to use references instead of bibliography in your \DefineBibliographyStrings if the class used was article (or the article option was used in memoir)? My comment was meant mainly to bring out whether the looked-for answer was expecting to put the bibliography entry at a specific level in the ToC (e.g., sometimes books have the bibliography listed as a 'sectional' division rather than as equivalent to a chapter). –  jon Aug 14 '12 at 19:15
    
@jon That's correct -- I was assuming that the OP, as he talked about his redefinition of \bibname not working, was using a class that features \bibname (and not \refname). –  lockstep Aug 14 '12 at 19:17
    
@lockstep -- Ah, point taken. I guess he is looking for a 'chapter'-level entry as well. (I was thinking about the answer too generally....) –  jon Aug 14 '12 at 19:23
show 2 more comments

2 Answers

up vote 21 down vote accepted

See sections 3.6.7, 3.8, and 4.9.2.1 of the biblatex manual. In the following example, I'm assuming that you a) use a class that features \bibname (i.e., one with the \chapter sectioning command) b) don't want to number your bibliography chapter.

\documentclass{report}

\usepackage{biblatex}

\DefineBibliographyStrings{english}{%
  bibliography = {References},
}

\usepackage{filecontents}

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

\addbibresource{\jobname.bib}

\begin{document}

\tableofcontents

\chapter{First}

Some text \autocite{A01}.

\printbibliography[heading=bibintoc]

\end{document}

enter image description here

share|improve this answer
    
Will give this a whirl chaps! Looks like it will solve my problem! Thanks very much! –  Alex Aug 14 '12 at 20:29
1  
For those who just want to include the bibliography in the ToC, the critical line here is \printbibliography[heading=bibintoc]. –  Cerran Mar 5 at 10:09
add comment

Though the problem is solved, here is my alternative solution for biblatex.

\printbibliography[heading=bibintoc,title={References}].

The title would override the section title.

Based on lockstep's codes, My solution would be

\documentclass{report}
\usepackage{biblatex}

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

\addbibresource{\jobname.bib}

\begin{document}
\tableofcontents
\chapter{First}

Some text \autocite{A01}.

\printbibliography[heading=bibintoc,title={References}]

\end{document}

enter image description here

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.