排序问题 biblatex

排序问题 biblatex

我正在使用biblatex并添加资源文件

\addbibresource{some_refs.bib}

当两位作者在第 XX 和第 XXI 期一起出版时,我遇到了一个问题:在参考文献中,$XY14$ 排在 $XY90$ 之前

@book{XY90,
    author={X_name and Y_name},
    title={Some title 1},
    year={1990}
    }
        
@article{XY14,
    author={X_name and Y_name},
    title={Some title 2},
    year={2014}
    }

我怎样才能解决这个问题 ?

这是 MWE

在我的参考文献中,

@book{KS90,
        author={Kashiwara, Masaki and Schapira, Pierre},
        title={Sheaves on manifolds},
        year={1990},
        series={Grundlehren der Mathematischen Wissenschaften},
        volume={292},
        publisher={Springer-Verlag, Berlin},
        pages={x+512}
    }
    
    @book{KS96,
        author={Kashiwara, Masaki and Schapira, Pierre},
        title={Moderate and formal cohomology associated with constructible sheaves},
        year={1996},
        publisher={Citeseer}
    }

    @article{KS97,
        author={Kashiwara, Masaki and Schapira, Pierre},
        title={Integral transforms with exponential kernels and Laplace transform},
        year={1997},
        journal={Journal of the American Mathematical Society},
        volume={10},
        number={4},
        pages={939--972}
    }

    @article{KS14,
        author={Kashiwara, Masaki and Schapira, Pierre},
        title={Microlocal Euler classes and Hochschild homology},
        year={2014},
        journal={J. Inst. Math. Jussieu},
        volume={13},
        publisher={Cambridge University Press},
        pages={487--516}
    }

我的乳胶文件

\documentclass[12pt,leqno]{book}
\usepackage{amssymb,amsmath,amsthm}
\usepackage[backend=bibtex,style=alphabetic]{biblatex}

\addbibresource{some_file.bib}


\begin{document}
    
\cite{KS14}

\cite{KS96}

\cite{KS90}

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

\end{document}

我得到的输出KS14显示在KS90,,KS96KS97

答案1

默认情况下,style=alphabetic,对参考书目条目进行排序,sorting=anyt,主要按生成的标签进行排序。由于“KS14”位于“KS90”之前,因此如果按字母数字顺序排序,您将获得所看到的输出。

获得所需排序的一种方法是强制sorting=nyt。然后您的条目将按名称和(完整)年份排序。

\documentclass{article}
\usepackage[backend=bibtex,style=alphabetic,sorting=nyt]{biblatex}

\begin{filecontents}{\jobname.bib}
@book{KS90,
  author    = {Kashiwara, Masaki and Schapira, Pierre},
  title     = {Sheaves on manifolds},
  year      = {1990},
  series    = {Grundlehren der Mathematischen Wissenschaften},
  volume    = {292},
  publisher = {Springer-Verlag, Berlin},
  pages     = {x+512}
}
@book{KS96,
  author    = {Kashiwara, Masaki and Schapira, Pierre},
  title     = {Moderate and formal cohomology associated with constructible sheaves},
  year      = {1996},
  publisher = {Citeseer}
}
@article{KS97,
  author  = {Kashiwara, Masaki and Schapira, Pierre},
  title   = {Integral transforms with exponential kernels
             and {Laplace} transform},
  year    = {1997},
  journal = {Journal of the American Mathematical Society},
  volume  = {10},
  number  = {4},
  pages   = {939--972}
}
@article{KS14,
  author    = {Kashiwara, Masaki and Schapira, Pierre},
  title     = {Microlocal {Euler} classes and {Hochschild} homology},
  year      = {2014},
  journal   = {J. Inst. Math. Jussieu},
  volume    = {13},
  publisher = {Cambridge University Press},
  pages     = {487--516}
}
\end{filecontents}
\addbibresource{\jobname.bib}


\begin{document}
\autocite{KS14,KS96,KS90,KS97}
\printbibliography[heading=bibintoc,title={References}]
\end{document}

KS90,KS96,KS97,KS14

相关内容