\ref 自更新到 TL2012 以來 biblatex 中的分段已損壞

\ref 自更新到 TL2012 以來 biblatex 中的分段已損壞

我正在寫論文,並使用biblatex後端biber來創建每章的參考書目。我最近更新到 TL2012,從那時起,對 TL2012 的引用refsegments就崩潰了,undefined 'refsegment:1'warning從那時起我就收到了 Latex 警告。

這是一個 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}

相關內容