重置具有相同条目的多个参考书目中的数字 biblatex

重置具有相同条目的多个参考书目中的数字 biblatex

我的文档需要三个参考书目。一个包含文章,一个包含书籍,最后一个包含之前参考书目中的所有条目。样式必须是,numeric并且每个参考书目都应以 开头[1]。我的问题是整个参考书目的编号重复了前两个的枚举,重复数字而不是连续枚举。

梅威瑟:

\begin{filecontents}{\jobname.bib}
@article{ACohesion,
  author = {F. William Lawvere},
  title = {Axiomatic Cohesion},
  journal = {Theory and Applications of Categories},
  year = {2007},
  volume = {19},
  number = {3},
  pages = {41-49},
  keywords={Lawvere}
}

@article{InternalChoice,
  author = {F. William Lawvere and Matías Menni},
  title = {Internal Choice Holds in the Discrete Part of any Cohesive Topos Stisfying Stable Connected Codiscretness},
  journal = {Theory and Applications of Categories},
  year = {2015},
  volume = {30},
  number = {26},
  pages = {909-932},
  keywords={Lawvere}
}

@article{Remarks,
  author = {Peter T. Johnstone},
  title = {Remarks on Punctual Local Connectedness},
  journal = {Theory and Applications of Categories},
  year = {2011},
  volume = {25},
  number = {3},
  pages = {51-63}
}

@book{SetsM,
  author = {F. William Lawvere and Robert Rosebrugh},
  title = {Sets for Mathematics},
  publisher = {Cambridge University Press},
  year = {2003},
  keywords = {Lawvere}
}

@book{SGL,
  author = {Saunders {Mac~Lane} and Ieke Moerdijk},
  title = {Sheaves in Geometry and Logic},
  publisher = {Springer},
  address = {},
  year = {1992}
}

@book{GaloisT,
  author = {Francis Borceux and George Janelidze},
  title = {Galois Theories},
  publisher = {Cambridge University Press},
  address = {Cambridge, UK},
  year = {2001}
}
\end{filecontents}

\documentclass{article}

\usepackage{csquotes}
\usepackage[backend=biber,style=numeric,defernumbers,giveninits]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography[type=article, title=Articles]
\printbibliography[type=book, title=Books,resetnumbers]
\printbibliography[resetnumbers]
\end{document}

输出显示了“参考”部分中不需要的重复(在这个例子中,我希望枚举从到[1][6]在此处输入图片描述

答案1

如果您希望能够引用文档中的条目,我认为没有好的方法可以做到这一点。biblatex每个条目确实需要一个唯一的编号。另外,如果您只是重新标记不同参考书目中的条目,您的读者将不知道哪个数字指的是哪个条目。

如果您使用 s,则有多种方法可以为同一条目获取独立且单独的标签refsection。但由于s 是完全独立的,因此如果您想让它们出现在多个列表中,则refsection必须在多个 s 中引用条目。refsection

如果您不需要引用而只想计算参考书目中的条目,那么您可以biblatex完全避免使用 - 生成的引用编号,而只需根据 来编制参考书目enumarate

\documentclass{article}

\usepackage{csquotes}
\usepackage[backend=biber,style=numeric,defernumbers,giveninits]{biblatex}

\defbibenvironment{bibliography}
  {\enumerate}
  {\endenumerate}
  {\item}

\begin{filecontents}{\jobname.bib}
@article{ACohesion,
  author = {F. William Lawvere},
  title = {Axiomatic Cohesion},
  journal = {Theory and Applications of Categories},
  year = {2007},
  volume = {19},
  number = {3},
  pages = {41-49},
  keywords={Lawvere}
}
@article{InternalChoice,
  author = {F. William Lawvere and Matías Menni},
  title = {Internal Choice Holds in the Discrete Part
           of any Cohesive Topos Stisfying Stable Connected Codiscretness},
  journal = {Theory and Applications of Categories},
  year = {2015},
  volume = {30},
  number = {26},
  pages = {909-932},
  keywords={Lawvere}
}
@article{Remarks,
  author = {Peter T. Johnstone},
  title = {Remarks on Punctual Local Connectedness},
  journal = {Theory and Applications of Categories},
  year = {2011},
  volume = {25},
  number = {3},
  pages = {51-63}
}
@book{SetsM,
  author = {F. William Lawvere and Robert Rosebrugh},
  title = {Sets for Mathematics},
  publisher = {Cambridge University Press},
  year = {2003},
  keywords = {Lawvere}
}
@book{SGL,
  author = {Saunders {Mac~Lane} and Ieke Moerdijk},
  title = {Sheaves in Geometry and Logic},
  publisher = {Springer},
  address = {},
  year = {1992}
}
@book{GaloisT,
  author = {Francis Borceux and George Janelidze},
  title = {Galois Theories},
  publisher = {Cambridge University Press},
  address = {Cambridge, UK},
  year = {2001}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
\nocite{*}
\printbibliography[type=article, title=Articles]
\printbibliography[type=book, title=Books]
\printbibliography
\end{document}

编号的参考书目。

相关内容