命令 \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}

相關內容