命令 \cite 不起作用

命令 \cite 不起作用

我使用biblatex时没有遇到太多麻烦。但突然当我想使用时\cite,没有出现参考书目来源。这是一个 MWE:

 \documentclass[a4paper,openright,10pt]{book}
 \usepackage[utf8]{inputenc}
 \usepackage[spanish, es-tabla]{babel}
 \usepackage{setspace}
 \usepackage[backend=bibtex,style=chem-angew,citestyle=numeric-comp]{biblatex}
 \addbibresource{biblio} 
\usepackage{csquotes}
\usepackage{titlesec}
 \usepackage{tocloft}
  \begin{document}
 \cite{debabrata_bhadra_synthesis_2011} % this reference actually does EXIST
  \end{document}

然后我复制参考:

   @article{debabrata_bhadra_synthesis_2011,
title = {Synthesis of {PVDF}/{BiFeO}3 Nanocomposite and Observation of Enhanced Electrical Conductivity and Low-Loss Dielectric Permittivity at Percolation Threshold},
volume = {50},
doi = {10.1002/polb.23041},
pages = {572--579},
journaltitle = {{JOURNAL} {OF} {POLYMER} {SCIENCE} {PART} B: {POLYMER} {PHYSICS}},
shortjournal = {J. Polym. Sci., Part B: Polym. Phys.},
author = {{Debabrata Bhadra} and {Md. G. Masud} and {S. Sarkar} and {J. Sannigrahi} and {S. K. De} and {B. K. Chaudhuri}},
date = {2011-11-21},
file = {PVDF  BiFeO3 intro OK.pdf:C\:\\Users\\L-COM\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\wvijlgbz.default\\zotero\\storage\\I7SAEGPC\\PVDF  BiFeO3 intro OK.pdf:application/pdf}
} 

我参考书目中的所有参考资料都发生了这种情况。错误报告如下:

  Data encoding is 'utf8'.
 No file tesis.bbl.
 Font shape `OT1/cmss/m/it' in size <10> not available(Font) Font shape            `OT1/cmss/m/sl' tried instead
   Overfull \hbox (15.0pt too wide) in paragraph
    Citation 'debabrata_bhadra_synthesis_2011' on page 3 undefined
Overfull \hbox (15.0pt too wide) in paragraph
Underfull \vbox (badness 1275) has occurred while \output is active []
Overfull \hbox (15.0pt too wide) in paragraph
  Overfull \hbox (129.53575pt too wide) in paragraph
`h' float specifier changed to `ht'.
  Overfull \hbox (15.0pt too wide) in paragraph
   Overfull \hbox (15.0pt too wide) in paragraph
    Overfull \hbox (15.0pt too wide) in paragraph
    Underfull \hbox (badness 10000) in paragraph
    Empty bibliography
    There were undefined references.
   Please (re)run BibTeX on the file(s):(biblatex) tesis(biblatex) and rerun           LaTeX afterwards.

太感谢了!

答案1

一些建议:

  • \printbibliography添加应打印参考书目的说明

  • 改成\addbibresource{biblio}\addbibresource{biblio.bib}

  • author删除和journaltitle字段中的内部花括号

  • 确保再运行 BibTeX 和 LaTeX 两次。

经过这些更改后,单项书目应如下所示:

在此处输入图片描述

\RequirePackage{filecontents}
\begin{filecontents}{biblio.bib}
@article{debabrata_bhadra_synthesis_2011,
title = {Synthesis of {PVDF}/{BiFeO}3 Nanocomposite and Observation of Enhanced Electrical Conductivity and Low-Loss Dielectric Permittivity at Percolation Threshold},
volume = {50},
doi = {10.1002/polb.23041},
pages = {572--579},
journaltitle = {JOURNAL OF POLYMER SCIENCE PART B: POLYMER PHYSICS},
shortjournal = {J. Polym. Sci., Part B: Polym. Phys.},
author = {Debabrata Bhadra and Md. G. Masud and S. Sarkar and J. Sannigrahi and S. K. De and B. K. Chaudhuri},
date = {2011-11-21},
file = {PVDF  BiFeO3 intro OK.pdf:C\:\\Users\\L-COM\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\wvijlgbz.default\\zotero\\storage\\I7SAEGPC\\PVDF  BiFeO3 intro OK.pdf:application/pdf},
}
\end{filecontents}

\documentclass[a4paper,openright,10pt]{book}
 \usepackage[utf8]{inputenc}
 \usepackage[T1]{fontenc}
 \usepackage[spanish, es-tabla]{babel}
 \usepackage{setspace}
 \usepackage[backend=bibtex,style=chem-angew,citestyle=numeric-comp]{biblatex}
 \addbibresource{biblio.bib} 
 \usepackage{csquotes}
 \usepackage{titlesec}
 \usepackage{tocloft}

\begin{document}
\cite{debabrata_bhadra_synthesis_2011} % this reference actually does EXIST
\printbibliography
\end{document}

相关内容