使用 koma-modernncv 時遇到的問題

使用 koma-modernncv 時遇到的問題

我在使用以下方法撰寫履歷時遇到一些麻煩科馬現代包裹。我正在使用 TexnicCenter RC 1 運行 MikTex 2.9。執行此操作後,我下載並打開了提供的範例http://ctan.org/pkg/koma-moderncvclassic。除了我修改了 babel 和 csquotes 的選項之外,我什麼也沒碰。儘管如此,我在編譯時仍收到以下警告:

LaTeX Warning: Reference `lastpage' on page 1 undefined on input line 138.

[1


{C:/Users/john.doe/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}]

LaTeX Warning: Reference `lastpage' on page 2 undefined on input line 148.

[2]

LaTeX Warning: Empty bibliography on input line 151.

Package atveryend Info: Empty hook `BeforeClearDocument' on input line 154.
Package atveryend Info: Empty hook `AfterLastShipout' on input line 154.
(C:\Users\john.doe\Documents\Ansoegning\Skabelon\cvbasic.aux)
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 154.
Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 154.
Package rerunfilecheck Info: File `cvbasic.out' has not changed.
(rerunfilecheck)             Checksum: E64A0148F1EE05FA86DCDCCFFE737411;205.


LaTeX Warning: There were undefined references.


Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                cvbasic
(biblatex)                and rerun LaTeX afterwards.

結果似乎是我沒有得到正確的頁碼。我在跑步pdflatexbibtexpdflatexpdflatex。在這bibtex一步中我得到了錯誤I found no \citation commands---while reading...I found no \bibdata commands---while reading...並且I found no \bibstyle commands---while reading...

有沒有人遇到類似的問題以及解決方案是什麼?

答案1

仔細閱讀警告訊息非常重要。在你的情況下是

Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                cvbasic
(biblatex)                and rerun LaTeX afterwards.

biblatex這意味著您已經使用選項載入了套件backend=biber

所以你必須編譯:

(pdf)latex
biber
(pdf)latex
(pdf)latex

代替bibtex。如果您想編譯,則bibtex必須將選項變更backendbibtex.

相關內容