书目中同一作者有多个版本

书目中同一作者有多个版本

我正在使用 TexShop。文档类别是scrbook。在参考书目中,有几段文本属于同一个作者。由于某些未知原因,从昨天开始,作者的名字重复出现,一些文本出现在一个作者名下,而另一些文本出现在另一个作者名下。我已经运行了几次 BibTeX。如果我修复了这个问题,那么脚注编号将不再从每一页的 1 开始,而是连续编号。所以我无法让所有文本都属于同一个作者,也无法让脚注编号在每一页重新开始。需要帮助。

\documentclass[11pt,english]{scrbook}

\usepackage{fontspec}
\usepackage[paperwidth=16cm,paperheight=24cm]{geometry}
\geometry{verbose,tmargin=2.5cm,bmargin=2.5cm,lmargin=2cm,rmargin=2cm}


\usepackage{polyglossia}
\setdefaultlanguage{english}
\setmainfont{Gentium Plus}


% !BIB program = biber


\usepackage[para]{footmisc}
\usepackage{perpage}
\MakePerPage{footnote}


\usepackage[
backend=biber,
style=philosophy-modern,
publocformat=loccolonpub,
inbeforejournal=true]{biblatex}



\addbibresource{mybiblio.bib}

以下是围兜条目:

@book{amara_namalinganus!asana_1914,
  author = {Amarasiṃha},
  location =     {Trivandrum},
  title =    {The Nâmaliṅgânus(!)âsana of Amarasimha. With the
                  Commentary T(!)îkâsarvaswa of
                  Vandyaghat(!)îya-Sarvânanda. Parts I and {IV}},
  editor =   {Sâstrî, T. Gaṇapati},
  series =   {Trivandruṃ Sanskrit Series},
  number =   {{XXXVIII}, {LII}},
  date =     1914,
}

@book{amara_namalinganus!asana_1915,
  author = {Amarasiṃha},
  location =     {Trivandrum},
  title =    {The Nâmalingânus(!)âsana of Amarasimha. With the two
                  commentaries Amarakosodghâṭana of Kshîrasvâmin and
                  T(!)îkâsarvasva of
                  Vandyaghat(!)îya-Sarvânanda. Parts {II} and {III}},
  editor =   {Sâstrî, T. Gaṇapati},
  series =   {Trivandrum Sanskrit Series},
  number =   {{XLIII}, {LI}},
  date =     1915,
}

@book{oka_namalinganusasana_1913,
  author = {Amarasiṃha},
  location =     {Poona},
  title =    {The Nâmalingânuśâsana: (Amarakosha) of Amarasimha
                  with the Commentary (Amarakoshodghâtana) of
                  Kshîrasvâmin},
  editor =   {Oka, K. G.},
  date =     1913,
}

@book{amara_namalinganusasana_1929,
  author = {Amarasiṃha},
location =   {Bombay},
  edition =  {Fifth edition},
  title =    {The Nâmalingânuśâsana (Amarakosha) of
                  Amarasimha. With the Commentary (Vyâkhyâsudhâ or
                  Ramâśramî) of Bhânuji Dîkshit. Edited with Notes},
   reviser =     {Paṇśīkar, Wāsudev Laxmaṇ Śāstrī},
  date =     1929,
}

答案1

正如场外讨论的那样https://gist.github.com/moewew/348f8601e2988d76228dbe665dc89a58原帖作者问的是分页符后重复作者/编辑姓名的情况,例如

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[
backend=biber,
style=philosophy-modern,
publocformat=loccolonpub,
inbeforejournal=true]{biblatex}


\addbibresource{biblatex-examples.bib}


\begin{document}
\nocite{aristotle:anima,aristotle:physics,
  aristotle:poetics,aristotle:rhetoric,
  aksin,geer,chiu,angenendt,herrmann,
  knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,knuth:ct:e,
  sigfridsson,nussbaum,worman}
\printbibliography
\end{document}

第 1 页

第2页

这是有意为之,因为biblatex认为在新页面上重复名称很有用,可以避免疑问,也可以让读者不必翻回上一页来检查名称。

最终,这是在 bibmacro 中实现的bbx:dashcheck(在 中定义authoryear.bbx

\newbibmacro*{bbx:dashcheck}[2]{%
  \ifboolexpr{
    test {\iffieldequals{fullhash}{\bbx@lasthash}}
    and
    not test \iffirstonpage
    and
    (
       not bool {bbx@inset}
       or
       test {\iffieldequalstr{entrysetcount}{1}}
    )
  }
    {#1}
    {#2}}

使用\iffirstonpage.\iffirstonpage会遵循pagetracker选项,因此如果您不喜欢biblatex在新页面上重新启动某些内容(也可以考虑“同上”引用),您可以使用 完全禁用此功能pagetracker=false。如果您只是希望忽略此特定宏pagetracker,请删除相关测试

\renewbibmacro*{bbx:dashcheck}[2]{%
  \ifboolexpr{
    test {\iffieldequals{fullhash}{\bbx@lasthash}}
    and
    (
       not bool {bbx@inset}
       or
       test {\iffieldequalstr{entrysetcount}{1}}
    )
  }
    {#1}
    {#2}}

请注意,pagetracker请注意双面/单面打印,因此您可能会看到双面打印中偶数页和奇数页的不同行为,其中偶数页和奇数页的跨页被视为一个单元。

相关内容