biblatex:不显示编辑者的名字

biblatex:不显示编辑者的名字

我想删除参考书目中编辑者的名字的显示。

梅威瑟:

\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}
\DeclareNameAlias{byeditor}{last-first}
\DefineBibliographyStrings{german}{
    and={/},
    page={},
    andothers = {{et\,al\adddot}},
    editor = {{ Hg\adddot }} ,
    editors = {{ Hg\adddot }}
}


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

    @book{b2,
        year = {2014},
        title = {Redefreiheit: Öffentliche Debatten der Bevölkerung im Herbst 1989},
        address = {Leipzig},
        edition = {1. Aufl.},
        publisher = {Leipziger Uni-Vlg},
        isbn = {386583888X},
        editor = {Ahbe, Thomas and Stiehler, Volker and Hofmann, Michael},
        shorttitle = {Redefreiheit}
    }

    @incollection{bauer,
        xref = {schwobel},
        author = {Bauer, Gisa},
        title = {Transformationen des Religiösen: Die historisch-materialistische Geschichtsschreibung in der DDR als Heilsgeschichte},
        volume = {39},
        series = {VWGTh},
        editor = {Schwöbel, Christoph},
        booktitle = {Geschichte und Gott},
        address = {Leipzig},
        shorttitle = {Transformationen}
    }

    @book{schwobel,
        title = {Geschichte und Gott: XV. Europäischer Kongress für Theologie},
        address = {Leipzig},
        volume = {39},
        series = {VWGTh},
        editor = {Schwöbel, Christoph},
        shorttitle = {Geschichte}
    }
    @book{bulischop.2006,
        author = {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{bauer} haha. 
    \printbibliography
\end{document}

在此处输入图片描述

答案1

使用 moewe 的答案仅为编辑器启用 biblatex 中的“firstinits”并将其调整为当前的biblatex名称格式术语(如 Ulrike Fisher 对Biblatex 3.3 名称格式),您可以使用:

\DeclareNameAlias{byeditor}{only-family}

\DeclareNameFormat{only-family}{%
  \usebibmacro{name:family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}%
  \usebibmacro{name:andothers}}

结果是:

在此处输入图片描述

完整的 MWE:

\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}
\DeclareNameAlias{byeditor}{last-first}
\DefineBibliographyStrings{german}{
    and={/},
    page={},
    andothers = {{et\,al\adddot}},
    editor = {{ Hg\adddot }} ,
    editors = {{ Hg\adddot }}
}


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

    @book{b2,
        year = {2014},
        title = {Redefreiheit: Öffentliche Debatten der Bevölkerung im Herbst 1989},
        address = {Leipzig},
        edition = {1. Aufl.},
        publisher = {Leipziger Uni-Vlg},
        isbn = {386583888X},
        editor = {Ahbe, Thomas and Stiehler, Volker and Hofmann, Michael},
        shorttitle = {Redefreiheit}
    }

    @incollection{bauer,
        xref = {schwobel},
        author = {Bauer, Gisa},
        title = {Transformationen des Religiösen: Die historisch-materialistische Geschichtsschreibung in der DDR als Heilsgeschichte},
        volume = {39},
        series = {VWGTh},
        editor = {Schwöbel, Christoph},
        booktitle = {Geschichte und Gott},
        address = {Leipzig},
        shorttitle = {Transformationen}
    }

    @book{schwobel,
        title = {Geschichte und Gott: XV. Europäischer Kongress für Theologie},
        address = {Leipzig},
        volume = {39},
        series = {VWGTh},
        editor = {Schwöbel, Christoph},
        shorttitle = {Geschichte}
    }
    @book{bulischop.2006,
        author = {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}

\DeclareNameAlias{byeditor}{only-family}

\DeclareNameFormat{only-family}{%
  \usebibmacro{name:family}{\namepartfamily}{\namepartgiven}{\namepartprefix}{\namepartsuffix}%
  \usebibmacro{name:andothers}}

\begin{document}
    text \footcite{bulischop.2006} text.
    text \footcite{bauer} haha. 
    \printbibliography
\end{document}

更新:根据您的具体要求(例如,如果您希望对编辑器的名称进行消歧义检查),您也可以简单地这样做:

\DeclareNameAlias{byeditor}{labelname}

相关内容