我看到过去也有类似的问题,但其中没有一个对我有用。我正在使用 Texshop,我想在最后打印参考书目。我用 Bibdesk 创建了一个非常简单的参考书目,只有一个元素。代码非常简单
\documentclass{article}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{check.bib}
\begin{document}
ciao
\printbibliography
\end{document}
我也尝试将后端更改为 Biber,但没有任何变化。我收到以下错误消息:
This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
(./check.tex
LaTeX2e <2018-12-01>
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/article.cls
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/biblatex.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2019/texmf-dist/tex/generic/oberdiek/ifluatex.sty)
(/usr/local/texlive/2019/texmf-dist/tex/generic/oberdiek/ltxcmds.sty)
(/usr/local/texlive/2019/texmf-dist/tex/generic/oberdiek/ifpdf.sty))
(/usr/local/texlive/2019/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(/usr/local/texlive/2019/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))
(/usr/local/texlive/2019/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/local/texlive/2019/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/local/texlive/2019/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/url/url.sty)
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/blx-dm.def)
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/blx-bibtex.def
Package biblatex Warning: Using fall-back BibTeX(8) backend:
(biblatex) functionality may be reduced/unavailable.
) (/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/bbx/standard.bbx))
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx)
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/biblatex.cfg))
(/usr/local/texlive/2019/texmf-dist/tex/latex/biblatex/lbx/english.lbx)
(./check.aux)
No file check.bbl.
LaTeX Warning: Empty bibliography on input line 7.
[1{/usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./check.aux) )</usr/local/texlive/2019/texmf-dist/fonts/type1/public/amsfonts/
cm/cmr10.pfb>
Output written on check.pdf (1 page, 10912 bytes).
SyncTeX written on check.synctex.gz.
Transcript written on check.log.
有人知道如何解决这个问题吗?我提醒你,我正在使用 TexShop。参考书目在正确的文件夹中,我有最新版本的 Texshop。谢谢!!!!
我将在这里添加参考书目:
@article{10.2307/2291464,
ISSN = {01621459},
URL = {http://www.jstor.org/stable/2291464},
abstract = {I consider a standard specification of the Bayesian linear model and derive necessary and sufficient conditions for the variance of the case-deletion importance sampling weights to be finite. The conditions have an intuitive interpretation in terms of familiar frequentist measures of leverage and influence and are easy to verify. I present two real data examples in which the necessary conditions fail to hold for some observations and the corresponding importance sampling estimates are highly unreliable.},
author = {Mario Peruggia},
journal = {Journal of the American Statistical Association},
number = {437},
pages = {199--207},
publisher = {[American Statistical Association, Taylor & Francis, Ltd.]},
title = {On the Variability of Case-Deletion Importance Sampling Weights in the Bayesian Linear Model},
volume = {92},
year = {1997}
}
答案1
(评论太长,因此作为答案发布)
一旦我\cite
向您的测试文档添加合适的指令并再次通过 LaTeX、BibTeX 和 LaTeX 运行它(从 TeXshop 版本 4.44 开始,在运行 MacOS 10.15.5 “Catalina” 和 MacTeX2020 的 Mac 上),我就会得到以下输出:
\documentclass{article}
\begin{filecontents}[overwrite]{check.bib}
@article{10.2307/2291464,
ISSN = {01621459},
URL = {http://www.jstor.org/stable/2291464},
author = {Mario Peruggia},
journal = {Journal of the American Statistical Association},
number = {437},
pages = {199--207},
publisher = {[American Statistical Association, Taylor \& Francis, Ltd.]},
title = {On the Variability of Case-Deletion Importance Sampling Weights in the Bayesian Linear Model},
volume = {92},
year = {1997}
}
\end{filecontents}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{check.bib}
\usepackage{xurl}
\begin{document}
Ciao. \cite{10.2307/2291464}
\printbibliography
\end{document}