当作者重复时有关破折号的排序选项?

当作者重复时有关破折号的排序选项?

假设我用 引用了来自同一作者的一些不同参考文献(bookincollection\footcite[]{Author:Year}。一个作者以“E”开头,另一个以“K”开头。

在参考书目中,如果作者的姓名以“E”开头,则第一次出现时会完整显示其姓名,而后续所有出现时均会带有破折号。

但对于另一位作者,他的全名出现了几次,没有破折号。破折号之间的部分显示正确。

因此我不知道问题出在哪里。我链接到我的.bbx文件:

以下是一个例子:

\documentclass[]{scrbook}
\usepackage[style=sm-002]{biblatex}
   \bibliography{...here is my bibfile} 


\begin{document}

\footcite[]{Kittler:1985}
\footcite[]{Kittler:1986}
\footcite[]{Kittler:1990}
\footcite[]{Kittler:1993}
\footcite[]{Kittler:1993c}
\footcite[]{Kittler:1994}
\footcite[]{Kittler:2006}
\footcite[]{Kittler:1998}
\footcite[]{Kittler:2000}
\footcite[]{Kittler:2009}


\footcite[]{Ernst:2000}
\footcite[]{Ernst:2002}
\footcite[]{Ernst:2004}
\footcite[]{Ernst:2005}
\footcite[]{Ernst:2006b}
\footcite[]{Ernst:2007}
\footcite[]{Ernst:2007b}
\footcite[]{Ernst:2008}
\footcite[]{Ernst:2009}
\footcite[]{Ernst:2011}


\renewcommand{\bibfont}{\normalfont\footnotesize}
\printbibliography[] 


\end{document}

参考书目(输出)

这是 bib 文件:

@book{Ernst:2000,
    Address = {Weimar},
    Author = {Wolfgang Ernst},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Publisher = {VDG},
    Shorttitle = {M.edium F.oucault.},
    Title = {M.edium F.oucault. Weimarer Vorlesungen {\"u}ber Archive, Arch{\"a}ologie, Monumente und Medien},
    Year = {2000}}

@book{Ernst:2002,
    Address = {Berlin},
    Author = {Wolfgang Ernst},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Publisher = {Merve},
    Title = {Das Rumoren der Archive. Ordnung aus Unordnung},
    Year = {2002}}

@book{Ernst:2004,
    Address = {Berlin},
    Author = {Wolfgang Ernst},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Shorttitle = {Medienwissen(schaft) zeitkritisch},
    Title = {Medienwissen(schaft) zeitkritisch -- Ein Programm aus der Sophienstrasse -- Antrittsvorlesung},
    Year = {2004}}

@incollection{Ernst:2005,
    Address = {Z{\"u}rich/Berlin},
    Author = {Wolfgang Ernst},
    Booktitle = {Politiken der Medien},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Editor = {Daniel Gethmann and Markus Stauff},
    Pages = {77-88},
    Publisher = {Diaphanes},
    Title = {Die Medien der Polis. Kein H{\"o}hlengleichnis},
    Year = {2005}}

@incollection{Ernst:2006b,
    Address = {M{\"u}nchen},
    Author = {Wolfgang Ernst},
    Booktitle = {Klosterforschung -- Befunde, Projekte, Perspektiven},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Editor = {Jens Schneider},
    Pages = {163-182},
    Publisher = {Wilhelm Fink},
    Shorttitle = {Medienmonastik},
    Title = {Medienmonastik},
    Year = {2006}}

@incollection{Ernst:2007,
    Address = {Frankfurt am Main},
    Author = {Wolfgang Ernst},
    Booktitle = {Die Szene der Gewalt -- Bilder, Codes und Materialit{\"a}ten},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Editor = {Daniel Tyradellis and Burkhardt Wolf},
    Pages = {175-187},
    Shorttitle = {Zeit und Code},
    Title = {Zeit und Code},
    Year = {2007}}

@book{Ernst:2007b,
    Address = {Berlin},
    Author = {Wolfgang Ernst},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Publisher = {Kulturverlag Kadmos},
    Shorttitle = {Gesetz des Ged{\"a}chtnisses},
    Title = {Das Gesetz des Ged{\"a}chtnisses. Medien und Archive am Ende (des 20. Jahrhunderts)},
    Year = {2007}}

@incollection{Ernst:2008,
    Address = {Bielefeld},
    Author = {Wolfgang Ernst},
    Booktitle = {Sound Studies: Traditionen -- Methoden -- Desiderate. Eine Einf{\"u}hrung (Sound Studies Vol. 1)},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Editor = {Holger Schulze},
    Pages = {125-142},
    Publisher = {Transcript},
    Title = {Im Reich von $\Delta$t. Medienprozesse als Spielfeld sonischer Zeit},
    Year = {2008}}

@incollection{Ernst:2009,
    Address = {Berlin},
    Author = {Wolfgang Ernst},
    Booktitle = {Zeitkritische Medien},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Editor = {Axel Volmar},
    Pages = {27-42},
    Publisher = {Kulturverlag Kadmos},
    Title = {Die Frage nach dem Zeitkritischen},
    Year = {2009}}

@incollection{Ernst:2011,
    Address = {Berkeley, CA},
    Annote = {Ernst, Wolfgang. ``Media Archaeography: Method and Machine versus History and Narrative of Media'' In Erkki Huhtamo and Jussi Parikka, Eds., Media Archaeology: Approaches, Applications, and Implications, Berkeley, Calif.: University of California Press, 2011): 239 -- 255.},
    Author = {Wolfgang Ernst},
    Booktitle = {Media Archaeology. Approaches, Applications, and Implications},
    Date-Added = {2012-04-10 20:21:27 +0200},
    Date-Modified = {2012-04-10 20:21:27 +0200},
    Editor = {Erkki Huhtamo and Jussi Parikka},
    Pages = {239--255},
    Publisher = {University of California Press},
    Title = {Media Archaeography. Method and Machine versus History and Narrative of Media},
    Year = {2011}}

@incollection{Kittler:1993c,
    Address = {Leipzig},
    Author = {Friedrich Kittler},
    Booktitle = {Draculas Verm{\"a}chtnis -- Technische Schriften},
    Date-Added = {2012-04-10 20:20:06 +0200},
    Date-Modified = {2012-04-10 20:20:06 +0200},
    Pages = {58-80},
    Publisher = {Reclam Leipzig},
    Shorttitle = {Die Welt des Symbolischen},
    Title = {Die Welt des Symbolischen -- eine Welt der Maschine},
    Year = {1993}}

@incollection{Kittler:1994,
    Address = {Amsterdam},
    Author = {Friedrich Kittler},
    Booktitle = {Zeichen zwischen Klartext und Arabeske},
    Date-Added = {2012-04-10 20:20:06 +0200},
    Date-Modified = {2012-04-10 20:20:06 +0200},
    Editor = {Susi Kotzinger and Gabriele Rippl},
    Pages = {161-168},
    Publisher = {Rodopi},
    Title = {Vom Take Off der Operatoren},
    Year = {1994}}

@incollection{Kittler:1998,
    Address = {M{\"u}nchen},
    Author = {Friedrich Kittler},
    Booktitle = {Geschichte der Medien},
    Date-Added = {2012-04-10 20:20:06 +0200},
    Date-Modified = {2012-04-10 20:20:06 +0200},
    Editor = {Manfred Fassler and Wulf R. Halbach},
    Pages = {255-267},
    Publisher = {Wilhelm Fink (UTB)},
    Title = {Gleichschaltungen. {\"U}ber Normen und Standards der elektronischen Kommunikation},
    Year = {1998}}

@incollection{Kittler:2000,
    Address = {Frankfurt am Main},
    Author = {Friedrich Kittler},
    Booktitle = {Medien, Computer, Realit{\"a}t -- Wirklichkeitsvorstellungen und Neue Medien},
    Date-Added = {2012-04-10 20:20:06 +0200},
    Date-Modified = {2012-04-10 20:20:06 +0200},
    Edition = {{1. Auflage 1998}},
    Editor = {Sybille Kr{\"a}mer},
    Pages = {119-132},
    Publisher = {Suhrkamp},
    Title = {Hardware, das unbekannte Wesen},
    Year = {2000}}

@book{Kittler:2006,
    Address = {M{\"u}nchen},
    Author = {Friedrich Kittler},
    Date-Added = {2012-04-10 20:20:06 +0200},
    Date-Modified = {2012-04-10 20:20:06 +0200},
    Publisher = {Wilhelm Fink},
    Shorttitle = {Musik und Mathematik},
    Title = {Musik und Mathematik -- Band 1. Helleas. Teil 1. Aphrodite},
    Year = {2006}}

@incollection{Kittler:2009,
    Address = {Berlin},
    Author = {Friedrich Kittler},
    Booktitle = {Zeitkritische Medien},
    Date-Added = {2012-04-10 20:20:06 +0200},
    Date-Modified = {2012-04-10 20:20:06 +0200},
    Editor = {Axel Volmar},
    Pages = {155-66},
    Publisher = {Kulturverlag Kadmos},
    Title = {Blitz und Serie -- Ereignis und Donner},
    Year = {2009}}

@book{Kittler:1985,
    Address = {M{\"u}nchen},
    Author = {Friedrich Kittler},
    Date-Added = {2012-04-10 20:19:16 +0200},
    Date-Modified = {2012-04-10 20:19:16 +0200},
    Publisher = {Wilhelm Fink},
    Title = {Aufschreibesysteme 1800|1900},
    Year = {1985}}

@book{Kittler:1986,
    Address = {Berlin},
    Author = {Friedrich Kittler},
    Date-Added = {2012-04-10 20:19:16 +0200},
    Date-Modified = {2012-04-10 20:19:16 +0200},
    Publisher = {Brinkmann \& Bose},
    Shorttitle = {Grammophon, Film, Typewriter},
    Title = {Grammophon, Film, Typewriter},
    Year = {1986}}

@incollection{Kittler:1990,
    Address = {Weinheim},
    Author = {Friedrich Kittler},
    Booktitle = {Zeit-Zeichen -- Aufsch{\"u}be und Interferenzen zwischen Endzeit und Echtzeit},
    Date-Added = {2012-04-10 20:19:16 +0200},
    Date-Modified = {2012-04-10 20:19:16 +0200},
    Editor = {Georg Christoph Tholen and Michael O. Scholl},
    Pages = {363-377},
    Publisher = {Wiley-VCH},
    Title = {Real Time Analysis -- Time Axis Manipulation},
    Year = {1990}}

@incollection{Kittler:1993,
    Address = {Leipzig},
    Author = {Friedrich Kittler},
    Booktitle = {Draculas Verm{\"a}chtnis -- Technische Schriften},
    Date-Added = {2012-04-10 20:19:16 +0200},
    Date-Modified = {2012-04-10 20:19:16 +0200},
    Pages = {225-242},
    Publisher = {Reclam Leipzig},
    Title = {Es gibt keine Software},
    Year = {1993}}

答案1

看起来editorincoll书目宏是又出问题了. 回想一下 中的定义sm-002.bbx

\newbibmacro*{editorincoll}{%
  \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}
    {\ifthenelse{\iffieldequals{author}{editor}\AND
                 \NOT\iffirstonpage}
       {\bibnamedash}
       {\printnames[upshape]{editor}\addspace
        \savefield{namehash}{\bbx@lasthash}}%
     \usebibmacro{editorstrg}%
     \clearname{editor}}
    {\global\undef\bbx@lasthash}}

\bbx@lasthash命令应扩展为namehash上一个条目的。它用于识别参考书目中重复出现的名称,以便用破折号替换。因此editorincoll实际上不应更改\bbx@lasthash。请改用以下定义。

\newbibmacro*{editorincoll}{%
  \ifthenelse{\ifuseeditor\AND\NOT\ifnameundef{editor}}
    {\ifthenelse{\iffieldequals{author}{editor}\AND
                 \NOT\iffirstonpage}
       {\bibnamedash}
       {\printnames[first-last]{editor}\addspace}%
     \usebibmacro{editorstrg}%
     \clearname{editor}}
    {}}

相关内容