jneurosci 參考書目風格:某些多作者條目的年份字段缺少額外標籤(a、b、...)

jneurosci 參考書目風格:某些多作者條目的年份字段缺少額外標籤(a、b、...)

我正在使用jneurosci參考書目風格。一切正常,除了我有一些多作者條目,它們具有相同的第一作者和相同的年份,但 BibTeX 不會自動更改年份標籤,例如,2010to等。 ”、“b”2010a2010b不過補充道。我意識到,在這些情況下,同一作者、同一年份的條目會在排序的參考書目中一個接一個地出現。相反,在未添加額外標籤的情況下,最初的同作者同年條目後面跟著第一作者組和不同年份的出版物,然後是同一作者的另一個條目- 同年類別。這時 BibTeX 無法將 a、b、c 加入年份。

例如,我有兩本類型的出版品Preller and others 2017;在最終的參考書目中,BibTeX 確實放置了

Preller and others (2017a)
Preller and others (2017b)

作者年份引用標註也帶有額外的標籤。

但是,例如,當我跟著Deco and others 2017Deco and others 2016然後是另一個Deco and others 2017條目時,我得到:

Deco, Cabral, and others (2017)
Deco, Kringelbach (2016)
Deco, Van Hartevelt, and others (2017)

以下是我的最終 pdf 文件中列印的完整書目條目:

Deco G、Cabral J、Woolrich MW、Stevner AB、van Hartevelt TJ、Kringelbach ML (2017) 持續大腦活動中的單頻或多頻發生器:經驗 MEG 數據的機械全腦模型。神經影像 152:538-550。 73、85、94

Deco G,Kringelbach ML (2016) 亞穩定性和一致性:使用全腦計算視角透過一致性假設擴展通訊。神經科學趨勢 39:125-135。 31、40、41、59、66

Deco G、Van Hartevelt TJ、Fernandes HM、Stevner A、Kringelbach ML (2017) 與功能連結最相關的人腦區域:來自全腦計算建模的綁定節點動態工作空間的證據。神經影像 146:197-210。 84, 85

如您所見,兩個 2017 年條目均僅顯示年份標籤(2017),而不顯示為(2017a)(2017b)。相較之下,我上面提到的另一個同作者同年的案例印得很好,如下所示:

Preller KH、Herdener M、Pokorny T、Planzer A、Kraehenmann R、Stampfli P、Liechti ME、Seifritz E、Vollenweider FX (2017a) LSD 誘導狀態中的意義和主觀影響的結構取決於 5-羥色胺 2A 受體活化。現代生物學二十七:451-457。 16、21、90、92、111、114

Preller KH、Schleifer C、Stampfli P、Krystal J、Vollenweider F、Anticevic A (2017b) 951。生物精神病學 81:S385。 16


以下是 bibtex 格式的相同五個條目,按作者姓氏字母順序排序,以便於參考:

@article{deco:2017a,
  author  = "Deco, G. and Cabral, J. and Woolrich, M. W. and Stevner, A.B. and van Hartevelt , T.J. and Kringelbach, M. L.",
  year    = 2017,
  title   = "Single or multiple frequency generators in ongoing brain activity: A mechanistic whole-brain model of empirical {MEG} data",
  journal = "NeuroImage",
  volume  = 152,
  pages   = "538-550",
}

@article{deco:2016,
  author  = "Deco, G. and Kringelbach, M. L.",
  year    = 2016,
  title   = "Metastability and Coherence: Extending the Communication through Coherence Hypothesis Using A Whole-Brain Computational Perspective",
  journal = "Trends in Neurosciences",
  volume  = 39,
  pages   = "125-135",
}

@article{deco:2017b,
  author  = "Deco, G. and Van Hartevelt, T. J. and Fernandes, H. M. and Stevner, A. and Kringelbach, M. L.",
  year    = 2017,
  title   = "The most relevant human brain regions for functional connectivity: Evidence for a dynamical workspace of binding nodes from whole-brain computational modelling",
  journal = "NeuroImage",
  volume  = 146,
  pages   = "197-210",
}

@article{preller:2017a,
  author  = "Preller, K. H. and Herdener, M. and Pokorny, T. and Planzer, A. and Kraehenmann, R. and Stampfli, P. and Liechti, M. E. and Seifritz, E. and Vollenweider, F. X.",
  year    = 2017,
  title   = "The Fabric of Meaning and Subjective Effects in {LSD}-Induced States Depend on {Serotonin 2A} Receptor Activation",
  journal = "Current Biology",
  volume  = 27,
  pages   = "451-457",
}

@article{preller:2017b,
  author  = "Preller, K. H. and Schleifer, C. and Stampfli, P. and Krystal, J. and Vollenweider, F. and Anticevic, A.",
  year    = 2017,
  title   = "Changes in Resting-State Global Brain Connectivity in {LSD}-Induced Altered States of Consciousness are Attributable to the {5-HT2A} Receptor",
  journal = "Biological Psychiatry",
  volume  = 81,
  pages   = "S385",
}

假設這些條目放置在名為 的檔案中mybib.bib。然後是下面的LaTeX文檔

\documentclass{article}
\usepackage{jneurosci}
\bibliographystyle{jneurosci}
\hyphenation{neuro-image}

\begin{document}
\cite{deco:2016}, \cite{deco:2017a}, \cite{deco:2017b}

\cite{preller:2017a}, \cite{preller:2017b}
\bibliography{mybib}
\end{document}

產生此輸出 - 請注意「Deco et al. (2017)」形式的兩個單獨的引文標註,以及相應格式化條目中缺少「a」和「b」額外年份標籤:

在此輸入影像描述

答案1

看起來您在jneurosci參考書目風格中遇到了一個錯誤。我可以想到四種可能的解決方案:

  1. 聯絡讓你使用這種參考書目風格的期刊,指出問題(一定要提供此查詢的連結),並要求(或要求!)他們提供修復。近期成功的機會:可能非常低。長遠來看成功的機會:完全未知。jneurosci.bstjneurosci.sty您應該使用的引文管理包)看起來至少在過去十多年裡都沒有更新過。

  2. 破解檔案jneurosci.bst並直接修復標籤錯誤。這將需要修改函數forward.pass以及更改整個文件中各個其他位置的變數(例如、、 )reverse.pass的使用。不推薦,部分原因是它可能非常棘手。last.sort.labelsort.labellast.extra.num

  3. 運行該makebst實用程式(客製化圍兜包)來建立一個全新的、自訂的 bst 文件,該文件根據您(或期刊的...)要求格式化所有條目類型。makebst是一個選單驅動的多問題/多項選擇實用程式(latex makebst在命令提示字元中鍵入即可開始),在該過程結束時,您將獲得一個無錯誤的參考書目樣式文件,該文件可以正確執行額外標籤工作,並且,額外的好處是,可以與natbib引文管理包一起使用。 (相比之下,jneurosci圍兜式應該與包一起使用jneurosci,它的通用性要差得多,而且比 更不靈活natbib。) 長期前景:優秀。不過,從短期來看,為了回答該實用程式將提出的問題,您可能需要花一些時間來弄清楚如何jneurosci格式化 類型的條目@article,以及@book, @misc, @unpublished, @techreport,@incollection等類型的條目。

  4. 編輯該檔案\jobname.bbl(其中\jobname是主 tex 檔案的名稱)並自行新增缺少的字母標籤。重要提示:套用如下所示的所需編輯後,不要重新運行 BibTeX;只需重新運行 LaTeX 兩次即可。 (如果重新執行 BibTeX,bbl 檔案將被覆蓋,您必須從頭開始。)優點:快速、簡單的短期修復。缺點:只有當您的文件基本完成時(即您不再需要重新執行 BibTeX 時)才執行此操作。

    • 以您發布的程式碼為起點,再運行 LaTeX、BibTeX 和 LaTeX 兩次。打開文件\jobname.bbl。兩個 Deco-2017 條目將如下所示:

      \bibitem[\protect\citeauthoryear{Deco  \bgroup et al.\egroup
        }{2017}]{deco:2017a}
      Deco G, Cabral J, Woolrich MW, Stevner A, van Hartevelt T, Kringelbach ML
        (2017)
      \newblock Single or multiple frequency generators in ongoing brain activity: A
        mechanistic whole-brain model of empirical {MEG} data.
      \newblock {\em NeuroImage}~152:\mbox{538--550}.
      
      \bibitem[\protect\citeauthoryear{Deco  \bgroup et al.\egroup
        }{2017}]{deco:2017b}
      Deco G, Van~Hartevelt TJ, Fernandes HM, Stevner A, Kringelbach ML (2017)
      \newblock The most relevant human brain regions for functional connectivity:
        Evidence for a dynamical workspace of binding nodes from whole-brain
        computational modelling.
      \newblock {\em NeuroImage}~146:\mbox{197--210}.
      

      (為簡單起見,我省略了中間的 Deco-2016 條目。)

    • 更改這些條目,使它們看起來像這樣:

      \bibitem[\protect\citeauthoryear{Deco  \bgroup et al.\egroup
        }{2017a}]{deco:2017a}
      Deco G, Cabral J, Woolrich MW, Stevner A, van Hartevelt T, Kringelbach ML
        (2017a)
      \newblock Single or multiple frequency generators in ongoing brain activity: A
        mechanistic whole-brain model of empirical {MEG} data.
      \newblock {\em NeuroImage}~152:\mbox{538--550}.
      
      \bibitem[\protect\citeauthoryear{Deco  \bgroup et al.\egroup
        }{2017b}]{deco:2017b}
      Deco G, Van~Hartevelt TJ, Fernandes HM, Stevner A, Kringelbach ML (2017b)
      \newblock The most relevant human brain regions for functional connectivity:
        Evidence for a dynamical workspace of binding nodes from whole-brain
        computational modelling.
      \newblock {\em NeuroImage}~146:\mbox{197--210}.
      

      即,a為前一個條目在兩個地方添加“ ”,b為後一個條目在兩個地方添加“ ”。

    • 儲存並關閉 bbl 文件,然後重新運行 LaTeX 兩次。在第一次 LaTeX 運行期間,參考書目中格式化條目中的年份標籤將會更新;在第二個過程中,引文標註中的年份標籤將會更新。再次注意,不要重新運行 BibTeX,以免您在 bbl 檔案中的編輯被覆蓋。

答案2

我遇到了同樣的問題,對我有用的方法是直接編輯文件year中的條目.bib

例如改變:

@article{john_2020_first,
    title = {First Paper},
    year = {2020}
}
@article{john_2020_second,
    title = {Second Paper},
    year = {2020}
}

到:

@article{john_2020_first,
    title = {First Paper},
    year = {2020a}
}
@article{john_2020_second,
    title = {Second Paper},
    year = {2020b}
}

(這是受到@Mico編輯.bbl文件的建議的啟發,但是編輯.bib似乎工作正常,並且文檔在Overleaf中編譯得很好,我認為它端到端地運行bibtex+latex管道)

另外,對於像我這樣確實需要遵循《神經科學雜誌》指南的人來說,參考書目需要雙倍行距,我透過在文件\bibliography中的行之前添加以下內容來實現這一點.tex

\setlength{\bibsep}{8pt} 

相關內容