添加引用列表和我自己的出版物

添加引用列表和我自己的出版物

我知道这已经发表过好几次了,但是我找到的解决方案对我来说不起作用,我甚至不知道为什么。我想先添加一份文中引用的出版物列表,然后添加一份我自己的出版物列表,这些出版物在文中被引用或没有被引用。以下是我到目前为止所做的:

第一个文件:

\documentclass[a4paper,11pt]{article}
\usepackage[backend=biber,style=numeric,refsection=section]{biblatex}
\addbibresource{bibliography.bib}
\include{doc1}
\include{doc2}
\end{document

文件1:

Here a wrote my citations \cite{citation1} and others \cite{citation2}
\printbibliography

文件2:

\section{My publications}
\printbibliography[{keyword={own}, title=none}\

我做错了什么?我总是收到一条错误消息,提示:未找到关键字

作为我的 bibliography.bib 文件的一个例子,这里有一个示例:

@article{mypub1,
  title={Title 2},
  author={Ruiz},
  journal={Applied Physics B},
  volume={1},
  number={1},
  pages={1},
  year={2014},
  publisher={Publisher},
  keyword= {own},
}

@article{mypub2,
  title={title2},
  author={Ruiz},
  journal={Physica Scripta},
  volume={2014},
  number={1},
  pages={1},
  year={2014},
  publisher={ublishing},
  keyword= {own},
}
@article{citation2,
  title={Title2},
  author={Author1},
  journal={Optics},
  volume={1},
  number={1},
  pages={1},
  year={2018},
  publisher={Publisher}
}


@article{citation1,
  title={Title2},
  author={Author1},
  journal={Optics},
  volume={1},
  number={1},
  pages={1},
  year={2018},
  publisher={Publisher}
}

答案1

关键字字段为keywords而不是keyword。此外,由于您将每个部分放在引用部分中,因此refsection=section它们会构建自己的单元,因此您必须将引用命令添加到第二部分才能看到某些内容。

\begin{filecontents}{testown.bib}
@article{mypub1,
  title={Title 2},
  author={Ruiz},
  journal={Applied Physics B},
  volume={1},
  number={1},
  pages={1},
  year={2014},
  publisher={Publisher},
  keywords= {own},
}

@article{mypub2,
  title={title2},
  author={Ruiz},
  journal={Physica Scripta},
  volume={2014},
  number={1},
  pages={1},
  year={2014},
  publisher={ublishing},
  keywords= {own},
}
@article{citation2,
  title={Title2},
  author={Author1},
  journal={Optics},
  volume={1},
  number={1},
  pages={1},
  year={2018},
  publisher={Publisher}
}


@article{citation1,
  title={Title2},
  author={Author1},
  journal={Optics},
  volume={1},
  number={1},
  pages={1},
  year={2018},
  publisher={Publisher}
}
\end{filecontents}
\documentclass[a4paper,11pt]{article}
\usepackage[backend=biber,style=numeric,refsection=section]{biblatex}
\addbibresource{testown.bib}
\begin{document}
Here a wrote my citations \cite{citation1} and others \cite{citation2}
\printbibliography
\section{My publications}
\nocite{*}
\printbibliography[keyword={own}, heading=none]
\end{document}

在此处输入图片描述

相关内容