
さらにいくつかの出版物を追加する必要があります。以前の参照番号を変更したくないので、[p1]、[p2] などの異なる参照番号を使用して新しい引用を作成する必要があります。LaTeX でそれができますか?
答え1
最近、この種の作業を行って、参考文献のサブセット、つまり自費出版のものを追加しました。これらには目立つようにプレフィックスが付けられました。
biblatex
は、私が使用した方法の鍵です。bibfilekeywords=
内の属性を使用して特定のエントリを識別し、ドキュメントの最後に参考文献をリストするときにキーワードを使用して参照をフィルター処理できます。
実際の例は以下にあります。コンパイルするには、LaTeX -> BibTeX -> LaTeX -> LaTeX が必要であることに注意してください。
\documentclass[titlepage,11pt]{article}
\usepackage{filecontents} % Used only to create the bibfile
\begin{filecontents*}{\jobname.bib}
@article{greenwade93,
author = "George D. Greenwade",
title = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
year = "1993",
journal = "TUGBoat",
volume = "14",
number = "3",
pages = "342--351"
}
@book{goossens93,
author = "Michel Goossens and Frank Mittelbach and Alexander Samarin",
title = "The LaTeX Companion",
year = "1993",
publisher = "Addison-Wesley",
address = "Reading, Massachusetts"
}
@article{blackholes,
author="My Self",
title="Black Holes and Their Relation to Hiding Eggs",
journal="Theoretical Easter Physics",
publisher="Eggs Ltd.",
year="2010",
note="(to appear)",
keywords="self"
}
\end{filecontents*}
% NOTE: Last entry has a _keywords="self"_ attribute. This keyword is used to
% sort out specific entries when the bibliographies are made
% biblatex is used with a few of my preferred options
% -- style = ieee gives [1] format
% -- backend = bibtex - can also use 'biber'
% -- sorting = ynt sorts all entries in each bibliography by Year, Name, then Title
% -- defernumbers = true required to get the resetnumbers=true option to work down below
\usepackage[style=ieee,backend=bibtex,sorting=ynt,defernumbers=true]{biblatex}
\addbibresource{\jobname.bib} % Peculiar to biblatex
\begin{document}
This document references \cite{greenwade93}, and my own publication
(\cite{blackholes}). And I also used \cite{goossens93}.
% References split out into self publications and regular references
% This makes use of biblatex (still needs a _bibtex_ run to finalize)
\section{Publications and References}
\printbibliography[heading=subbibliography, notkeyword=self, title={References}, resetnumbers=true]
\printbibliography[heading=subbibliography, keyword=self, title={Publications}, resetnumbers=true, prefixnumbers={P}]
\end{document}