自更新至 TL2012 以来,biblatex 中的 \refsegment 已损坏

自更新至 TL2012 以来,biblatex 中的 \refsegment 已损坏

我正在写论文,并使用biblatex后端biber创建每章的参考书目。我最近更新到了 TL2012,从那时起,参考文献refsegments就失效了,我一直收到 Latex 警告:undefined 'refsegment:1'warning从那时起。

以下是 MWE:

\documentclass[a4paper,11pt,twoside]{book}

\usepackage[sorting = none, style=numeric]{biblatex}


\defbibheading{bibintoc}{%
  \section*{References for Chapter \ref{refsegment:\therefsegment}}}

\addbibresource{biblio.bib}

\begin{document}
\mainmatter
\chapter{Chapter One}
\begin{refsegment}
\cite{Crabtree:2007vn},\cite{Nault:2005ys}
\cite{Alexeev:1996dq}
\end{refsegment}
\chapter{Chapter Two}
\begin{refsegment}
\cite{Sze:2007vn},\cite{Nault:2005ys}
\end{refsegment}

\backmatter

\printbibheading
\bibbysegment[heading=bibintoc]

\end{document}

更改refsegmentrefsection确实解决了问题,但我想坚持使用该refsgement环境,因为它应该并且以前确实有效;而且我还refsection独立使用该环境来添加未编号介绍的参考书目。

biblio.bib以下是MWE 中使用的文件内容:

@techreport{Nault:2005ys,
    Author = {Nault, R. M.},
    Date-Added = {2012-07-18 14:44:40 +0000},
    Date-Modified = {2012-07-18 14:45:21 +0000},
    Institution = {Argon National Laboratory},
    Title = {Report on the basic energy sciences workshop on solar energy utilization},
    Year = {2005}}

@article{Crabtree:2007vn,
    Author = {Crabtree, G. W. and Lewis, N. S.},
    Date-Added = {2012-07-18 14:36:51 +0000},
    Date-Modified = {2012-07-19 15:42:49 +0000},
    Journal = {Physics Today},
    Number = {3},
    Pages = {37},
    Title = {Solar energy conversion},
    Volume = {60},
    Year = {2007}
    }

@article{Alexeev:1996dq,
    Abstract = {{The thermodynamic boundary of excess liquid phase formation during
   molecular beam epitaxy of ternary InGaAs and AlGaAs compounds is
   calculated. The critical As, flux corresponding to the liquid phase
   appearance exhibits a non-monotonic behavior with temperature. The
   strain arising from the mismatch between the lattice constants of the
   substrate and the epitaxial layer significantly influences the boundary
   of the excess liquid formation. For the AlGaAs ternary compounds, the
   temperature gap where the liquid phase is not formed even at the
   absence of the incident As, flux is predicted.}},
    Address = {{PO BOX 211, 1000 AE AMSTERDAM, NETHERLANDS}},
    Affiliation = {{CTR ADV TECHNOL,ST PETERSBURG 198103,RUSSIA.}},
    Author = {Alexeev, AN and Karpov, SY},
    Date-Added = {2011-05-24 16:20:07 +0200},
    Date-Modified = {2012-07-23 08:40:57 +0000},
    Doc-Delivery-Number = {{UL940}},
    Issn = {{0022-0248}},
    Journal = {{JOURNAL OF CRYSTAL GROWTH}},
    Journal-Iso = {{J. Cryst. Growth}},
    Keywords-Plus = {{THERMODYNAMIC ANALYSIS; SEGREGATION; GA1-XALXAS}},
    Language = {{English}},
    Number = {{1-2}},
    Number-Of-Cited-References = {{15}},
    Pages = {15},
    Publisher = {{ELSEVIER SCIENCE BV}},
    Subject-Category = {{Crystallography}},
    Times-Cited = {{7}},
    Title = {{Conditions of excess liquid phase formation during molecular beam epitaxy of III-V ternary compounds}},
    Type = {{Article}},
    Unique-Id = {{ISI:A1996UL94000003}},
    Volume = {{162}},
    Year = {{1996}}}

@book{Sze:2007vn,
    Author = {Sze, S.M. and Ng, K.K.},
    Date-Added = {2012-07-04 15:06:57 +0000},
    Date-Modified = {2012-07-05 13:12:17 +0000},
    Publisher = {Wiley-Interscience},
    Title = {Physics of Semiconductor Devices},
    Year = {2007}}

答案1

使用参考部分的新排序功能biber。因此,为了避免多次定义的标签,参考段标签现在包括\therefsection。使用旧标签格式的问题是已报告并固定在biblatex 2.2

只需将您的引用更改为:

\ref{refsegment:\therefsection\therefsegment}

相关内容