【发布时间】:2016-12-09 13:50:25
【问题描述】:
我们正在尝试编写一个在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
【问题讨论】: