为什么 biblatex-chicago 按期刊名称而不是标题对没有作者的文章进行排序?

为什么 biblatex-chicago 按期刊名称而不是标题对没有作者的文章进行排序?

根据 的文档biblatex-chicago (notes),没有字段的文章应按 字母顺序在参考书目中author排序,除非 journaltitle 的子类型为。但是,biblatex-chicago 似乎将所有匿名文章按 排序,即使没有子类型也是如此。这是一个错误吗?如果是,如何解决它?titlemagazinejournaltitle

示例——请注意排序顺序:

在此处输入图片描述

\RequirePackage{filecontents}
\begin{filecontents}{test.bib}
@article{1885,
    journaltitle = {Johns Hopkins University Circulars},
    pages = {15-21},
    title = {Preliminary Register of Officers and Students},
    volume = {5},
    year = {1885}}    
@article{1892d,
    journaltitle = {Nation},
    pages = {238},
    title = {Books of the Week},
    volume = {54},
    year = {1892}}
\end{filecontents}

\documentclass{article}    
\usepackage[notes]{biblatex-chicago} % load 'notes & bibliography' style
\addbibresource{test.bib}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

答案1

排序模板定义chicago-notex.cbx

\DeclareSortingTemplate{cms}{% Updated for biblatex > 3.7
  \sort{
    \field{presort}
  }
  \sort[final]{
    \field{sortkey}
  }
  \sort{
    \field{sortname}
    \field{author}
    \field{namea}
    \field{editor}
    \field{nameb}
    \field{translator}
    \field{namec}
    \field{sorttitle}
    \field{journaltitle}
    \field{organization}
    \field{title}
  }
  \sort{
    \field{sorttitle}
    \field{title}
  }
  \sort{
    \field{sortyear}
    \field{year}
  }
  \sort{
    \field[padside=left,padwidth=4,padchar=0]{volume}
    \literal{0000}
  }
}

你应该能清楚的看到这个问题。

根据您的需要重新定义它。我交换了titlejournaltitle

\begin{filecontents}{\jobname.bib}
@article{1885,
    journaltitle = {Johns Hopkins University Circulars},
    pages = {15-21},
    title = {Preliminary Register of Officers and Students},
    volume = {5},
    year = {1885}}    
@article{1890,
    journaltitle = {Xohns Hopkins University Circulars},
    pages = {15-21},
    title = {Preliminary Register of Officers and Students},
    volume = {5},
    year = {1890}}    
@article{1892d,
    journaltitle = {Nation},
    pages = {238},
    title = {Books of the Week},
    volume = {54},
    year = {1892}}
\end{filecontents}

\documentclass{article}    
\usepackage[notes]{biblatex-chicago} % load 'notes & bibliography' style
\addbibresource{\jobname.bib}

\DeclareSortingTemplate{cms}{% Updated for biblatex > 3.7
  \sort{
    \field{presort}
  }
  \sort[final]{
    \field{sortkey}
  }
  \sort{
    \field{sortname}
    \field{author}
    \field{namea}
    \field{editor}
    \field{nameb}
    \field{translator}
    \field{namec}
    \field{sorttitle}
    \field{title}
    \field{organization}
    \field{journaltitle}
  }
  \sort{
    \field{sorttitle}
    \field{title}
  }
  \sort{
    \field{sortyear}
    \field{year}
  }
  \sort{
    \field[padside=left,padwidth=4,padchar=0]{volume}
    \literal{0000}
  }
}

\begin{document}
\nocite{*}
\printbibliography
\end{document}

在此处输入图片描述

相关内容