Biblatex,JEA 风格

Biblatex,JEA 风格

我在这里提供一个 MWE:

\documentclass[11pt,a4paper,showtrims]{memoir} % for a 4long document
\usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation
\defaultfontfeatures{Mapping=tex-text} % to support TeX conventions like ``---''
\usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc)
\usepackage{xltxtra} % Extra customizations for XeLaTeX
\usepackage{etoolbox}
\usepackage{polyglossia}
\usepackage[style=verbose-   ibid,firstinits=true,sorting=nty,sortcites=true,useprefix=false,isbn=false,maxnames=6,citepages=omit,backend=biber]{biblatex} % originally the style was verbose-ibid
%\usepackage[style=footnote-dw,namefont=smallcaps,firstinits=true,idembib=true,idembibformat=dash,nopublisher=false,edbyidem=false,backend=biber]{biblatex}
\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}
\renewcommand*{\newunitpunct}{\addcomma\space}%put commas instead of periods after some elements of the title
%\usepackage{biblatex}%remove �in� in journal articles
\renewbibmacro{in:}{%
\ifentrytype{article}{}{%
\printtext{\bibstring{in}\intitlepunct}}}
\renewcommand*{\labelnamepunct}{\addcomma\space}
\renewcommand*{\nametitledelim}{\addcomma\space}
\renewcommand*{\bibfont}{\normalfont\small}

\renewbibmacro*{publisher+location+date}{%
\printtext[parens]{% ADDED
\printlist{location}%
%\iflistundef{publisher}
  %{\setunit*{\addcomma\space}}
 % {\setunit*{\addcolon\space}}%
%\printlist{publisher}%
\setunit*{\addcomma\space}%
\usebibmacro{date}%
}%\nopunct% ADDED
\newunit}
%for citing short forms
\renewbibmacro*{cite:short}{%
\printnames{labelname}%
\setunit*{\nametitledelim}%
% If article:
\ifentrytype{article}{%
    \usebibmacro{journal}%
    \setunit{\addspace}%
    \printfield{volume}}{%
% If incollection:
\ifentrytype{incollection}{%
    \usebibmacro{in:}%
    \printtext[booktitle]{\printfield[titlecase]{booktitle}}}{%
% Else:
\printtext[bibhyperlink]{\printfield[citetitle]{labeltitle}}}}}

%for defining shorthands
\defbibcheck{noshorthand}{%
\iffieldundef{shorthand}{}{\skipentry}%
}

\renewbibmacro*{journal}{%journal abbreviation instead of full title
\iffieldundef{shortjournal}
{%
  \iffieldundef{journaltitle}
    {}
    {%
      \printtext[journaltitle]
        {%
          \printfield[titlecase]{journaltitle}%
          \setunit{\subtitlepunct}%
          \printfield[titlecase]{journalsubtitle}%
         }%
     }%
}
{\printtext[journaltitle]{\printfield[titlecase]{shortjournal}}}%
}

\DeclareFieldFormat{postnote}{\mkcomprange[{\mkpageprefix[pagination]}]{#1}}
\DeclareFieldFormat{pages}{\mkcomprange{#1}}

\setcounter{mincomprange}{100}
\setcounter{maxcomprange}{100000}
\setcounter{mincompwidth}{10}

\makeatletter
\patchcmd{\blx@comprange@check}
{\blx@comprange@comp{#1}{#2}}
{\blx@tempcnta=#1
\divide\blx@tempcnta100
\multiply\blx@tempcnta100
\ifnumequal{\blx@tempcnta}{#1}
 {\blx@range@out@value{#1\bibrangedash#2}}
 {\blx@comprange@comp{#1}{#2}}}
{}{}
\makeatother

\DeclareFieldFormat{postnote}{\mkcomprange{#1}}% no postnote prefix in "normal" citation commands
\DeclareFieldFormat{multipostnote}{\mkcomprange{#1}}% no postnote prefix in "multicite" commands

这是我实际使用的两个参考书目实例:

@incollection{Leahy.2011c,
author = {Leahy, A.},
title = {'Necho' in Late Period personal names},
pages = {547--573},
bookpagination = {page},
publisher = {Uitgeverij Peeters en Departement Oosterse Studies},
series = {Orientalia Lovaniensia Analecta},
editor = {Aston, D. A. and Bader, Bettina and Gallorini, Carla and Nicholson, Paul and Buckingham, Sarah},
booktitle = {Under the Potter's Tree},
year = {2011},
usera = {Yes},
location = {Leuven},
booksubtitle = {Studies on Ancient Egypt Presented to Janine Bourriau on the Occasion of Her 70th Birthday},
number = {204},
}

@book{Blobaum.2006,
author = {Bl{\"o}baum, A. I.},
year = {2006},
title = {''Denn ich bin ein K{\"o}nig, der die Maat liebt''},
number = {4},
publisher = {Shaker Verlag},
subtitle = {Herrscherlegitimation im sp{\"a}tzeitlichen {\"A}gypten},
location = {Aachen},
series = {Aegyptiaca Monasteriensia},
shorttitle = {Denn ich bin ein K{\"o}nig}
}

从上面的代码可以看出:

A.LEAHY,“一个神秘的碎片和一个巨大的铰链。再次回顾尼科二世和普萨美提库斯二世”,在:动词保留。收录于 Dimitri Meeks 的同事和朋友的学习成果,I. RÉGEN 和 F. SERVAJEAN 编辑,Cenim 2,(蒙彼利埃,2009 年),227–40。

AIBlöbaum,“既然我是国王,我就爱你”,合法化统治者在埃及,Aegyptiaca Monasteriensia 4,(亚琛,2006)

我希望进行以下更改,以符合《埃及考古学杂志》的要求:

AIBlöbaum,“既然我是国王,我就爱你”,合法化统治者在埃及(Aegyptiaca Monasteriensia 4;亚琛:2006)

这意味着我想去掉标题末尾的逗号,并将系列及其编号放在圆括号中。

此外,对于编辑书籍的贡献,我希望得到这样的信息:

A.LEAHY,“一个神秘的碎片和一个巨大的铰链。再次回顾尼科二世和普萨美提库斯二世”,收录于 I. RÉGEN 和 F. SERVAJEAN (eds),动词保留。收录于 Dimitri Meeks 的同事和朋友的学习成果(Cenim 2;蒙彼利埃:2009),227-40。

任何帮助均感激不尽。

答案1

以下文档演示了样式编辑,这些编辑将更改“作者”和系列标题的格式和打印顺序。为简洁起见,我仅从您的 MWE 中继承了一些样式更改。

\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=verbose-ibid,firstinits=true,maxnames=6]{biblatex} 

% Put editor string in parentheses
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}

% Like editor+others but without comma before editor string and dash checks
\newbibmacro*{ineditor+others}{%
  \ifboolexpr{ test \ifuseeditor and not test {\ifnameundef{editor}} }
    {\printnames{editor}%
     \setunit{\addspace}%
     \usebibmacro{editor+othersstrg}%
     \clearname{editor}}
    {}}

% Print editors before "in" title
\renewbibmacro{in:}{%
  \ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}%
  \usebibmacro{ineditor+others}%
  \newunit
  \clearname{editor}}

% Print series as usual if location is undefined
\renewbibmacro*{series+number}{%
  \iflistundef{location}
    {\printfield{series}%
     \setunit*{\addspace}%
     \printfield{number}%
     \newunit}
    {}}

% Omit preceding punctuation, print series with location,
%   omit publisher, wrap in parentheses
\renewbibmacro*{publisher+location+date}{%
  \nopunct%
  \printtext[parens]{%
    \printfield{series}%
    \setunit*{\addspace}%
    \printfield{number}%
    \setunit{\addsemicolon\space}%
    \printlist{location}%
    \setunit*{\addcolon\space}%
    \usebibmacro{date}}%
    \newunit}

% A few other style changes carried over from your MWE
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\labelnamepunct}{\newunitpunct}
\renewcommand\mkbibnamelast[1]{\textsc{#1}}
\DeclareNameAlias{sortname}{first-last}

\begin{filecontents}{\jobname.bib}
@incollection{leahy,
  author = {Leahy, A.},
  title = {`Necho' in Late Period personal names},
  pages = {547--573},
  bookpagination = {page},
  publisher = {Uitgeverij Peeters en Departement Oosterse Studies},
  series = {Orientalia Lovaniensia Analecta},
  editor = {Aston, D. A. and Bader, Bettina and Gallorini, Carla and Nicholson, Paul and Buckingham, Sarah},
  booktitle = {Under the Potter's Tree},
  year = {2011},
  location = {Leuven},
  booksubtitle = {Studies on Ancient Egypt Presented to Janine Bourriau on the Occasion of Her 70th Birthday},
  number = {204}}
@book{blobaum,
  author = {Bl{\"o}baum, A. I.},
  year = {2006},
  title = {``Denn ich bin ein K{\"o}nig, der die Maat liebt''},
  number = {4},
  publisher = {Shaker Verlag},
  subtitle = {Herrscherlegitimation im sp{\"a}tzeitlichen {\"A}gypten},
  location = {Aachen},
  series = {Aegyptiaca Monasteriensia},
  shorttitle = {Denn ich bin ein K{\"o}nig}}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
\nocite{leahy,blobaum,aristotle:physics,aristotle:poetics,kant:kpv,hyman}
\printbibliography
\end{document}

在此处输入图片描述

相关内容