我正在尝试将我的论文贡献插入我的博士论文中。但是,我想在第一章的末尾添加我的贡献,而不会干扰最后一章的参考文献。正如评论中所要求的,我提供了一个最小的工作示例,该代码可以用 latexmk 编译。Latex 文件:
\documentclass[12pt,a4paper,openright,final,twoside,onecolumn]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[portuguese, english]{babel}
\usepackage[backend=biber, bibencoding=auto, style=numeric, sorting=none]{biblatex}
\bibliography{mwe.bib}
\begin{document}
% Chapter were my contributions should appear
\chapter{Introduction}
\label{ch:introduction}
\section{Introduction}
The work made by~\cite{Ceri:1982, Cattell:2011}.
Our work in~\cite{Antunes:2013, Antunes:2014:a}.
\section{Contributions}
In the following section we list the contributions made during this work.
\subsection{Conferences}
\defbibfilter{conferences}{keyword=phdcontribution and not type=article}
\printbibliography[heading=none,filter=conferences]
\subsection{Journals}
\defbibfilter{journals}{keyword=phdcontribution and type=article}
\printbibliography[heading=none,filter=journals]
% References of my thesis
\begingroup
\renewcommand{\bibfont}{\footnotesize}
%Redefine References name
\defbibheading{bibliography}[References]{
\chapter{#1}
}
\SingleSpacing
\setlength\bibitemsep{8pt}
\printbibliography[heading=bibliography]
\endgroup
\end{document}
围兜文件:
@InProceedings{Antunes:2013,
author = {Mário Antunes and Diogo Gomes and Rui L. Aguiar},
title = {Towards behaviour inference in smart environments},
booktitle = {2013 Conference on Future Internet Communications ({CFIC})},
year = {2013},
publisher = {{IEEE}},
doi = {10.1109/cfic.2013.6566324},
keywords = {phdcontribution},
}
@InProceedings{Antunes:2014:a,
author = {M. Antunes and D. Gomes and R. L. Aguiar},
title = {Context storage for M2M scenarios},
booktitle = {2014 IEEE International Conference on Communications (ICC)},
year = {2014},
pages = {3664-3669},
doi = {10.1109/ICC.2014.6883891},
keywords = {phdcontribution},
}
@Article{Cattell:2011,
author = {Cattell, Rick},
title = {Scalable SQL and NoSQL Data Stores},
journal = {SIGMOD Rec.},
year = {2011},
volume = {39},
number = {4},
pages = {12-27},
issn = {0163-5808},
doi = {10.1145/1978915.1978919},
}
@InProceedings{Ceri:1982,
author = {Ceri, S. and Negri, M. and Pelagatti, G.},
title = {Horizontal data partitioning in database design},
booktitle = {Proceedings of the 1982 ACM SIGMOD international conference on Management of data},
year = {1982},
pages = {128-136},
doi = {10.1145/582353.582376},
}
我如何替换书目标签以进行连续编号(而不是参考文献章节中的编号),并按日期排序?
答案1
对于出版物列表,打开一个与文档其余部分和引文无关的新列表是有意义的。虽然通常不可能在文档中间更改引文或书目样式(refsection
只能加载一种书目样式和一种引文样式),但有一些方法可以更改输出以实现类似的效果。refsection
biblatex
主要思想是将您的出版物列表包含在refsection
其自己的列表中,在该引用中,您可以使用 进行不同的排序\newrefcontext
。我们只需发出以获取所有条目,然后像在 MWE 中一样过滤出版物。使用不同的书目环境(用 定义和使用)\nocite{*}
可以实现书目的不同样式。如果您想要一个普通的编号列表,您只需删除选项和环境的定义。\defbibenvironment{contribbib}
env=contribbib
env=contribbib
\printbibliography
contribbib
\documentclass[12pt,a4paper,openright,final,twoside,onecolumn]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[portuguese, english]{babel}
\usepackage[backend=biber, style=numeric, sorting=none]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@InProceedings{Antunes:2013,
author = {Mário Antunes and Diogo Gomes and Rui L. Aguiar},
title = {Towards behaviour inference in smart environments},
booktitle = {2013 Conference on Future Internet Communications ({CFIC})},
year = {2013},
publisher = {{IEEE}},
doi = {10.1109/cfic.2013.6566324},
keywords = {phdcontribution},
}
@InProceedings{Antunes:2014:a,
author = {M. Antunes and D. Gomes and R. L. Aguiar},
title = {Context storage for M2M scenarios},
booktitle = {2014 IEEE International Conference on Communications (ICC)},
year = {2014},
pages = {3664-3669},
doi = {10.1109/ICC.2014.6883891},
keywords = {phdcontribution},
}
@article{Antunes:2014:b,
author = {M. Antunes and D. Gomes and R. L. Aguiar},
title = {Title},
journal = {Journal of Stuff},
year = {2014},
pages = {345-365},
doi = {10.1109/ICC.2014.6883891},
keywords = {phdcontribution},
}
@Article{Cattell:2011,
author = {Cattell, Rick},
title = {Scalable SQL and NoSQL Data Stores},
journal = {SIGMOD Rec.},
year = {2011},
volume = {39},
number = {4},
pages = {12-27},
issn = {0163-5808},
doi = {10.1145/1978915.1978919},
}
@InProceedings{Ceri:1982,
author = {Ceri, S. and Negri, M. and Pelagatti, G.},
title = {Horizontal data partitioning in database design},
booktitle = {Proceedings of the 1982 ACM SIGMOD international conference on Management of data},
year = {1982},
pages = {128-136},
doi = {10.1145/582353.582376},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\defbibheading{contribbib}{\subsection{#1}}
% to have an unnumbered list of contributions
\defbibenvironment{contribbib}
{\list{}{%
\leftmargin\bibhang
\itemindent-\leftmargin
\itemsep\bibitemsep
\parsep\bibparsep}}
{\endlist}
{\item}
\begin{document}
\chapter{Introduction}\label{ch:introduction}
\section{Introduction}
The work made by~\cite{Ceri:1982, Cattell:2011}.
Our work in~\cite{Antunes:2013, Antunes:2014:a}.
\begin{refsection}
\newrefcontext[sorting=ynt]% or ydnt for descending order
\section{Contributions}
In the following section we list the contributions made during this work.
\nocite{*}% or explicitly: \nocite{Antunes:2013,Antunes:2014:a,...}
\defbibfilter{conferences}{keyword=phdcontribution and not type=article}
\printbibliography[env=contribbib, heading=contribbib, title=Conferences, filter=conferences]
\defbibfilter{journals}{keyword=phdcontribution and type=article}
\printbibliography[env=contribbib, heading=contribbib, title=Journals, filter=journals]
\end{refsection}
\begingroup
\renewcommand{\bibfont}{\footnotesize}
\SingleSpacing
\setlength\bibitemsep{8pt}
\printbibliography[heading=bibnumbered, title=\refname]
\endgroup
\end{document}