Я пользовался 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}