大多数引文在 biblatex 和 biber 后端中不可见并标记为

大多数引文在 biblatex 和 biber 后端中不可见并标记为

我注意到大多数引用都不可见,并在后端标记为 [0] biblatex。MWEbiber如下所示:

\documentclass{scrreprt}
\usepackage[backend=biber,refsection=section,defernumbers=true]{biblatex}
\addbibresource{references.bib}
\usepackage{hyperref}

\begin{document}
\tableofcontents

\chapter{Chapter 1}
% sentences are omitted to keep the code short
Daily living \cite{activities2017wiki}.
Systems \cite{muramatsu2011japan}.

\chapter{Chapter 2}
Dynamic Movement Primitives \cite{ijspeert2003learning}.
Calibration \cite{umeyama1991least} to align the frames.

\section{Section 1}
The controller can be \cite{ijspeert2013dynamical}.

\clearpage
\printbibliography[heading=bibintoc,title={All References}]

\clearpage
\section*{\Huge Category Wise}
\addcontentsline{toc}{chapter}{Category Wise}
\nocite{*}
\printbibliography[heading=subbibliography,resetnumbers=true,keyword={journal},title={Journal Only}]
\printbibliography[heading=subbibliography,resetnumbers=true,keyword={conference},title={Conference Only}]
\end{document}

references.bib文件显示如下-

@MISC{activities2017wiki,
  TITLE = {{Activities of Daily Living}},
  URL   = {https://en.wikipedia.org/wiki/Activities_of_daily_living},
  DATE  = {2017},
  NOTE  = {Accessed: 2017-07-30},
}

@ARTICLE{muramatsu2011japan,
  AUTHOR       = {Muramatsu, Naoko and Akiyama, Hiroko},
  TITLE        = {{Japan: super-aging society preparing for the future}},
  JOURNALTITLE = {The Gerontologist},
  PUBLISHER    = {Oxford University Press},
  DATE         = {2011},
  NUMBER       = {4},
  PAGES        = {425--432},
  VOLUME       = {51},
  KEYWORDS     = {journal},
}

@INPROCEEDINGS{ijspeert2003learning,
  AUTHOR    = {Ijspeert, AJ and Nakanishi, Jun and Schaal, Stefan},
  TITLE     = {{Learning control policies for movement imitation and movement recognition}},
  BOOKTITLE = {Neural information processing system},
  DATE      = {2003},
  PAGES     = {1547--1554},
  VOLUME    = {15},
  KEYWORDS  = {conference},
}

@ARTICLE{ijspeert2013dynamical,
  AUTHOR       = {Ijspeert, Auke Jan and Nakanishi, Jun and Hoffmann, Heiko and Pastor, Peter and Schaal, Stefan},
  TITLE        = {{Dynamical movement primitives: learning attractor models for motor behaviors}},
  JOURNALTITLE = {Neural computation},
  PUBLISHER    = {MIT Press},
  DATE         = {2013},
  NUMBER       = {2},
  PAGES        = {328--373},
  VOLUME       = {25},
  KEYWORDS     = {journal},
}

@ARTICLE{umeyama1991least,
  AUTHOR       = {Umeyama, Shinji},
  TITLE        = {{Least-squares estimation of transformation parameters between two point patterns}},
  JOURNALTITLE = {IEEE Transactions on pattern analysis and machine intelligence},
  PUBLISHER    = {IEEE},
  DATE         = {1991},
  NUMBER       = {4},
  PAGES        = {376--380},
  VOLUME       = {13},
  KEYWORDS     = {journal},
}

请参阅下面生成的 PDF-

在此处输入图片描述

我们可以注意到以下问题-

  1. 几乎所有(1 条除外)引用在所有章节中都标记为 [0]。
  2. 大多数引文在“所有参考文献”中不可见

编译时,我在终端中看到以下消息-

pdfTeX warning (dest): name{cite.0@ijspeert2003learning} has been referenced bu
t does not exist, replaced by a fixed one

pdfTeX warning (dest): name{cite.0@muramatsu2011japan} has been referenced but 
does not exist, replaced by a fixed one

pdfTeX warning (dest): name{cite.0@activities2017wiki} has been referenced but 
does not exist, replaced by a fixed one

我正在使用 TeX Live 2020。有什么解决方法吗?

答案1

您的 MWE 包含选项

refsection=section,

这意味着文档中对\section(或)的每次调用都会启动一个新的。就引用和参考书目而言,它们构成了文档中完全独立的部分。 一个文档中引用和参考书目中出现的内容不必出现在另一个文档的参考书目中。\section*refsectionrefsectionrefsectionrefsection

在您的文档中,该设置基本上减少到

\chapter{Chapter 1}
Daily living \cite{activities2017wiki}.
Systems \cite{muramatsu2011japan}.

\chapter{Chapter 2}
Dynamic Movement Primitives \cite{ijspeert2003learning}.
Calibration \cite{umeyama1991least} to align the frames.

%---------------------------------------------------
% new refsection
\newrefsection
\section{Section 1}
The controller can be \cite{ijspeert2013dynamical}.

\clearpage
\printbibliography[heading=bibintoc,title={All References}]

前半部分的引文与后半部分的引文完全无关。事实上,前半部分的引文没有参考书目,在这个设置 ( defernumbers=true,) 中,这意味着它们甚至没有编号(它们最终为 [0])。它只ijspeert2013dynamical获得一个编号,因为它有一个相应的参考书目条目。

在您的 MWE 设置中,您似乎不想要自动refsection=section,。您可以\newrefsection根据需要手动发出。类似以下内容似乎更合适

\documentclass{scrreprt}
\usepackage[backend=biber,defernumbers=true]{biblatex}
\usepackage{hyperref}

\begin{filecontents}{\jobname.bib}
@MISC{activities2017wiki,
  TITLE   = {Activities of Daily Living},
  URL     = {https://en.wikipedia.org/wiki/Activities_of_daily_living},
  DATE    = {2017},
  urldate = {2017-07-30},
}
@ARTICLE{muramatsu2011japan,
  AUTHOR       = {Muramatsu, Naoko and Akiyama, Hiroko},
  TITLE        = {Japan: Super-aging Society Preparing for the Future},
  JOURNALTITLE = {The Gerontologist},
  PUBLISHER    = {Oxford University Press},
  DATE         = {2011},
  NUMBER       = {4},
  PAGES        = {425--432},
  VOLUME       = {51},
}
@INPROCEEDINGS{ijspeert2003learning,
  AUTHOR    = {Ijspeert, A. J. and Nakanishi, Jun and Schaal, Stefan},
  TITLE     = {Learning Control Policies for Movement Imitation
               and Movement Recognition},
  BOOKTITLE = {Neural information processing system},
  DATE      = {2003},
  PAGES     = {1547--1554},
  VOLUME    = {15},
}
@ARTICLE{ijspeert2013dynamical,
  AUTHOR       = {Ijspeert, Auke Jan and Nakanishi, Jun and Hoffmann, Heiko
                  and Pastor, Peter and Schaal, Stefan},
  TITLE        = {Dynamical Movement Primitives:
                  Learning Attractor Models for Motor Behaviors},
  JOURNALTITLE = {Neural computation},
  PUBLISHER    = {MIT Press},
  DATE         = {2013},
  NUMBER       = {2},
  PAGES        = {328--373},
  VOLUME       = {25},
}
@ARTICLE{umeyama1991least,
  AUTHOR       = {Umeyama, Shinji},
  TITLE        = {Least-squares Estimation of Transformation Parameters
                  Between Two Point Patterns},
  JOURNALTITLE = {IEEE Transactions on Pattern Analysis
                  and Machine Intelligence},
  DATE         = {1991},
  NUMBER       = {4},
  PAGES        = {376--380},
  VOLUME       = {13},
  KEYWORDS     = {journal},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\tableofcontents

\chapter{Chapter 1}
Daily living \cite{activities2017wiki}.
Systems \cite{muramatsu2011japan}.

\chapter{Chapter 2}
Dynamic Movement Primitives \cite{ijspeert2003learning}.
Calibration \cite{umeyama1991least} to align the frames.

\section{Section 1}
The controller can be \cite{ijspeert2013dynamical}.

\printbibliography[heading=bibintoc, title={All References}]

\newrefsection % or maybe not?
\addchap{Category Wise}
\nocite{*}
\printbibliography[heading=subbibliography, resetnumbers=true,
                   type=article, title={Journal Only}]
\printbibliography[heading=subbibliography, resetnumbers=true,
                   type=inproceedings, title={Conference Only}]
\end{document}

完整的参考书目,包含五条内容

type请注意我们如何通过而不是 来过滤参考书目keyword

相关内容