biblatex-dw:贵族作者姓名格式例外

biblatex-dw:贵族作者姓名格式例外

梅威瑟:

\documentclass{book}
\usepackage{a4wide}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{polyglossia}
\setmainlanguage[spelling=new,babelshorthands=true]{german}
\usepackage[autostyle]{csquotes}
\usepackage[style=authortitle-dw,
edsuper=true,
namefont=smallcaps,
useprefix=true,
ibidemfont=smallcaps,
idemfont=smallcaps,
idembibformat=dash,
shorthandibid=true,
backref=false,
backrefstyle=none,
hyperref=true,
isbn=false,
backend=biber,
citereset=chapter,
bibencoding=utf8]{biblatex}
\DeclareFieldFormat{pages}{#1}
\DeclareFieldFormat{page}{#1}
\DeclareNameAlias{sortname}{last-first}
\DefineBibliographyStrings{german}{
    and={/},
    page={},
    andothers = {{et\,al\adddot}},
    editor = {{Hg\adddot}} ,
    editors = {{Hg\adddot}}
}


\usepackage{filecontents}
\begin{filecontents}{file.bib}

    @book{ebert1989,
        year = {1989},
        title = {Räumt die Steine hinweg: DDR Herbst 1989: geistliche Reden im politischen Aufbruch},
        address = {München},
        publisher = {Claudius},
        isbn = {3532620987},
        editor = {Ebert, Andreas and Haberer, Johanna and Kraft, Friedrich},
        shorttitle = {Steine}
    }

    @book{bulischop.2006,
        author = {von Bulisch, Jens},
        year = {2006},
        title = {Evangelische Presse in der DDR},
        address = {Göttingen},
        volume = {43},
        publisher = {Vandenhoeck und Ruprecht},
        isbn = {3525557442},
        series = {AKZG},
        shorttitle = {Presse}
    }
\end{filecontents}

\addbibresource{file.bib}
\begin{document}
    text \footcite{bulischop.2006} text.
    text \footcite{ebert1989} haha. 
    \printbibliography
\end{document}

对于姓氏以“von”开头的作者和编辑,例如“von Greifenstein”,“von”应该用小写字母格式化,而姓氏的其余部分应该用小写字母格式化。

在此处输入图片描述

答案1

\renewcommand*{\mkbibnameprefix}{\mkbibnamegiven}

将姓名中的“von”部分格式化为名字。在我们的例子中,这意味着我们不使用小写字母。

\mkbibnameprefixin的默认行为biblatex-dw\mkbibnamegivenifuseprefix=false\mkbibnamefamilyif 。我们只需一直useprefix=true使用即可。\mkbibnamegiven

答案2

用花括号括v起来von

\documentclass{book}
\usepackage{a4wide}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{polyglossia}
\setmainlanguage[spelling=new,babelshorthands=true]{german}
\usepackage[autostyle]{csquotes}
\usepackage[style=authortitle-dw,
edsuper=true,
namefont=smallcaps,
useprefix=true,
ibidemfont=smallcaps,
idemfont=smallcaps,
idembibformat=dash,
shorthandibid=true,
backref=false,
backrefstyle=none,
hyperref=true,
isbn=false,
backend=biber,
citereset=chapter,
bibencoding=utf8]{biblatex}
\DeclareFieldFormat{pages}{#1}
\DeclareFieldFormat{page}{#1}
\DeclareNameAlias{sortname}{last-first}
\DefineBibliographyStrings{german}{
    and={/},
    page={},
    andothers = {{et\,al\adddot}},
    editor = {{Hg\adddot}} ,
    editors = {{Hg\adddot}}
}


\usepackage{filecontents}
\begin{filecontents}{file.bib}

    @book{ebert1989,
        year = {1989},
        title = {Räumt die Steine hinweg: DDR Herbst 1989: geistliche Reden im politischen Aufbruch},
        address = {München},
        publisher = {Claudius},
        isbn = {3532620987},
        editor = {Ebert, Andreas and Haberer, Johanna and Kraft, Friedrich},
        shorttitle = {Steine}
    }

    @book{bulischop.2006,
        author = {{v}on Bulisch, Jens},
        year = {2006},
        title = {Evangelische Presse in der DDR},
        address = {Göttingen},
        volume = {43},
        publisher = {Vandenhoeck und Ruprecht},
        isbn = {3525557442},
        series = {AKZG},
        shorttitle = {Presse}
    }
\end{filecontents}

\addbibresource{file.bib}
\begin{document}
    text \footcite{bulischop.2006} text.
    text \footcite{ebert1989} haha. 
    \printbibliography
\end{document}

编辑:我刚才注意到,这个von确实是小写,但名字(“Jens”)也是打印出来的,而且不是小写,删除“Jens”会导致“von”被视为名字...所以它并不像我想象的那么简单。

在此处输入图片描述

相关内容