為 De Gruyters “Holzforschung” 客製化 Biblatex

為 De Gruyters “Holzforschung” 客製化 Biblatex

(190816,2249 CET,根據「的評論更新門施”)

190818、1332 CET,有關錯誤訊息的更新articlein

大家好,

我試著讓我的參考書目看起來像:

在

但目前我陷入了類似的困境:

參考文獻現狀

所以,我特別想知道我如何

  1. 去掉“.”在“音量”之後
  2. 去掉頁面前的“,”

除此之外,我認為我已經讓它看起來「應該」了。

我在下面附上我的程式碼:

\documentclass[english,final,twocolumn]{article}
\usepackage[utf8]{inputenc}%(only for the pdftex engine)
\usepackage[big]{dgruyter}
\usepackage{microtype}
\usepackage{xcolor}
\usepackage[capitalize]{cleveref}
\usepackage[format=hang,singlelinecheck=0,font={sf,small},labelfont=bf]{subfig}
%% format=hang, bra veta om
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.3}
\usepackage[export]{adjustbox}
\usepackage{float}
\usepackage{textgreek}
\usepackage{multirow}
\usepackage{csquotes}

\usepackage[style=authoryear,%ext-authoryear,%authoryear,%nature,%bwl-    FU,%authoryear,
        citestyle=authoryear,
        natbib=true,
        hyperref=true,
        url=false,        
        doi=false,         
        isbn=false, 
        sorting=nyt,
        %bibstyle=authoryear,
        giveninits=true,
        maxcitenames=2,
        uniquelist=false, % denna som gör att man får a) och b) i stället för fler efternamn
        maxbibnames=99,
        uniquename=false,
        dashed=false,
        articlein=false,
        url=false, 
        doi=false, 
        isbn=false, 
        dashed=false,
        backend=biber]{biblatex}
%\setlength\bibhang{2pt} % default value: \parindent
\DeclareFieldFormat*{title}{#1}
%\DeclareFieldFormat*{year}{#1} 
\renewcommand{\labelnamepunct}{\addspace}
\DeclareFieldFormat{journaltitle}{#1} 
%
\renewbibmacro{in:}{%
    \ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}
%
% removes pagination (p./pp.) before page numbers
\DeclareFieldFormat{pages}{:#1}
%
\DeclareNameAlias{sortname}{last-first}
%
\DeclareFieldFormat*{volume}{#1}
\DeclareFieldFormat*{number}{(#1)}

\addbibresource{mojiref.bib}

\begin{document}

\articletype{}



\maketitle

There is one method, attributed to \citep{wilhelmy1863ueber} that is very simple to use and provides accurate, consistent, and reproducible data especially for rough, heterogeneous, and hygroscopic materials such as wood \citep{lander1993systematic}. 


\printbibliography%[env=bibnumeric]
% ovanstående gör att man får radindraget borttaget. Inte bra här och nu,


\end{document}

這是兩個參考:

@article{lander1993systematic,
  title={A systematic comparison of contact angle methods},
  author={Lander, Lorraine M and Siewierski, Lisa M and Brittain, William J and Vogler, Erwin A},
  journal={Langmuir},
  volume={9},
  number={8},
  pages={2237--2239},
  year={1993},
  publisher={ACS Publications}
}

@article{wilhelmy1863ueber,
  title={Ueber die Abh{\"a}ngigkeit der Capillarit{\"a}ts-Constanten des Alkohols von Substanz und Gestalt des benetzten festen K{\"o}rpers},
  author={Wilhelmy, Ludwig},
  journal={Ann. Phys.},%{Annalen der Physik},
  volume={195},
  number={6},
  pages={177--217},
  year={1863},
  publisher={Wiley Online Library}
}

我希望這是有道理的,並且有人能夠幫助我解決這個問題。

新增190818:

articlein=false根據建議添加莫埃韋結果在背面出現此錯誤訊息。

在此輸入影像描述

/拉爾斯

答案1

如果您正在準備向期刊提交稿件,請仔細檢查他們是否可以接受biblatex提交。與 BibTeX 相比,biblatex出版商方面需要完全不同的工作流程,而且他們的工具可能無法根據biblatex需要進行處理。此外,眾所周知,出版商並未運行最新的 LaTeX 系統,這意味著存在非常現實的版本不相容風險。看Biblatex:提交給期刊

不管怎樣,如果你想繼續,biblatex儘管有這些警告(例如,因為出版商只想要 PDF),或者你只想模仿期刊的風格,這應該可以幫助你開始。

MWE 使用biblatex-ext'sext-authoryear作為基礎,因為它有一些更簡單的工具可用於處理volumenumber欄位之間的標點符號。該程式碼也已更新,以便在其他地方使用侵入性較小的方法。一般來說,欄位格式不應包含前導或尾隨標點符號(如\DeclareFieldFormat{pages}{:#1}

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=ext-authoryear,
  giveninits=true, uniquename=false,
  maxcitenames=2, maxbibnames=99,
  articlein=false,
  url=false, doi=false, isbn=false, dashed=false,
]{biblatex}

\DeclareNameAlias{sortname}{family-given}
\DeclareDelimAlias{finalnamedelim}{multinamedelim}

\DeclareDelimFormat[bib]{nameyeardelim}{\addspace}
\DeclareDelimFormat[bib]{nametitledelim}{\addspace}

\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat{booktitle}{#1}
\DeclareFieldFormat{issuetitle}{#1}
\DeclareFieldFormat{journaltitle}{#1\isdot}
\DeclareFieldFormat{maintitle}{#1}

\renewcommand*{\volnumdelim}{}
\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}

\renewcommand*{\bibpagespunct}{%
  \ifentrytype{article}
    {\addcolon}
    {\addcomma}%
  \space}

\DeclareFieldFormat[article]{pages}{#1}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{lande,
  author  = {Stig Lande and Mats Westin and Marc Schneider},
  title   = {Properties of Furfurylated Wood},
  journal = {Scandinavian Journal of Forest Research},
  volume  = {19},
  number  = {suppl~5},
  pages   = {22-30},
  year    = {2004},
  doi     = {10.1080/0282758041001915},
}
\end{filecontents}

\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}


\begin{document}
\cite{sigfridsson,lande}
\printbibliography
\end{document}

蘭德,S.,威斯汀,M.,施耐德,M.(2004)。糠醯化木材的特性。斯堪的納維亞森林研究雜誌 19(增刊 5):22-30。

相關內容