
博士論文の中に、出版物専用のセクション(章のように構成)を作成したいと考えています。
これは私が現在論文に使用しているコードです(パッケージ リストは考慮していません)。
\documentclass[a4paper,12pt,twoside,cucitura]{report}
\usepackage[a4paper,outer=3.2cm,bottom=3.5cm,inner=2.2cm,top=2.5cm]{geometry}
\usepackage{booktabs,tabularx}
\newcommand\vn[1]{\mathit{#1}} % how to display variable names
\newcolumntype{C}{>{\centering\arraybackslash$\displaystyle }X<{$}}
\pagestyle{fancy}
\usepackage{hyperref
\hypersetup{%
pdfpagemode={UseOutlines},
bookmarksopen,
pdfstartview={FitH},
colorlinks,
linkcolor={blue},
citecolor={red},
urlcolor={blue}
}
\pagenumbering{roman}
\begin{document}\errorcontextlines=9
\interfootnotelinepenalty=10000
\tableofcontents
\fancyhead[RO,LE]{}
\fancyfoot[RO,LE]{}
\newcommand\blankpage{
\null
\thispagestyle{empty}
\addtocounter{page}{-1}
\newpage
}
\pagenumbering{arabic}
\input{Chapter1/Chapter1}
\input{Chapter2/Chapter2}
\input{Chapter3/Chapter3}
\input{Chapter4/Chapter4}
\input{Chapter5/Chapter5}
\begin{appendices}
\input{Appendix1/Appendix1}
\input{Appendix2/Appendix2}
\input{Appendix3/Appendix3}
()\end{appendices}
\renewcommand{\bibname}{References}
\bibliography{thesisbib}
\bibliographystyle{ieeetr}
\end{document}
出版物セクションを挿入するにはどうすればいいですか?
答え1
昔、私は次のようにしてそれを実現しましたbiblatex
(皆さんにもぜひ採用していただきたいです)。
出版物の bibtex エントリに、 のようなキーワードを追加しますkeywords = {mine}
。
次に、通常の参照の場合は、 を使用します\printbibliography[notkeyword=mine]
(これにより、自分の出版物が除外されます)。
次に、 を利用してrefcontext
、出版物のリストを作成します。は で呼び出される\nocite{}
ため、 を使って出現順序を設定しました。 を使用すると、あなたの作品はテキスト全体で参照されず、原稿の最後にのみリストされていると想定されます。これは、前の手順で が必要な理由でもあります。refcontext
[sorting = none]
\nocite{}
notkeyword
\begin{refcontext}[sorting=none]
\defbibnote{myprenote}{If you wish to add explanations}
\nocite{mypaper1,mypaper2}
\printbibliography[%
title = {List of Publications},
prenote = myprenote,
keyword = mine,
]
\end{refcontext}
MWE とは次のようなものです。
\documentclass[]{book}
\begin{filecontents}{references.bib}
@book{knuth1997art,
title={The Art of Computer Programming: Fundamental algorithms},
author={Knuth, D.E. and Addison-Wesley},
number={v. 1},
isbn={9780201896831},
lccn={97002147},
series={Addison-Wesley series in computer science and information processing},
url={https://books.google.it/books?id=B31GAAAAYAAJ},
year={1997},
publisher={Addison-Wesley}
}
\end{filecontents}
\begin{filecontents}{mypublications.bib}
@book{mypaper1,
title={The Art of something else},
author={me},
% isbn={ },
% lccn={},
keywords = {mine},
year={2020},
publisher={the publisher},
}
@book{mypaper2,
title={The Art of something else 2},
author={me},
% isbn={ },
keywords = {mine},
% lccn={},
year={2020},
publisher={the publisher},
}
\end{filecontents}
\usepackage[%
bibstyle = ieee,
citestyle = numeric,
% isbn = true,
% doi = false,
% % sorting = nty,
% % sorting = none,
% % sorting = debug,
% url = false,
% defernumbers = true,
% bibencoding = utf8,
% backend = biber
]{biblatex}
\addbibresource{references.bib}
\addbibresource{mypublications.bib}
\begin{document}
\cite{knuth1997art}
\printbibliography[notkeyword=mine]
\begin{refcontext}[sorting=none]
\defbibnote{myprenote}{If you wish to add explanations}
\nocite{mypaper1,mypaper2}
\printbibliography[%
title = {List of Publications},
prenote = myprenote,
keyword = mine,
]
\end{refcontext}
\end{document}
references.bib
確かに から分離する必要はありませんmypublications.bib
が、論文の異なるファイルを別々に使用する可能性が高いためbib
、それらのファイルを結合するのではなく、別々に追加するのが最も高速です (もちろん重複がない限り)。