Biblatex 正在文档顶部打印文件路径

Biblatex 正在文档顶部打印文件路径

在我一直像往常一样编写的文档中,我使用 biblatex 进行的每个引用的文件路径都会出现在文档顶部。我不知道为什么会发生这种情况,因为我所做的与平常没有什么不同。我甚至添加了\AtEveryBibitem{\clearfield{File}}清除它但没有用。bib 文件是从 Zotero 导出的。下面是结果的快照。我该如何删除它们?结果

梅威瑟:

\documentclass{article}

\usepackage{xpatch}
\usepackage[utf8]{inputenc}
\usepackage[maxcitenames=2,maxbibnames=99,url=false,isbn=false,doi=false,style=authoryear,giveninits=true,uniquelist=false,uniquename=false,backend=bibtex]{biblatex}
  \addbibresource{test.bib}
  \AtEveryBibitem{\clearfield{File}}
\usepackage{filecontents}

\begin{filecontents}{test.bib}
  @article{author1,
    Author = {Author1, N.},
    Date = {1981},
    File = {/Users/username/Zotero Library/zotero/storage/M3AB6QCB/1-s2.0-0012825281900039-main.pdf},
    Journaltitle = {Journal1},
    Shorttitle = {Title1},
    Title = {Journal1},
    Volume = {17}}

@article{author2,
    Author = {Author2, M.},
    Date = {1995},
    File = {/Users/username/Zotero Library/zotero/storage/6VK3AZ5E/1-s2.0-0895981195000125-main.pdf},
    Journaltitle = {Journal2},
    Title = {Title2},
    Urldate = {2017-06-28},
    Volume = {8}}

@article{author3,
    Author = {Author3, S.},
    Date = {2015-04},
    File = {/Users/username/Zotero Library/zotero/storage/TVKXVJSV/1-s2.0-S0895981115000152-main.pdf},
    Journaltitle = {Journal3},
    Shorttitle = {Title3},
    Title = {Title3},
    Urldate = {2018-02-15},
    Volume = {59}}
\end{filecontents}

\begin{document}

{
\centering\Large\bfseries

My title

}

\section{First}
\parencite{author1}

\textcite{author2}

\cite{author3}

\printbibliography

\end{document}

相关内容