如何在参考书目中的作者(名字)后面加一个点?
\startbuffer [bib]
@article{fulano,
author = "Fulano de Tal",
title = "Um título chamativo",
journal = "Jornal de Maio",
number = "31--44",
year = "2008",
pages = "125--136",
url = "https://www.google.com"
}
\stopbuffer
\usebtxdataset[bib.buffer]
\usebtxdefinitions [chicago]
\starttext
\nocite[fulano]
\placelistofpublications
\stoptext
我想成为德塔尔,富拉诺。 2008 年。ETC。
顺便说一句,我还不能让“温哥华”风格发挥作用(我猜它还没有实现?)
答案1
我查看了一下publ-imp-chicago.mkvi
,似乎作者和年份在btx:chicago:authoryear
命令中一起设置。可以重新定义该命令,但我不知道这是否符合芝加哥风格。如果符合,我建议您写信给作者。
无论如何,以下内容似乎有效。免责声明我不明白这是否有任何不良的副作用或者是否有更好的方法来做到这一点。
最后,我对温哥华风格一无所知。
\startbuffer [bib]
@article{fulano,
author = "Fulano de Tal",
title = "Um título chamativo",
journal = "Jornal de Maio",
number = "31--44",
year = "2008",
pages = "125--136",
url = "https://www.google.com"
}
\stopbuffer
\usebtxdataset[bib.buffer]
\usebtxdefinitions [chicago]
\starttexdefinition mutable protected btx:chicago:authoryear
% we make the authoryear active, pointing to the citation
\texdefinition{btx:format:inject}
{internal(\currentbtxinternal)}
{
\doifelsesetups{chicago:list:sameauthor} {
\btxdoifelsesameasprevious {author} {
\fastsetup{chicago:list:sameauthor}
} {
\texdefinition{btx:chicago:author-or-editor} {author}
}
} {
\texdefinition{btx:chicago:author-or-editor} {author}
}
%This \btxperiod is my only addition
\btxperiod
\texdefinition{btx:chicago:suffixedyear}
}
% outside of interaction
\btxperiod
\doif {\btxfoundname{author}} {title} {
\setmode{btx:chicago:title-placed}
}
\stoptexdefinition
\starttext
\nocite[fulano]
\placelistofpublications
\stoptext
结果至少看起来正如我所理解的那样: