如何使用 biblatex 重現參考書目風格?

如何使用 biblatex 重現參考書目風格?

我浪費了幾個小時,嘗試了很多東西,但仍然無法達到期刊編輯想要的完美匹配。這是所需樣式的圖片:期刊中列出的參考文獻

到目前為止,我可以使用這個 MWE 來管理一些結果。

\documentclass{article}
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage{hyperref}
\usepackage[natbib=true,%
            backref=true,%
            backend=biber,%
            style=ext-authoryear,%
            articlein=false,%
            giveninits=true,%
            maxbibnames=9,maxcitenames=2,%
            uniquelist=false]{biblatex}

\DeclareFieldFormat[article]{volume}{Vol. #1}
\DeclareFieldFormat[article]{number}{\addnbspace No. #1}
\DefineBibliographyStrings{english}{
    andothers = {\mkbibemph{et\addabbrvspace al\adddot}}
}
\renewcommand{\nameyeardelim}{,}

%\addbibresource{../Xbib.bib}

\RequirePackage{filecontents}
\begin{filecontents}{mybib1.bib}
%
@Article{bru30,
  author       = {Jean-Louis Bertrand and Xavier Brusset},
  title        = {Managing the financial consequences of weather variability},
  journal      = {Journal of Asset Management},
  journaltitle = {Journal of Asset Management},
  year         = {2018},
  date         = {2018-07-16},
  volume       = {19},
  issue        = {5},
  pages        = {301-315},
  doi          = {10.1057/s41260-018-0083-x},
  file         = {:Managing the financial consequences of weather variability_JAM.pdf:PDF},
  groups       = {Meteo},
  owner        = {XB},
}

@Article{laz1,
  author    = {J. K. Lazo and M. Lawson and P. H. Larsen and D. M. Waidmann},
  title     = {U.{S}. economic sensitivity to weather variability},
  journal   = {Bulletin of American Meteorological Society},
  year      = {2011},
  volume    = {92},
  pages     = {709-720},
  groups    = {Meteo},
  owner     = {XB},
  timestamp = {2013.11.12},
}
\end{filecontents}

\begin{document}
This document must be compiled after having defined the bibtex command to  \texttt{biber.exe}.

Minimum working example where using \parencite{bru30}. When there are various authors to a paper: \parencite{laz1}.


\printbibliography
\end{document} 

正如您從輸出中看到的,有幾處內容不正確。名字首字母應始終跟在姓氏之後,不應有出版年份的日期,年份後面的句號應為逗號,文章標題應位於引號和分隔符之間標題和期刊之間應該有一個逗號。 doi 前面應該加上“available at:”,這是什麼風格?我怎樣才能模仿它?謝謝。

答案1

無論如何,以下是我嘗試為我要提交的期刊中的參考風格獲得最佳外觀模仿的解決方法:

\documentclass{article}
\usepackage[british]{babel}
\usepackage[style=english]{csquotes}
\usepackage{hyperref}
\usepackage[natbib=true,%
            backref=true,%
            backend=biber,%
            style=ext-authoryear,%
            articlein=false,%
            giveninits=true,%
            maxbibnames=9,maxcitenames=2,%
            uniquelist=false]{biblatex}
\DeclareFieldFormat[article]{volume}{\addnbspace Vol. #1}
\DeclareFieldFormat[article]{issue}{\addnbspace No. #1}
\DeclareFieldFormat[article]{number}{\addnbspace No. #1}
\DeclareFieldFormat[article]{journal}{ #1\addcomma}
\DeclareFieldFormat{issuedate}{#1}
\DefineBibliographyStrings{english}{
    andothers = {\mkbibemph{et\addabbrvspace al\adddot}}
}
\DeclareNameAlias{sortname}{family-given}
%\renewcommand{\nameyeardelim}{,}
\renewcommand{\newunitpunct}{\addcomma\space}
\renewcommand{\jourvoldelim}{\addcomma}
%\renewcommand{\postvolpunct}{\addcomma} % for biblatex-chicago only

\addbibresource{myXbib.bib}

\RequirePackage{filecontents}
\begin{filecontents}{myXbib.bib}

@Article{bru30,
  author       = {Jean-Louis Bertrand and Xavier Brusset},
  title        = {Managing the financial consequences of weather variability},
  journal      = {Journal of Asset Management},
  journaltitle = {Journal of Asset Management},
  year         = {2018},
  date         = {},
  volume       = {19},
  issue        = {5},
  pages        = {301-315},
  doi          = {10.1057/s41260-018-0083-x},
  file         = {:Managing the financial consequences of weather variability_JAM.pdf:PDF},
  groups       = {Meteo},
  owner        = {XB},
}

@Article{laz1,
  author    = {J. K. Lazo and M. Lawson and P. H. Larsen and D. M. Waidmann},
  title     = {U.{S}. economic sensitivity to weather variability},
  journal   = {Bulletin of American Meteorological Society},
  year      = {2011},
  volume    = {92},
  pages     = {709-720},
  groups    = {Meteo},
  owner     = {XB},
  timestamp = {2013.11.12},
}
\end{filecontents}

\begin{document}
\DeclareDatamodelEntryfields[article ]{issue}
\DeclareFieldFormat{no}{\bibsstring{number}~#1}
This document must be compiled after having defined the bibtex command to  \texttt{biber.exe}.

Minimum working example where using \parencite{bru30}. When there are various authors to a paper: \parencite{laz1}.
K\oe nig is the author of various books and articles, \parencite[see][ for an example]{koe1}, \cite{boiral_2006}.

Some citation alternative uses: \citeauthor{koe1} says in \citeyear{koe1}, this is what is expected. Does foot citation possibility work \footcite{simon_1996}?

\printbibliography
\end{document}

輸出是: 在此輸入影像描述

請注意我如何透過重新定義問題編號的列出方式來刪除問題編號周圍的括號:

\DeclareFieldFormat{no}{\bibsstring{number}~#1}

我希望這對某人有幫助。我花了好幾天才得到這個結果。

相關內容