biblatex sourcemap 无法分离自己的出版物

biblatex sourcemap 无法分离自己的出版物

我试图提供一份我自己的出版物的单独列表。为此,我尝试使用这个答案。但是,我无法让它工作。似乎匹配不起作用,并且没有出版物收到所需的关键字。由于我找不到任何调试消息,所以我陷入困境。

梅威瑟:

\documentclass{article}

\usepackage{filecontents}

\usepackage[style=alphabetic,backend=biber]{biblatex}
\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \step[fieldsource=author, match=Wienke, final]
      \step[fieldset=keywords, fieldvalue=ownpub]
    }
  }
}

\bibliography{test}

\begin{filecontents}{test.bib}
@inproceedings{Wienke2012,
 author = {Wienke, Johannes and Klotz, David and Wrede, Sebastian},
 bookpagination = {page},
 booktitle = {Multimodal Corpora: How Should Multimodal Corpora Deal with the Situation?},
 date = {2012},
 editor = {Edlund, Jens and Heylen, Dirk and Paggio, Patrizia},
 eventdate = {2012-05-22},
 eventtitle = {LREC Workshop on Multimodal Corpora for Machine Learning: How should multimodal corpora deal with the situation?},
 keywords = {data set;middleware},
 pages = {46--49},
 title = {A Framework for the Acquisition of Multimodal Human-Robot Interaction Data Sets with a Whole-System Perspective},
 url = {http://michaelkipp.de/publication/MultimodalCorpora2012-proceedings.pdf},
 venue = {Istanbul, Turkey}
}
@techreport{Volpe2000,
 author = {Volpe, Richard and Nesnas, Issa A. D. and Estlin, Tara and Mutz, Darren and Petras, Richard and Das, Hari},
 date = {2000},
 institution = {Jet Propulsion Laboratory, California Institute of Technology},
 location = {Pasadena, California},
 title = {{CLARAty}: Coupled Layer Architecture for Robotic Autonomy}
}
\end{filecontents}

\begin{document}
\nocite{*}

\printbibliography[keyword=ownpub,title={Own Publications}]{}
\printbibliography[notkeyword=ownpub]{}
\end{document}

我自己的出版物(Wienke)应该放在单独的列表中,但是这不起作用。 enter image description here

答案1

好的,我发现这是因为出版物中已经存在关键字,而地图的默认设置是不覆盖它们。这可以更改:

\map[overwrite=true]{
  \step[fieldsource=author, match=Wienke]
  \step[fieldset=keywords, fieldvalue=ownpub]
}

相关内容