我正在使用作者-日期芝加哥风格来编制我的论文参考书目,一切都很好。
我只记得一个小细节:我的导师要求我修改合集条目,将卷编辑的名字放在标题之前。
现在,芝加哥起义风格在收藏中生成了以下条目:
怀亚特,尼古拉斯。1999 年。“乌加里特宗教:概述”。乌加里特研究手册,由 Wilfred GE Watson 和 Nicolas Wyatt 编辑,529–585。莱顿:Brill。
虽然我需要:
Wyatt, Nicolas。1999 年。“乌加里特的宗教:概述。”载于 Wilfred GE Watson 和 Nicolas Wyatt (eds)乌加里特研究手册,529–585。莱顿:太棒了。
有没有简单的方法可以做到这一点?或者您知道我可以使用的任何样式吗?
我正在使用 biber
这里是 MWE:
\documentclass{article}
\usepackage{filecontents} % for example
\begin{filecontents}{usermwe.bib}
@incollection{watson_religion_1999,
location = {{Leiden}},
title = {The {{Religion}} of {{Ugarit}}: An {{Overview}}},
isbn = {90-04-10988-9},
timestamp = {2016-10-05T21:11:58Z},
langid = {english},
booktitle = {Handbook of {{Ugaritic Studies}}},
publisher = {{Brill}},
author = {Wyatt, Nicolas},
editor = {Watson, Wilfred G. E. and Wyatt, Nicolas},
date = {1999},
pages = {529--585},
keywords = {handbook,Ugarit}
}
\end{filecontents}
% But note that the pages should be the complete page range.
\usepackage[authordate, backend=biber, maxcitenames=2,useprefix, doi=false, isbn=false]{biblatex-chicago}
\addbibresource{usermwe.bib}
\begin{document}
\cite{watson_religion_1999}
\printbibliography
\end{document}
答案1
不幸的是,我们需要修改驱动程序@incollection
,我们基本上只是移动两行
\usebibmacro{bybookauthor}%
\usebibmacro{editor+others}%
稍微修改一下\newunit
。
最终结果如下
\makeatletter
\DeclareBibliographyDriver{incollection}{%
\usebibmacro{bibindex}%
\usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
\ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
\ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
\ifboolexpr{%
test {\iffieldundef{crossref}}%
or
togl {cms@crossref}%
}%
{\ifboolexpr{%
test {\iffieldundef{xref}}%
or
togl {cms@crossref}%
}%
{\setunit{\addperiod\addspace}% Moved here.
\usebibmacro{bybookauthor}%
\usebibmacro{editor+others}%
\setunit{\addspace}%
\usebibmacro{chapincoll}%
\usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
\newcunit
\iffieldundef{edition}%
{}%
{\usebibmacro{edition}}%
\newcunit\newblock
\usebibmacro{volume+pages}%
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
\usebibmacro{origpubl+loc+year}% 16th ed.
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
\newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
{}%
\setunit*{\addcomma\addspace}\newblock%
\usebibmacro{bib+doi+url}%
\newunit\newblock
\usebibmacro{pageref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}%
{\ifboolexpr{% Changed for 16th ed.
test {\ifterm}%
or
test {\ifpunctmark{*}}%
}%
{\setunit{\addspace\bibsentence}}%
{\setunit{\addperiod\addspace}}%
\usebibmacro{bibprexref}%
\bibxrefcite{\thefield{xref}}%
\usebibmacro{bibpostxref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}}%
{\ifboolexpr{% Changed for 16th ed.
test {\ifterm}%
or
test {\ifpunctmark{*}}%
}%
{\setunit{\addspace\bibsentence}}%
{\setunit{\addperiod\addspace}}%
\usebibmacro{bibprexref}%
\bibxrefcite{\thefield{crossref}}%
\usebibmacro{bibpostxref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}}
\makeatother
总共进行相同的修改@inbook
\documentclass{article}
\usepackage{filecontents} % for example
\begin{filecontents}{\jobname.bib}
@incollection{watson_religion_1999,
location = {{Leiden}},
title = {The {{Religion}} of {{Ugarit}}: An {{Overview}}},
isbn = {90-04-10988-9},
timestamp = {2016-10-05T21:11:58Z},
langid = {english},
booktitle = {Handbook of {{Ugaritic Studies}}},
publisher = {{Brill}},
author = {Wyatt, Nicolas},
editor = {Watson, Wilfred G. E. and Wyatt, Nicolas},
date = {1999},
pages = {529--585},
keywords = {handbook,Ugarit}
}
\end{filecontents}
% But note that the pages should be the complete page range.
\usepackage[authordate, backend=biber, maxcitenames=2,useprefix, doi=false, isbn=false]{biblatex-chicago}
\addbibresource{\jobname.bib}
\makeatletter
\DeclareBibliographyDriver{incollection}{%
\usebibmacro{bibindex}%
\usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
\ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
\ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
\ifboolexpr{%
test {\iffieldundef{crossref}}%
or
togl {cms@crossref}%
}%
{\ifboolexpr{%
test {\iffieldundef{xref}}%
or
togl {cms@crossref}%
}%
{\setunit{\addperiod\addspace}% Moved here.
\usebibmacro{bybookauthor}%
\usebibmacro{editor+others}%
\setunit{\addspace}%
\usebibmacro{chapincoll}%
\usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
\newcunit
\iffieldundef{edition}%
{}%
{\usebibmacro{edition}}%
\newcunit\newblock
\usebibmacro{volume+pages}%
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
\usebibmacro{origpubl+loc+year}% 16th ed.
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
\newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
{}%
\setunit*{\addcomma\addspace}\newblock%
\usebibmacro{bib+doi+url}%
\newunit\newblock
\usebibmacro{pageref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}%
{\ifboolexpr{% Changed for 16th ed.
test {\ifterm}%
or
test {\ifpunctmark{*}}%
}%
{\setunit{\addspace\bibsentence}}%
{\setunit{\addperiod\addspace}}%
\usebibmacro{bibprexref}%
\bibxrefcite{\thefield{xref}}%
\usebibmacro{bibpostxref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}}%
{\ifboolexpr{% Changed for 16th ed.
test {\ifterm}%
or
test {\ifpunctmark{*}}%
}%
{\setunit{\addspace\bibsentence}}%
{\setunit{\addperiod\addspace}}%
\usebibmacro{bibprexref}%
\bibxrefcite{\thefield{crossref}}%
\usebibmacro{bibpostxref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}}
\DeclareBibliographyDriver{inbook}{%
\usebibmacro{bibindex}%
\usebibmacro{shorthand:author}%
\usebibmacro{author/editor}%
\setunit{\addspace}%
\printfield{nameaddon}%
\newunit\newblock
\ifundef\bbx@lasthash{\usebibmacro{italtitle+stitle}}{}%
\usebibmacro{cmsbibsortdate}%
\newunit\newblock
\ifundef\bbx@lasthash{}{\usebibmacro{italtitle+stitle}}%
\setunit{\addperiod\addspace}% 16th ed.
\usebibmacro{byauthor}%
\setunit{\addperiod\addspace}%
\usebibmacro{part+editor+translator}%
\ifboolexpr{%
test {\iffieldundef{crossref}}%
or
togl {cms@crossref}%
}%
{\ifboolexpr{%
test {\iffieldundef{xref}}%
or
togl {cms@crossref}%
}%
{\setunit{\addperiod\addspace}%
\usebibmacro{chapincoll}%
\usebibmacro{bybookauthor}%
\usebibmacro{byeditor+others}%
\setunit{\addspace}%
\usebibmacro{mtitle+mstitle+vol+part+btitle+bstitle}%
\newcunit
\iffieldundef{edition}%
{}%
{\usebibmacro{edition}}%
\newcunit\newblock
\usebibmacro{volume+pages}%
\newunit\newblock
\usebibmacro{ser+num}%
\newunit\newblock
\usebibmacro{origpubl+loc+year}% 16th ed.
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{bibreprint}%
\usebibmacro{publ+loc+year}%
\newunit\newblock
\usebibmacro{pubstate}%
\newunit\newblock
\printfield{addendum}%
\setunit*{\addcomma\addspace}\newblock%
\iftoggle{cms@isbn}%
{\printfield{isbn}}%
{}%
\setunit*{\addcomma\addspace}\newblock%
\usebibmacro{bib+doi+url}%
\newunit\newblock
\usebibmacro{pageref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}%
{\ifboolexpr{% Changed for 16th ed.
test {\ifterm}%
or
test {\ifpunctmark{*}}%
}%
{\setunit{\addspace\bibsentence}}%
{\setunit{\addperiod\addspace}}%
\usebibmacro{bibprexref}%
\bibxrefcite{\thefield{xref}}%
\usebibmacro{bibpostxref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}}%
{\ifboolexpr{% Changed for 16th ed.
test {\ifterm}%
or
test {\ifpunctmark{*}}%
}%
{\setunit{\addspace\bibsentence}}%
{\setunit{\addperiod\addspace}}%
\usebibmacro{bibprexref}%
\bibxrefcite{\thefield{crossref}}%
\usebibmacro{bibpostxref}%
\newunit\newblock
\iftoggle{cms@related}%
{\usebibmacro{related:init}%
\usebibmacro{related}%
\newunit}%
{}%
\usebibmacro{originally+published+as}%
\usebibmacro{finentry}}}
\makeatother
\begin{document}
\cite{watson_religion_1999}
\printbibliography
\end{document}