我正在尝试消除书中作者年份引用的歧义,这样如果作者不同但年份相同,则添加首字母,但没有这导致不必要地初始化具有相同姓氏的其他作者。
这是一个 MWE。
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}[force]{mwe.bib}
@book{Smith1984,
title = {Uneven Development: Nature, Capital, and the Production of Space},
author = {Smith, Neil},
year = {1984},
publisher = {Blackwell}
}
@article{Smith1992,
title = {Contours of a spatialized politics: Homeless vehicles and the production of geographical scale},
author = {Smith, Neil},
year = {1992},
journal = {Social Text},
pages = {54--81}
}
@article{Smith1992b,
title = {History and philosophy of geography: Real wars, theory wars},
author = {Smith, Neil},
year = {1992},
journal = {Progress in Human Geography},
volume = {16},
pages = {257--271}
}
@article{Smith2000a,
title = {Ngā tini āhuatanga o whakapapa kōrero},
author = {Smith, Takirirangi},
year = {2000},
journal = {Educational Philosophy and Theory},
volume = {32},
pages = {53--60},
}
@article{Smith2000b,
title = {Straying beyond the boundaries of belief: Māori epistemologies inside the Curriculum},
author = {Smith, Cherryl W.},
year = {2000},
journal = {Educational Philosophy and Theory},
volume = {32},
pages = {43--51}
}
\end{filecontents}
\usepackage[
style=ext-authoryear-comp
,sorting=nyt
,sortcites=true
,articlein=false
,uniquename=mininit
,dashed=false
]{biblatex}
\addbibresource{mwe.bib}
\begin{document}
\textcite{Smith2000a,Smith2000b}
\textcite{Smith1984,Smith1992,Smith1992b}
\printbibliography
\end{document}
这给出
即,通过添加首字母,CW 和 T Smith 可以正确消除歧义,但 N. Smith 添加了不必要的首字母,因为该作者的出版物都不与其他作者是同一年份。
我尝试过许多不同的组合uniquename
,uniquelist
唯一的其他结果似乎是将 CW Smith (2000) 和 T Smith (2000) 更改为 Smith (2000a) 和 Smith (2000b),这不符合我的出版商所偏爱的书目样式。我还发现,这种uniquenname=(min)init
设置会导致整个书目中作者不必要的歧义消除,即使他们出现在多作者作品中,但恰好与我的书目中的其他作者同名。
答案1
这确实需要一些新的选项uniquename
。这在 DEV 版本biblatex
(3.20) 和biber
(2.20) 中实现,目前您可以在 SourceForge 上获取这些版本。您需要的选项是uniquename=minyearinit
:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}[force]{mwe.bib}
@book{Smith1984,
title = {Uneven Development: Nature, Capital, and the Production of Space},
author = {Smith, Neil},
year = {1984},
publisher = {Blackwell}
}
@article{Smith1992,
title = {Contours of a spatialized politics: Homeless vehicles and the production of geographical scale},
author = {Smith, Neil},
year = {1992},
journal = {Social Text},
pages = {54--81}
}
@article{Smith1992b,
title = {History and philosophy of geography: Real wars, theory wars},
author = {Smith, Neil},
year = {1992},
journal = {Progress in Human Geography},
volume = {16},
pages = {257--271}
}
@article{Smith2000a,
title = {Ngā tini āhuatanga o whakapapa kōrero},
author = {Smith, Takirirangi},
year = {2000},
journal = {Educational Philosophy and Theory},
volume = {32},
pages = {53--60},
}
@article{Smith2000b,
title = {Straying beyond the boundaries of belief: Māori epistemologies inside the Curriculum},
author = {Smith, Cherryl W.},
year = {2000},
journal = {Educational Philosophy and Theory},
volume = {32},
pages = {43--51}
}
\end{filecontents}
\usepackage[
style=ext-authoryear-comp
,sorting=nyt
,sortcites=true
,articlein=false
,uniquename=minyearinit,
,dashed=false
]{biblatex}
\addbibresource{mwe.bib}
\begin{document}
\textcite{Smith2000a,Smith2000b}
\textcite{Smith1984,Smith1992,Smith1992b}
\printbibliography
\end{document}
这使: