I am trying to use biblatex together with the scrllttr2 class. The following MWE
\documentclass{scrlttr2}
\usepackage[english]{babel}
\usepackage{filecontents}
\usepackage[backend=biber]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{A2012,
author = {Author, A},
title = {An interesting paper},
journal = {Journal},
year = {2012},
volume = {2},
pages = {70--76},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\begin{letter}{XXX
}
\opening{To whom it may concern,}
\cite{A2012}
\closing{Kind regards
}
\end{letter}
\printbibliography
\end{document}
fails, because the \printbibliography command triggers the use of \section, which is not defined for letter classes. I can make the file work by using \printbibliography[heading=none], but this also kills the default heading. What is the best way to make the code run while still getting the default (language-specific) heading?

titlesecpackage? – Bernard Mar 22 '15 at 11:00\defbibheading{letterbib}[\refname]{#1}or\defbibheading{letterbib}[\bibname]{#1}(the difference being the title: in English it is either "Bibliography" or "References") and use that via\printbibliography[heading=letterbib]. Where you can replace the part in{#1}by any formattingscrlttr2allows for. So you could go for\defbibheading{letterbib}[\refname]{\textbf{#1}}. – moewe Mar 22 '15 at 11:02titlesec!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! – Johannes_B Mar 22 '15 at 11:03titleseccomment? is that a generic comment against the use oftitlesecor just in this case? care to elaborate? – ArTourter Mar 22 '15 at 19:37titlesecis incompatible with KOMA and breaks several functionalities. When using, you get a huge warning in the log, but more and more users ignore warnings. – Johannes_B Mar 23 '15 at 07:19