引用作者姓氏只有 2 个字母的文章时出现问题

引用作者姓氏只有 2 个字母的文章时出现问题

我想引用以下文章:

通过平移不变小波变换增强打鼾信号并检测活动

作者名单如下:

Andrew Keong Ng、Tong San Koh、Kathiravelu Puvanendran 和 Udantha Ranjith Abeyratne

我使用哈佛风格,引用时应该发生的情况是:

(Ng 等人 2008 年)

但是编译之后的引用结果是:

(Ng、Koh、Puvanendran 和 Abeyratne 2008 年)

在第一位作者姓氏后面添加一个字母(例如 Ngg)即可解决该问题。引用如下:

(Ngg 等人 2008)

这不是一个解决方案,我写信是想询问是否有解决此问题的方法。

这是 MWE

%\documentclass[12pt]{iopart}
\documentclass[12pt]{article}

\usepackage[main=english]{babel}

%\usepackage{iopams}
%\usepackage{setstack}
\usepackage{harvard}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@InProceedings{Ng2008b,
    author    = {Andrew Keong Ng and Zhi Jie Ho and Tong San Koh},
    title     = {Effects of microphone position on snore signal quality and patient comfort},
    booktitle = {2008 9th International Conference on Signal Processing},
    year      = {2008},
    pages     = {2130-2133},
    month     = {oct},
    publisher = {{IEEE}},
    doi       = {10.1109/icosp.2008.4697567},
    keywords  = {acoustic signal detection; acoustic signal processing; distance 0.1 m; distance 0.3 m; distance 0.4 m; microphone position; mouth-to-microphone distance; obstructive sleep apnea detection; patient comfort; patient feedback survey; signal acquisition techniques; signal-to-noise ratio; sleep laboratory impulse response analysis; snore signal acquisition; snore signal analysis; snore signal quality; sound pressure level; Feedback; Humans; Laboratories; Microphones; Mouth; Position measurement; Signal analysis; Signal to noise ratio; Sleep apnea; Standardization},
}

@Article{Ng2008a,
    author    = {Andrew Keong Ng and Tong San Koh and Kathiravelu Puvanendran and Udantha Ranjith Abeyratne},
    title     = {Snore Signal Enhancement and Activity Detection via Translation-Invariant Wavelet Transform},
    journal   = {{IEEE} Transactions on Biomedical Engineering},
    year      = {2008},
    volume    = {55},
    number    = {10},
    pages     = {2332-2342},
    month     = {oct},
    doi       = {10.1109/tbme.2008.925682},
    keywords  = {Enhancement and detection; level-correlation-dependent (LCD) threshold; obstructive sleep apnea (OSA); snore activity (SA) detector; snore signals; snoring; translation-invariant discrete wavelet transform (TIDWT); wavelet thresholding},
    publisher = {Institute of Electrical and Electronics Engineers ({IEEE})},
}

@InCollection{Inoue2006,
    author    = {Kunihiko Inoue and Masatake Akutagawa and Takahiro Emoto and Udantha Abeyratne and Tetsuya Uemura and Hirofumi Nagashino and Yohsuke Kinouchi},
    title     = {Order Estimation and Screening of Apneic Snore Sound Using the Akaike Information Criterion},
    booktitle = {World Congress on Medical Physics and Biomedical Engineering 2006},
    publisher = {Springer Berlin Heidelberg},
    year      = {2006},
    pages     = {1135-1138},
    doi       = {10.1007/978-3-540-36841-0_272},
    keywords  = {Obstructive Sleep Apnea; auto-regressive model; Akaike Information Criterion; snore sound },
}

@InProceedings{Jane2000,
    author    = {R. Jané and J. Solà-Soler and J. A. Fiz and J. Morera},
    title     = {Automatic detection of snoring signals: validation with simple snorers and {OSAS} patients},
    booktitle = {Proceedings of the 22nd Annual International Conference of the {IEEE} Engineering in Medicine and Biology Society (Cat. No.00CH37143)},
    year      = {2000},
    pages     = {3129-3131},
    publisher = {{IEEE}},
    doi       = {10.1109/iembs.2000.901546},
    keywords  = {Detection; Neural Networks; OSAS Patients; Snoring; Validation},
}

@Article{Dafna2013,
    author    = {E. Dafna and A. Tarasiuk and Y. Zigel},
    title     = {Automatic Detection of Whole Night Snoring Events Using Non-Contact Microphone},
    journal   = {{PLOS} One},
    year      = {2013},
    volume    = {8},
    number    = {12},
    pages     = {1-14},
    month     = {Dec},
    doi       = {10.1371/journal.pone.0084139},
    owner     = {Tiago},
    timestamp = {2016.05.16},
}
\end{filecontents}


\begin{document}
  Although there is not a protocol for sound recording in sleep study, several studies used this position to record snores \cite{Ng2008b} \cite{Inoue2006}.
  The structure supporting the H4n was placed behind the bed with the distance between the H4n and the bed around 0.7m.
  \cite{Ng2008b} and \cite{Inoue2006} preferred a shorter distance, 0.3m and 0.5m, respectively but we increase the distance to decrease the probability of an accident with the patient.

  Automatic algorithms for snore detection had been proposed.
  \cite{Jane2000} used Neural Network for snore detection achieving a sensitivity of 82\% and a positive predictive value of 90\%.
  Wavelet-based algorithms also detect snores with an accuracy of up to 98\% \cite{Ng2008a}.
  \cite{Dafna2013} used an energy threshold method to do audio events detection.

  \section*{References}
  \bibliographystyle{jphysicsB}
  %\bibliographystyle{plain}
  \bibliography{\jobname}
  %\bibliography{MyPerBib}
\end{document}

答案1

这不是一个错误,这是一个功能!

参考书目样式jphysicsB.bst避免将两个不同的名称列表缩写为相同的缩写形式(例如“X,Y,A”和“X,Y,B”不会都缩写为“X等”),因为这可能会引起混淆。biblatex具有类似的功能,请参阅在 biblatex 中使用“et al.”时,限制为一位作者,可以使用选项关闭uniquelist=false。不幸的是,jphysicsB.bst没有简单的选项,所以我们必须亲自动手,直接修改样式。

  1. 在您的机器上找到jphysicsB.bst。您可以通过输入kpsewhich jphysicsB.bst。您可以通过在命令行/终端中输入来执行此操作。或者,从 CTAN 获取该文件的副本http://mirrors.ctan.org/macros/latex/contrib/harvard/jphysicsB.bst
  2. 将文件复制到 TeX 可以找到的位置。文档目录就可以了。
  3. 将文件重命名为jphysicsB-nouniquename.bst(这是 的许可证的要求jphysicsB.bst, 的修改版本jphysicsB.bst不得使用相同的名称)
  4. 打开文件并找到以下代码块

    EXECUTE {initialize.confusion}
    
    ITERATE {confusion.pass}
    
    EXECUTE {initialize.confusion}
    
    REVERSE {confusion.pass}
    

    在我的版本中,这些行可以在 ll. 1225-1231 中找到。注释掉函数调用,以便块现在显示

    %EXECUTE {initialize.confusion}
    
    %ITERATE {confusion.pass}
    
    %EXECUTE {initialize.confusion}
    
    %REVERSE {confusion.pass}
    
  5. 在文件顶部的注释中添加您的姓名和日期并解释修改。

  6. 在您的文档中使用\bibliographystyle{jphysicsB-nouniquename}而不是。\bibliographystyle{jphysicsB}

随着新的jphysicsB-nouniquename.bst

\documentclass[12pt]{article}
\usepackage[main=english]{babel}
\usepackage{harvard}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@InProceedings{Ng2008b,
    author    = {Andrew Keong Ng and Zhi Jie Ho and Tong San Koh},
    title     = {Effects of microphone position on snore signal quality and patient comfort},
    booktitle = {2008 9th International Conference on Signal Processing},
    year      = {2008},
    pages     = {2130-2133},
    month     = {oct},
    publisher = {{IEEE}},
    doi       = {10.1109/icosp.2008.4697567},
}

@Article{Ng2008a,
    author    = {Andrew Keong Ng and Tong San Koh and Kathiravelu Puvanendran and Udantha Ranjith Abeyratne},
    title     = {Snore Signal Enhancement and Activity Detection via Translation-Invariant Wavelet Transform},
    journal   = {{IEEE} Transactions on Biomedical Engineering},
    year      = {2008},
    volume    = {55},
    number    = {10},
    pages     = {2332-2342},
    month     = {oct},
    doi       = {10.1109/tbme.2008.925682},
    publisher = {Institute of Electrical and Electronics Engineers ({IEEE})},
}

@InCollection{Inoue2006,
    author    = {Kunihiko Inoue and Masatake Akutagawa and Takahiro Emoto and Udantha Abeyratne and Tetsuya Uemura and Hirofumi Nagashino and Yohsuke Kinouchi},
    title     = {Order Estimation and Screening of Apneic Snore Sound Using the Akaike Information Criterion},
    booktitle = {World Congress on Medical Physics and Biomedical Engineering 2006},
    publisher = {Springer Berlin Heidelberg},
    year      = {2006},
    pages     = {1135-1138},
    doi       = {10.1007/978-3-540-36841-0_272},
}

@InProceedings{Jane2000,
    author    = {R. Jané and J. Solà-Soler and J. A. Fiz and J. Morera},
    title     = {Automatic detection of snoring signals: validation with simple snorers and {OSAS} patients},
    booktitle = {Proceedings of the 22nd Annual International Conference of the {IEEE} Engineering in Medicine and Biology Society (Cat. No.00CH37143)},
    year      = {2000},
    pages     = {3129-3131},
    publisher = {{IEEE}},
    doi       = {10.1109/iembs.2000.901546},
}

@Article{Dafna2013,
    author    = {E. Dafna and A. Tarasiuk and Y. Zigel},
    title     = {Automatic Detection of Whole Night Snoring Events Using Non-Contact Microphone},
    journal   = {{PLOS} One},
    year      = {2013},
    volume    = {8},
    number    = {12},
    pages     = {1-14},
    month     = {Dec},
    doi       = {10.1371/journal.pone.0084139},
}
\end{filecontents}


\begin{document}
  Although there is not a protocol for sound recording in sleep study, several studies used this position to record snores \cite{Ng2008b} \cite{Inoue2006}.
  The structure supporting the H4n was placed behind the bed with the distance between the H4n and the bed around 0.7m.
  \cite{Ng2008b} and \cite{Inoue2006} preferred a shorter distance, 0.3m and 0.5m, respectively but we increase the distance to decrease the probability of an accident with the patient.

  Automatic algorithms for snore detection had been proposed.
  \cite{Jane2000} used Neural Network for snore detection achieving a sensitivity of 82\% and a positive predictive value of 90\%.
  Wavelet-based algorithms also detect snores with an accuracy of up to 98\% \cite{Ng2008a}.
  \cite{Dafna2013} used an energy threshold method to do audio events detection.

  \bibliographystyle{jphysicsB-nouniquename}
  \bibliography{\jobname}
\end{document}

将产生

在此处输入图片描述

相关内容