2

我们正在尝试编写托管在https://github.com/guilhermejacob/context/上的书籍出版物

我尝试从我的中删除不同的条目book.bib,每次都会收到以下错误。该bookdown::tufte_html_book命令没有问题,尽管我的引文文件bookdown::pdf_book似乎没有问题,但对我来说只有死亡?book.bib

https://github.com/guilhermejacob/context/blob/master/book.bib

我用谷歌搜索,所有的 tex 问题都指向缺失author=year=title=标签之类的东西,而我的每个条目都有它们。

当我有一个空的 book.bib 文件时,我得到了同样的错误,所以文件夹中的其他内容必须配置不正确?但我不知道去哪里看,因为 natbib 似乎与 book.bib 有问题?我会很感激任何关于尝试什么的指示..谢谢

Latexmk, John Collins, 5 Sep. 2016. Version 4.48
! Package natbib Error: Bibliography not compatible with author-year citations.

Error: Failed to compile context.tex. See context.log for more info.
In addition: Warning messages:
1: running command '"C:\Users\AnthonyD\AppData\Local\Programs\MIKTEX~1.9\miktex\bin\latexmk.exe" -v' had status 1 
2: The LaTeX package latexmk was not correctly installed. 
3: running command '"C:\Users\AnthonyD\AppData\Local\Programs\MIKTEX~1.9\miktex\bin\latexmk.exe" -v' had status 1 
4: running command '"xelatex" -halt-on-error -interaction=batchmode "context.tex"' had status 1 
Execution halted
4

1 回答 1

0

我按照这里的建议删除了.aux文件。解决了这个问题。不知道为什么。

http://arhetoric.blogspot.com/2011/10/natlibs-usage-fixing-some-errors.html?showComment=1338381839988

于 2016-12-09T21:24:53.180 回答