对于一个章节引用(@inbook{Ramberg2013
),我需要更改字段顺序。后面的字段顺序In:
需要Initials. Surname of author/editor(s) followed by ed/eds. if relevant. _title in italics_ . Place: publisher, pages.
妇女权利委员会:
\RequirePackage[l2tabu, orthodox]{nag}
\documentclass[a4paper,oneside,11pt]{memoir}
\usepackage{xpatch,etex,setspace,excludeonly,ifthen,etoolbox,logreq,makeidx,cals,graphicx}
\usepackage[british]{babel}
\usepackage[style=british]{csquotes}
\usepackage[style=authoryear,firstinits=true,uniquename=init,natbib=true,backend=biber,indexing=true,defernumbers=true,isbn=false,doi=false,dashed=false]{biblatex}
\addbibresource{ThesisMWE.bib}
% Bath Harvard formatting
\renewcommand*{\newunitpunct}{\addcomma\space}
%
\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{#1\adddot\nopunct\isdot}
\DeclareFieldFormat[book,collection]{title}{{\mkbibemph{#1}\adddot\nopunct\isdot}}
\DeclareFieldFormat[article]{number}{\mkbibparens{#1}}
\DeclareFieldFormat[online]{urlseen}{\mkbibbrackets{#1}}
% Change to address: publisher
\renewbibmacro*{publisher+location+date}{%
\printlist{location}%
\iflistundef{publisher}
{\setunit*{\addcomma\space}}
{\setunit*{:\space}}% ADDED
\printlist{publisher}%
\setunit*{\addcomma\space}%
\usebibmacro{date}%
\newunit}
% Initials always following surname in author field
\DeclareNameFormat{author}{%
\ifnumequal{\value{listcount}}{1}
{\ifnumequal{\value{liststop}}{1}
{#1\addcomma\addspace #4\addcomma\isdot}
{#1\addcomma\addspace #4}
}
{\ifnumless{\value{listcount}}{\value{liststop}}
{\addcomma\addspace #1\addcomma\addspace #4}
{\addcomma\addspace\bibstring{and} #1\addcomma\addspace #4\addcomma\isdot}
}%
}
% Custom strings
\DefineBibliographyStrings{british}{%
edition = {edn\adddot\nopunct\isdot},
in = {In\addcolon},
urlseen = {Accessed\addspace}
}
% Remove parentheses from year
\renewbibmacro*{date+extrayear}{%
\begingroup%
\clearfield{month}%
\clearfield{day}%
\ifboolexpr{%
test {\iffieldundef{date}}
and
test {\iffieldundef{year}}
}%
{\iftoggle{bbx:nodate}{\printtext{%
\midsentence\bibstring{nodate}}}{}}%
{\printtext{\printdateextra}}%
\endgroup}%
%
% Dot after year
\renewcommand{\labelnamepunct}{\adddot\space}
% Custom volume(number) and pp. xx-yy
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\nocite{*}
\begin{document}
\printbibliography
\end{document}
文件.bib
:
@collection{9Barnes1995,
Address = {Cambridge},
title = {The Cambridge Companion to Aristotle},
Editor = {Jonathan Barnes},
Publisher = {Cambridge University Press},
Year = {1995}
}
@inbook{Ramberg2013,
title={For the Sake of His Own Generation: Rorty on Destruction and Edification},
author={Bjorn Torgrim Ramberg},
year={2013},
address={London},
publisher={Bloomsbury Academic},
booktitle={Richard Rorty: From Pragmatist Philosophy to Cultural Politics},
editor={Alexander Gr{\"o}schner and Colin Koopman and Mike Sandbothe}
}
@online{SEP-MP,
Author = {Dancy, Jonathan},
Editor = {Edward N. Zalta},
Subtitle = {The Stanford Encyclopedia of Philosophy},
Title = {{M}oral {P}articularism},
Edition="Spring 2009",
Url = {http://plato.stanford.edu/archives/spr2009/entries/moral-particularism/},
Urldate = {2010-08-06},
Year = {2009}
}
@INPROCEEDINGS{Garside2008,
author = {Darren Garside},
title = {{U}sing {S}ocial {N}etwork {A}nalysis to analyse speaking \& listening
in {P}hilosophy for {C}hildren communities of enquiry},
booktitle = {British Educational Research Association Annual Conference},
year = {2008},
address = "Edinburgh: Edinburgh Napier University",
date="2-5 September 2008"
}
@inbook{1Phillips2010,
year={2010},
Crossref = {9BaileyHandbook2010},
booktitle={The Sage Handbook of Philosophy of Education},
title={What is Philosophy of Education?},
author={D. C. Phillips},
pages={3--20}
}
@inbook{1Barrow2010,
year={2010},
Crossref = {9BaileyHandbook2010},
booktitle={The Sage Handbook of Philosophy of Education},
title={Schools of Thought in Philosophy of Education?},
author={Robin Barrow},
pages={21--36}
}
@book{9BaileyHandbook2010,
title={The Sage Handbook of Philosophy of Education},
editor={Richard Bailey and Robin Barrow and David Carr and Christine McCarthy},
year={2010},
publisher={Sage Publications Ltd},
address={London}
}
@book{9BaileyHandbook2012,
title={Mock entry to demonstrate difference between edited and authored entries},
author={Richard Bailey and Robin Barrow and David Carr and Christine McCarthy},
year={2010},
publisher={Sage Publications Ltd},
address={London}
}
答案1
修复 #4:@online entries
添加:
\DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\space#1}}
\DeclareFieldFormat{url}{Available from\addcolon\space\url{#1}}