使用 koma-moderncv 时遇到问题

使用 koma-moderncv 时遇到问题

我在写简历时遇到了一些麻烦koma-moderncv包。我正在运行 MikTex 2.9 和 TexnicCenter RC 1。我已通过 MikTex 附带的包管理器安装了该包。完成此操作后,我下载并打开了以下位置提供的示例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.

结果似乎是我没有得到正确的页码。我正在运行,,,pdflatex。在步骤中我得到了错误,和bibtexpdflatexpdflatexbibtexI 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

相关内容