空书目 - biber Texlive 2017

空书目 - biber Texlive 2017

在 TexMaker 中使用 biber 运行 pdfLatex 时,终端返回empty bibliography。今天有人帮我解决它使用 beamer,但现在似乎有些问题report document。为了完整起见,我进行编译的方式是 BibTex-->pdfLatex-->BibTex-->pdfLatex。下面有一个 MWE,后面是 Texmaker 配置的图像。此外,当运行 bibtex 时,终端会返回

    INFO - This is Biber 2.7 INFO - Logfile is 'prueba.blg' INFO - Reading 
'prueba.bcf' INFO - Found 0 citekeys in bib section 0 WARN - The file 
'prueba.bcf' does not contain any citations! INFO - Writing 'prueba.bbl' 
with encoding 'UTF-8' INFO - Output to prueba.bbl INFO - WARNINGS: 1

由于某种原因,.bcf文件也没有被生成。

我看过其他帖子,但不确定这是否是同一个问题。欢迎任何帮助。

\documentclass[12pt,twoside]{report}
\usepackage[headheight=18pt,a4paper, width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm, headsep=18pt]{geometry}  
\usepackage[spanish,es-noquoting]{babel}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage{csquotes} %"para citar bien"
%\usepackage[numbers, super]{natbib} %problems if uncomment
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{hall2012glioxal,
  Title                    = {Activation of benznidazole by trypanosomal type I nitroreductases results in glyoxal formation},
  Author                   = {Hall, Belinda S and Wilkinson, Shane R},
  Year                     = {2012},
  Number                   = {1},
  Pages                    = {115--123},
  Volume                   = {56},

  Journal                  = {Antimicrobial agents and chemotherapy},
  Publisher                = {Am Soc Microbiol}
}
\end{filecontents}
\usepackage[style=verbose,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
%\addbibresource{bibtex.bib}

\begin{document}

\printbibliography

\end{document}

纺织机械

答案1

请参阅以下 MWE。您未在代码中引用至少一个或多个 bib 条目。添加后

Add \nocite{*} to call all bib entrys or cite at last one like~\cite{hall2012glioxal}!
%   ^^^^^^^^^^                                                 ^^^^^^^^^^^^^^^^^^^^^^ 

您将获得以下编译MWE:

\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{hall2012glioxal,
  Title                    = {Activation of benznidazole by trypanosomal type I nitroreductases results in glyoxal formation},
  Author                   = {Hall, Belinda S and Wilkinson, Shane R},
  Year                     = {2012},
  Number                   = {1},
  Pages                    = {115--123},
  Volume                   = {56},

  Journal                  = {Antimicrobial agents and chemotherapy},
  Publisher                = {Am Soc Microbiol}
}
\end{filecontents}


\documentclass[12pt,twoside]{report}
\usepackage[headheight=18pt,a4paper, width=150mm, top=25mm, bottom=25mm, bindingoffset=6mm, headsep=18pt]{geometry}  
\usepackage[spanish,es-noquoting]{babel}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc} 
\usepackage{csquotes} %"para citar bien"
%\usepackage[numbers, super]{natbib} %problems if uncomment

\usepackage[style=verbose,backend=biber]{biblatex}
\addbibresource{\jobname.bib}


\begin{document}

Add \nocite{*} to call all bib entrys or cite at last one like~\cite{hall2012glioxal}!
\printbibliography

\end{document}

backend=biber可以选择建立参考书目...biblatexbiber

最终得到的参考书目如下:

由此产生的书目

如果您想使用natbibwith biblatex,只需使用natbib类似以下选项biblatex

\usepackage[%
  style=verbose,
  backend=biber,
  natbib
]{biblatex}

要使用数字样式,请将调用更改biblatex为:

\usepackage[%
% style=verbose,
  style=numeric,
  backend=biber,
  natbib=true
]{biblatex}

结果如下:

产生的围兜

要使用上标,我必须查看文档,我从未在这里使用过上标......

相关内容