我正在尝试使用 Bibtex 生成德语书目。以下是我的一些项目的三个示例:
@book{Kirchgässner-Wolters-2007,
AUTHOR = "Kirchgässner, Gebhard and Wolters, Jürgen",
EDITOR = "",
TITLE = "Introduction to Modern Time Series Analysis",
language = "",
edition = "1",
series = "",
address = "",
PUBLISHER = "Springer",
month = "",
YEAR = "2007",
volume = "",
number = "",
note = "",
url = ""
}
@unpublished{Chun-Lin-2010,
AUTHOR = "Chun-Lin, Liu",
TITLE = "A Tutorial of the Wavelet Transform",
language = "",
month = "February",
year = "2010",
NOTE = "unpublished",
url = ""
}
@misc{Hyndman-Athamasopoulos-2012,
author = "Hyndman, Rob J. and Athanasopoulos, George",
title = "Forecasting: principles and practice",
year = "2012",
url = "https://www.otexts.org/book/fpp",
note = "[Online; accessed 21-February-2014]"
}
我使用的代码是这样的:
\documentclass[a4paper,twoside,10pt]{report}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage[german]{babelbib}
\begin{document}
\nocite{*}
\bibliography{bibtemplate}
\bibliographystyle{babunsrt}
\end{document}
由此得出以下参考书目:
我对此有三个问题:
(1)我希望它不带数字,而是按顺序排列,并对同一项目的以下行进行缩进
(2)我应该怎样做才能将“未发布”版本更改为德文版本?
(3)我不断收到警告信息package babelbib error no url command defined but field url used
我为一个问题找到了一些解决方案,但其他问题仍未解决或引发新的问题。
如果可以的话,我会为此悬赏,但必须等待两天......
如能得到任何帮助我将非常感激!
答案1
由于您似乎也对 -solution 感兴趣biblatex/biber
,以下内容为您提供了包含德语文档数据的 MWE:
\documentclass[a4paper,twoside,10pt]{report}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[hidelinks]{hyperref}
\usepackage[style=verbose-ibid,dashed]{biblatex}
\usepackage[german=quotes]{csquotes}
\usepackage{filecontents}
\begin{filecontents*}{mybib.bib}
@book{Kirchgässner-Wolters-2007,
AUTHOR = "Kirchgässner, Gebhard and Wolters, Jürgen",
TITLE = "Introduction to Modern Time Series Analysis",
edition = "1",
PUBLISHER = "Springer",
YEAR = "2007",
}
@unpublished{Chun-Lin-2010,
AUTHOR = "Chun-Lin, Liu",
TITLE = "A Tutorial of the Wavelet Transform",
month = "February",
year = "2010",
howpublished = "Unveröffentlicht",
}
@book{Hyndman-Athamasopoulos-abook,
author = "Hyndman, Rob J. and Athanasopoulos, George",
title = "Some other book",
year = "2012",
url = "https://somewherintheinternet.org",
urldate = "2014-02-21"
}
@online{Hyndman-Athamasopoulos-2012,
author = "Hyndman, Rob J. and Athanasopoulos, George",
title = "Forecasting: principles and practice",
year = "2012",
url = "https://www.otexts.org/book/fpp",
urldate = "2014-02-21"
}
\end{filecontents*}
\addbibresource{mybib.bib}
\begin{document}
blabla\autocite{Chun-Lin-2010}, blabla\autocite[vgl.][4]{Hyndman-Athamasopoulos-abook}, \enquote{ain't no good}\autocite[14]{Hyndman-Athamasopoulos-abook}
\nocite{*}%include the rest in the bibliography, too.
\printbibliography
\end{document}
我还包括了一些您可能感兴趣的包。但是,请确保在编辑器中使用正确的编码,对于本文档,编码为无 BOM 的 utf-8。
对于第 2 点,有不同的方法。如果它只是一份德语文档(不是多语言的),您可以使用 -field howpublished
,这可能是最简单的方法(您也可以使用 -entrytype@misc
代替等等@unpublished
)。如果您有更多未出版的作品,修改书目驱动程序@unpublished
并Unveröffentlicht
手动包含它可能很有趣,因此它将为所有未出版的作品打印;或者最好的解决方案(用于多语言支持):您声明一个书目字符串,并将其添加到书目驱动程序中。