
の参考文献に問題がありますclassicthesis
。私の main.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}
私の参考文献.bib:
@manual{label,
author= {myauth},
editor= {myedit},
title= {mytitle},
date= {2011}
}
最後にエラー:
! LaTeX Error: Command \bibhang already defined.
Or name \end... illegal, see p.192 of the manual.
[...]
l.637 \newlength{\bibhang}
?
おそらく、 ですでに定義されているものがありますmyclassicthesis-preamble
が、それが何であるかはわかりません。
私は Windows 7 x64 で TeXworks を使用しています。
答え1
ファイルはmyclassicthesis-preamble.sty
をロードしますnatbib
。 の機能をまったく使用しない場合はnatbib
、ファイルを開いて、行をコメントアウトまたは削除します。
\PassOptionsToPackage{square,numbers}{natbib}
\RequirePackage{natbib} % NB: LyX likes to set natbib too, let's avoid clashes