如何在 BibLaTeX 中更改编辑器 bibstring?

如何在 BibLaTeX 中更改编辑器 bibstring?

我有波兰语的文本,我想将字符串“Wyed.”更改为字符串“Red.:” 非常相似的问题的解决方案如下:更改 biblatex 书目中的预定义单词。就我而言,它不起作用。也无法通过使用主题中的答案来解决我的问题调整 biblatex 书目样式biblatex/babel autolang= 无法与 idemtracker 配合使用

代码:

\documentclass{article}
\usepackage[polish]{babel}
\usepackage{polski}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

\usepackage{csquotes}           % quotqtion signs customization
\DeclareQuoteAlias{croatian}{polish}    % quotqtion signs customization
\usepackage[
    style=verbose-ibid,sortcites,
    maxcitenames=99 % maksimal number of auhtors listed in the bibliography item
]{biblatex}

\DefineBibliographyStrings{polish}{% doesn't affect the pdf-file; why?
    editor = {red.:},
    editors = {red.:},
}

\usepackage{filecontents}
\begin{filecontents}{mylist.bib}
@inbook{gumplowicz2010,
    author =    {Gumplowicz, Ludwik},
    title = {O naturalnym prawie kształtowania się państw},
    booktitle = {Dwa życia Ludwika Gumplowicza. Wybór tekstów},
    editor =    {Mozetič, G. and Surman, J.},
    location =  {Warszawa},
    year =  {2010}
}
\end{filecontents}
\addbibresource{mylist.bib}

\begin{document}
Aaaaa\footcite{gumplowicz2010}.
\end{document}

结果: 在此处输入图片描述

答案1

您需要更改byeditor字符串。该editor字符串似乎红色的。已经。

因此使用这个:

\DefineBibliographyStrings{polish}{%
    byeditor = {red\adddot\addcolon},%
}

但我认为\addcolon更好的是属于宏观层面。byeditor+others

所以我会这样做:

\usepackage{xpatch}
\DefineBibliographyStrings{polish}{%
    byeditor = {red\adddot},%
}
\xpatchbibmacro{byeditor+others}{\addspace}{\addcolon\addspace}{}{}

相关内容