2

我正在尝试在 IPython 中使用引用。我有一些问题。

我的笔记本有一个降价单元格,

<cite data-cite="debreu_theory_1959">(Debreu, 1959)</cite>

我的模板如下所示:

((*- extends 'article.tplx' -*))

((* block bibliography *))
\bibliographystyle{unsrt}
\bibliography{bibliography}
((* endblock bibliography *))

我的参考书目有这个部分

@book{debreu_theory_1959,
  address = {New Haven, {CT}},
  title = {Theory of value: An axiomatic analysis of economic equilibrium},
  shorttitle = {Theory of value},
  url = {http://books.google.com/books?hl=en\&lr=\&id=QkX10epC46cC\&oi=fnd\&pg=PA1\&dq=debreau+theory+of+value\&ots=9DNz2653qg\&sig=fKS1CYQ6ZFmXIUmOgDq3DRLPEmQ},
  timestamp = {2014-04-17 14:32:20},
  number = {17},
  urldate = {2014-04-17},
  publisher = {Yale University Press},
  author = {Debreu, Gerard},
  year = {1959},
  file = {Snapshot:/home/haldane/.mozilla/firefox/8qzu92vh.default/zotero/storage/CIEI6RPS/books.html:text/html}
}

我的命令行调用是

ipython3 nbconvert --to pdf bibliography.ipynb --template bibliography

pdf已创建,但它包含的只是

[?]

是的,bibliography.ipynb、bibliography.tplx 和 bibliography.bib 都在同一个文件夹中。

4

0 回答 0