如何將“trans.by”替換為“trans.”在 biblatex 哲學中?

如何將“trans.by”替換為“trans.”在 biblatex 哲學中?

如何將“trans.by”替換為“trans.”在biblatex-philosophy

這是我需要的格式: 目標

我大部分時間都在做以下事情:

documentclass[11pt, a4paper]{scrartcl}

% Bibliography preamble
\usepackage[giveninits=true, style=philosophy-modern]{biblatex}  
\addbibresource{testbib.bib}

% Some tweaks I've already made
\DeclareFieldFormat{postnote}{#1}% no postnote prefix in "normal" citation commands
\DeclareFieldFormat{multipostnote}{#1}% no postnote prefix in "multicite" commands
\DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography

\DeclareFieldFormat[article]{title}{#1} % Remove quotations from Article title
\setlength{\yeartitle}{5.4em} % Set greater spacing between the year and the title
\setlength{\postnamesep}{2.5ex plus 2pt minus 1pt}

\begin{document}
Sentence containing citation \parencite{pavese1965}.

\printbibliography
\end{document}

.bib文件:

@book{pavese1965,
    Author = {Pavese, Cesare},
    Publisher = {University of Michigan Press},
    Title = {Dialogues with Leucò},
    date = {1965},
    Editor = {William Arrowsmith and D. S. Carne-Ross},
    editortype = {translator},
    Location = {Ann Arbor}}

哪個輸出:

試圖

任何有關刪除那個討厭的詞的幫助將不勝感激。

答案1

添加:

\DefineBibliographyStrings{english}{%
  bytranslator = {trans\adddot},
}

但我認為你的問題是重複的這個

\begin{filecontents}{testbib.bib}
@book{pavese1965,
    Author = {Pavese, Cesare},
    Publisher = {University of Michigan Press},
    Title = {Dialogues with Leucò},
    date = {1965},
    Editor = {William Arrowsmith and D. S. Carne-Ross},
    editortype = {translator},
    Location = {Ann Arbor}}
\end{filecontents}

\documentclass[11pt, a4paper]{scrartcl}

% Bibliography preamble
\usepackage[giveninits=true, style=philosophy-modern]{biblatex}  
\addbibresource{testbib.bib}

% Some tweaks I've already made
\DeclareFieldFormat{postnote}{#1}% no postnote prefix in "normal" citation commands
\DeclareFieldFormat{multipostnote}{#1}% no postnote prefix in "multicite" commands
\DeclareFieldFormat{pages}{#1}% no prefix for the `pages` field in the bibliography

\DeclareFieldFormat[article]{title}{#1} % Remove quotations from Article title
\setlength{\yeartitle}{5.4em} % Set greater spacing between the year and the title
\setlength{\postnamesep}{2.5ex plus 2pt minus 1pt}

\DefineBibliographyStrings{english}{%
  bytranslator = {trans\adddot},
}

\begin{document}
Sentence containing citation \parencite{pavese1965}.

\printbibliography
\end{document}

在此輸入影像描述

相關內容