
Tenho um problema com a bibliografia em classicthesis
. Meu principal.tex:
\documentclass{scrreprt}
\usepackage[english]{babel}
\usepackage[babel]{csquotes}
\usepackage[style=numeric]{biblatex}
%Loaded here: microtype,graphicx,booktabs,caption,tabularx,hyperref,amsmath
\usepackage{myclassicthesis-preamble}
\usepackage{classicthesis}
\bibliography{references}
\begin{document}
Text
\end{document}
Minhas referências.bib:
@manual{label,
author= {myauth},
editor= {myedit},
title= {mytitle},
date= {2011}
}
Finalmente o erro:
! LaTeX Error: Command \bibhang already defined.
Or name \end... illegal, see p.192 of the manual.
[...]
l.637 \newlength{\bibhang}
?
Provavelmente já existe algo definido em myclassicthesis-preamble
, mas não sei o quê.
Eu uso o TeXworks no Windows 7 x64.
Responder1
O arquivo myclassicthesis-preamble.sty
é carregado natbib
; se você não for usar nenhum dos recursos do natbib
, abra o arquivo e comente ou exclua as linhas
\PassOptionsToPackage{square,numbers}{natbib}
\RequirePackage{natbib} % NB: LyX likes to set natbib too, let's avoid clashes