2010-06-17 50 views
0

我正在編寫我的論文,並且正在使用KOMA-Script。該文件編譯得很好。我昨天偶然發現了memoir類,並且正在考慮嘗試,所以我在這裏試圖用這個類而不是KOMA-Script進行編譯。 第一次編譯是可以的。在第二彙編,該文件將不建pdfLaTeX +回憶錄類編譯錯誤

(./fourier/fourier.tex [98] 
! Undefined control sequence. 
<argument> ... C\protect \noexpand \protect \bond 
                \protect \noexpand \protec... 
l.1 \chapter 
      {Homogénéisation numérique par transformée de Fourier rapide} 
? 

它顯然沒有連接到超鏈接(順便說一句,我使用memhfixc),因爲我曾經評論這一個。這是我文檔的序言,有什麼想法?

%\documentclass[draft, 11pt, a4paper, chapterprefix]{scrreprt} 
\documentclass[draft, 11pt, a4paper]{memoir} 
\usepackage[authoryear, round]{natbib} 
\usepackage[french]{babel} 
\usepackage[latin1]{inputenc} 
\usepackage{pdfsync} 
\usepackage[version=3]{mhchem} 
\usepackage{pgf} 

\usepackage{microtype} 
\usepackage{txfonts} % Polices times 

\usepackage[notref, notcite]{showkeys} 

\usepackage{amsmath} 
\usepackage{amssymb} 
\usepackage[bvec]{sbmacros} 
\usepackage{micromechanics} 
\usepackage{pgfcad} 


%\usepackage[breaklinks=true]{hyperref} 
%\usepackage{memhfixc} % Pour assurer la compatibilité entre memoir et hyperref 
%\newcommand{\url}[1]{\texttt{#1}} 

% Options KOMA-Script 
% \addtokomafont{caption}{\small} 
% \pagestyle{headings} 

回答

1

我找到了答案,對於那些可能感興趣的人。我開始嚴重懷疑時,我意識到,當我用KOMA腳本scrbook類,而不是KOMA腳本scrreprt類...

我終於發現,mhchem包不知何故與衝突完全相同的問題發生那些包。由於我無論如何都沒有使用這個軟件包,所以我徹底清除了它,現在使用memoir,沒問題。