这让我发疯了,因为我找不到解决办法。
BibTex 一直在我的文档中的所有引用后面添加一个逗号,但参考书目中的一切都正常。
它看起来像这样:
[Author (2009),]
[Author et al. (2008),]
在我的预告中,我使用以下包来管理参考书目:
- \usepackage[sort]{natbib}
- \usepackage{bibunits}
我也尝试了不同的模板,但逗号仍然存在。
我是否遗漏了什么?
完整示例如下:
\documentclass[a4paper,12pt]{book} %draft can be a useful option for quick compile
\usepackage{amsmath,amsfonts,amssymb,bbm}
\usepackage[usenames, dvipsnames]{xcolor}
\usepackage{graphicx} % include images
\usepackage{thesis} % Stylefile
\usepackage[utf8]{inputenc} % Letters like ä ü ö ß
\usepackage{epstopdf} % include of .eps files in
pdflatex, requires a ghostscript installation
\usepackage{packages/psboxit}
\usepackage[english]{babel} % Lineending in english
\usepackage{blindtext} % Lorem Ipsum, blindtext
\usepackage[colorinlistoftodos]{todonotes} %\todo, \missingfigure und
\listoftodos (siehe unten für eigene Definitionen)
\usepackage[sort]{natbib} % citation style
\usepackage{bibunits} % include multiplfe reference
\makeindex
\cftpagenumbersoff{chapter}
\begin{document}
\input{chapter/1.tex}
\input{chapter/2.tex}
\chapter{Bibliography}
\bgroup
\bibliographyunit
\bibliographystyle{bibstyle/noon} % global bibliography
\renewcommand{\chapter}[1]{}
\renewcommand\bibname{~}
\bibliography{bib/mybib} % global bibliography
\egroup
\end{document}
以下是参考书目文件条目:
@InCollection{Dietz2004,
author = {Jan L. G. Dietz and Terry A. Halpin},
title = {Using {DEMO} and {ORM} in Concert: {A} Case Study},
booktitle = {Advanced Topics in Database Research, Vol. 3},
publisher = {Idea Group},
year = {2004},
editor = {Keng Siau},
pages = {218--236},
bibsource = {dblp computer science bibliography, https://dblp.org},
biburl = {https://dblp.org/rec/bib/books/idea/siau2004/DietzH04},
}
这.bst我正在使用的文件是这