De Gruyters「Holzforschung」向けにBiblatexをカスタマイズ

De Gruyters「Holzforschung」向けにBiblatexをカスタマイズ

(190816、2249 CET、「メンシュ

190818、1332 CET、エラーメッセージに関する更新articlein

こんにちは、みんな、

私は参考文献を次のように作成しようとしています:

で

しかし、現時点では次のような状況に陥っています。

参考文献の現状

だから、特に、私は

  1. 「volume」の後の「.」を削除します
  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}

ここに 2 つの参考文献があります:

@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のアドバイスから追加されましたモーウェOverleaf ではこのエラー メッセージが表示されます。

ここに画像の説明を入力してください

/ラース

答え1

ジャーナルに投稿する原稿を準備している場合は、biblatex投稿を受け付けているかどうかを再確認してください。BibTeX と比較すると、biblatex出版社側ではまったく異なるワークフローが必要であり、ツールが要求どおりに対応していない可能性がありますbiblatex。さらに、出版社は最新の LaTeX システムを実行しているとは限らないため、バージョンの非互換性のリスクが非常に高くなります。Biblatex: ジャーナルへの投稿

いずれにせよ、これらの警告を無視して続行したい場合biblatex(たとえば、出版社が PDF のみを希望している場合)、またはジャーナルのスタイルをエミュレートしたいだけの場合は、これで開始できるはずです。

MWEbiblatex-extは を基本として使います。これはとフィールドext-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}

Lande, S., Westin, M., Schneider, M. (2004). フルフリル化木材の特性 Scandinavian Journal of Forest Research 19(suppl 5): 22–30.

関連情報