我见过多个参考书目(引用的参考文献+出版物列表)和如何在书的每一部分末尾添加参考书目?但可以找到答案。
我正在写一篇论文,其中有一个总体参考书目。另外,我想单独列出我自己的出版物。我尝试过这样做:http://memming.isloco.com/但不知为何没有创建书目列表。请问如何才能创建单独的出版物列表?
我正在使用大学提供的论文,其中包括natbib
,所以我不确定是否可以使用其他包。
答案1
我会为它制作一个单独的 LaTeX 文档,然后只包含生成的参考书目。假设你的第二个文档myrefs.tex
可能看起来像这样:
\documentclass{article}
\usepackage{natbib}
% whatever you need here, basically a good idea is to use your real thesis header
\begin{document}
Hello world!
\nocite{*}
\bibliographystyle{mystyle}
\bibliography{myrefbibfile}
\end{document}
现在你用标准序列latex
+ bibtex
+ latex
+来编译它latex
。在你的实际论文中添加以下内容:
\begingroup
\def\refname{List of my Publications}
\def\bibname{List of my Publications}
\input{myrefs.bbl}
\endgroup
这应该将第二个文档中的参考书目添加到第一个文档中,并且章节/部分的名称应该是List of my Publications
。请注意,我们当然可以省略两行几乎相同的行中的一行,并在我们保留的行中更改为\def
,\renewcommand
但由于不同的类使用\refname
或\bibname
,我们最好保留这两行以使事情正常运行。
答案2
最简单的方法是使用 biblatex 包!你可以把库放在你想要的地方。你应该读一下手动的!
例子:
\documentclass{scrbook}
\usepackage[utf8]{inputenc}
\usepackage[ngerman, english]{babel}
\usepackage[
style=numeric-comp,
bibstyle=numeric,
sorting=none,
url=false,
natbib=true,
backend=biber
]{biblatex} % Load the package with some options.
\addbibresource{/Users/Phil/Documents/Bibliothek/library.bib} % This is your library.
\begin{document}
% Print your own papers.
\begin{refsection}
% If you print a bibliography within this section, only citations within this refsection will be printed.
% Option 1: Make nocite for all of your papers.
% Options 2 would be a seperate file which contains all of your papers.
\nocite{Springer2011}
\defbibnote{myPrenote}{
Some words before I show you the list of my own papers.
}
\defbibnote{myPostnote}{
A bunch of papers are still in print and not yet published.
}
\printbibliography[
heading=bibintoc,
title={Author's Contributions},
prenote=myPrenote,
postnote=myPostnote
]
\end{refsection}
\chapter{First Chapter}
Some Text with reference \cite{Madelung1991}.
\chapter{Second Chapter}
Some more Text with reference \cite{Einstein1905a}.
% Here we print the overall bibliography form the rest of the document.
\printbibliography
\end{document}
答案3
如果您希望将出版物放在某个部分内(而不是创建新章节)。我找到的答案不能满足我的需求。因此,我发布了我的研究。MainFile 的内容:
\documentclass[a4paper,10pt]{book}
\usepackage[round]{natbib} %bibliography format
\usepackage{bibtopic}
\textwidth 17cm
\oddsidemargin -0.5cm
\evensidemargin -0.5cm
\textheight 20cm
\parindent 0cm
\newcommand*{\bibref}[1]{\citealt{#1}}
\begin{document}
\chapter{State of the art}
\bibref{John}
\bibref{Connor}
\section{Publications}
\begin{btSect}[unsrtnat]{publications}
%\hspace{1cm}\textbf{Published papers}
\begin{center}\textbf{Published papers}\end{center}
\btPrintNotCited
\end{btSect}
\begin{btSect}[unsrtnat]{publications2}
%\hspace{1cm}\textbf{Papers under review}
\begin{center}\textbf{Papers under review}\end{center}
\btPrintNotCited
\end{btSect}
\begin{btSect}[apalike]{bibliography} %sort alphabetically
\chapter*{Bibliography}
\btPrintCited
\end{btSect}
\end{document}
然后使用类似下面的命令进行编译:
pdflatex MainFile
bibtex MainFile1
bibtex MainFile2
bibtex MainFile3 #add if needed
pdflatex MainFile
pdflatex MainFile
唯一的问题是我不知道如何仅引用特定的项目,假设我在同一个文件中有 publications.bib 和 publications2.bib 的内容,并且我只想引用第一个文件中的某些项目btSect
和第二个文件中的其他项目btSect
。
编辑:我找到了一种方法来做到这一点
\documentclass[a4paper,10pt]{book}
\usepackage[round]{natbib} %bibliography format
\usepackage{bibtopic}
\usepackage{xcolor} %to change text color
\textwidth 17cm
\oddsidemargin -0.5cm
\evensidemargin -0.5cm
\textheight 20cm
\parindent 0cm
\newcommand*{\bibref}[1]{\citealt{#1}} %cite item
\newcommand{\textwt}[1]{\textcolor{white}{#1}} %text not seen
\begin{document}
\chapter{State of the art}
\bibref{John}
\bibref{Connor}
\section{Publications}
\begin{btUnit} %needed to reset the cited items
\begin{btSect}[unsrtnat]{publications} %order by appearance in text
%\hspace{1cm}\textbf{Published papers}
\begin{center}\textbf{Published papers}\end{center}
\begin{NoHyper} %needed if you have hyperlinks to cited items
\textwt{\bibref{mypub1}} %my published paper
\end{NoHyper}
\vspace{-1em} %adjust if needed
\btPrintCited %print only cited items
\end{btSect}
\end{btUnit}
\begin{btUnit} %needed to reset the cited items
\begin{btSect}[unsrtnat]{publications} %order by appearance in text
%\hspace{1cm}\textbf{Papers under review}
\begin{center}\textbf{Papers under review}\end{center}
\begin{NoHyper} %needed if you have hyperlinks to cited items
\textwt{\bibref{mypub2}} %my published paper
\end{NoHyper}
\vspace{-1em} %adjust if needed
\btPrintCited %print only cited items
\end{btSect}
\end{btUnit}
\begin{btSect}[apalike]{bibliography}
\chapter*{Bibliography}
\btPrintCited %print John & Connor
\end{btSect}
\end{document}
您需要执行尽可能多的bibtex MainFileX
部分btSect
。其中 X 是 1、2、3...
bibliography.bib 内容:
@article{John,
title = "{T}he {T}erminator",
journal = "Robotics Engineering",
year = "1984",
author = "James Cameron"
}
@article{Connor,
title = "{T}erminator 2: {J}udgment {D}ay",
journal = "Robotics Engineering",
year = "1991",
author = "James Cameron"
}
publications.bib 内容
@article{mypub1,
title={{T}eletubbies},
journal = "Entertainment Engineering",
author={Me Myself},
year={2016},
}
@article{mypub2,
title={{T}eletubbies {R}eturns},
journal = "Entertainment Engineering",
author={Me Myself},
year={2016},
}
结果:
可能有一个更优雅的解决方案,但这是我的。